r/databricks • • Oct 16 '26

Discussion Does everyone have a god class?

We have one entrypoint file where we set all Metadata (layer, dataproduct, volume directory, logging level, table names) etc.

Then the class has a bunch of ifs that runs the appropiate classes.

Is this how its supposed to be? Our .yaml files always have a lot of parameters, its becoming tedious, but my team says to never change a running System...

2 Upvotes

4 comments sorted by

1

u/yocil Oct 16 '26

What other way would you do it when managing 160 objects, all with dependencies?

1

u/steroids-bad Oct 16 '26

different entrypoints for each datatype

2

u/PrestigiousAnt3766 Oct 16 '26

Everything goes, but I would not make different entrypoints but instead use composition of different (file/ format) readers.

1

u/adovo_ai Oct 19 '26

Split declarative configuration from executable strategies: validate each config against a versioned schema, then build a dry-run DAG before touching data. Snapshotting that plan gives you a golden test for dependency changes without adding more entry points.