Currently, Iceberg tables only get Iceberg maintenance if they are declared in datasets.yaml. dbt marts don't need to be declared in datasets.yaml if they have no downstream dependencies, but still need Iceberg maintenance.
Acceptance criteria
- dbt marts have Iceberg maintenance applied by default to control the number of files.
Implementation notes
We could require that marts be declared in datasets.yaml, but a more robust solution is probably to write some automation that detects every Iceberg table within our main production databases and applies maintenance to those, whether they're produced with dbt or not.
If we go that way, datasets.yaml would no longer be used to opt in to table maintenance (as it would be on by default), but could still hold parameters for specific Iceberg tables or even opt outs if we find that we need that.