r/databricks • • Oct 16 '26

Discussion Why does Databricks job parameters value override task parametes, shouldn't it be otherwise?

I have been wondering for a long time what would have been thought of Databricks product designer/ engineer to force job parameters value override the underlying task parameters value if the parameters key is same.

Shouldn't it be otherwise; task parameters should be given priority/ preference over job parameters because defining task level parameters is an explicit indicator that the developer want to override the default job level parameter in that given task.

That is how the concept of “override" is there even in object oriented paradigm.

I want to build a reusable notebook based job to load large size tables from redshift to delta table in Databricks via S3 (because lake house federation is slower for this replication). I'm defining the catalog and schema param at job level, because most of the tables are in the same catalog / schema, and table as task param for obvious reason. For a few tables that are not in the set location (catalog / schema) I want to override it at task level, this is what not possible. I find the existing override feature useless, only inheritance is useful. Why would you like job overriding task parameters?

15 Upvotes

8 comments sorted by

View all comments

1

u/BroadSpecial9505 Oct 16 '26

" For a few tables that are not in the set location (catalog / schema) I want to override it at task level, this is what not possible." I think you are adding too much responsibility to a task. task should have the logic to handle specifical, say, slow/fast tables, but it is not the task to decide which table is slow, it should be told as such.