โ04-16-2025 09:01 AM
Hi Community.
Since I wasn't able to find a way to set a job tag dynamically at runtime based on a parameter that is passed to the job, I was wondering if it is possible or if there is an equivalent way to do it.
Thank you. Regards.
โ04-17-2025 03:51 AM
Hi BigRoux.
Thank you for your reply. I'll go through each point:
So, I deduce there is no way for the moment to set a job tag based on a job parameter. I hope in the next releases this feature will be available, along with some other similar "dynamic functionalities".
Thank you again. Best regards.
โ04-16-2025 10:07 AM
Based on the provided context, it appears that there isn't a direct way within Databricks to dynamically set job tags at runtime based on a parameter passed to the job. However, there are alternative approaches you can consider to work around this limitation:
Job Parameters and Dynamic Value References:
dbutils.widgets
. While this doesnโt directly set job tags dynamically, you can reference these parameters in your job logic.Custom Tagging in Notebooks:
Using Databricks Asset Bundles (DAB):
External Solutions using REST API:
โ04-17-2025 03:51 AM
Hi BigRoux.
Thank you for your reply. I'll go through each point:
So, I deduce there is no way for the moment to set a job tag based on a job parameter. I hope in the next releases this feature will be available, along with some other similar "dynamic functionalities".
Thank you again. Best regards.
โ04-17-2025 04:13 PM
That is correct. My research indicates that what you are looking to do is not currently supported. Hence the multiple mitigations suggested. Hope this help. Louis.
Passionate about hosting events and connecting people? Help us grow a vibrant local communityโsign up today to get started!
Sign Up Now