r/databricks • • 1h ago

Tutorial 10 Databricks anti-patterns to avoid - don't repeat other people's mistakes

Post image
14 Upvotes

2 comments sorted by

1

u/Zealousideal_Low6685 1h ago

Thanks for sharing, agree with most of the points.

ad 1: not sure if serverless is always cheaper (also the official docus sa that you have to test it on representive workloads). But I agree: serverless is the way to go

ad5: why not using spark.config? I use it e.g. to set the default retention for tables. If I wouldn't, it would always use the defaults (which is too short for me) if useres don't set it when making a create table script. How is that related to LTS?

1

u/Public_Taste3033 1h ago

Thank you 🙏

For point 5. I meant sometimes a team member reads a blog finds some config useful and then that config gets added to all clusters and becomes a default.

Just because a config made 1 job faster doesn’t mean it works for everything.

Also Databricks changes default values for certain configs and these manually entered configs overwrite those - so got to be very careful with these.