-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Description
Expected Behavior
Whenever I send named_parameters as part of my dbx execute, I want the workflow to use these parameters during runtime. This is already the case if I simply use just the normal positional parameters.
Current Behavior
DBX only parses that keys from the dict and not the values when it formats the arguments used by the task. It always assumes that a list of strings are sent as CLI arguments similar to what you would expect for positional parameters. The source code that performs this formatting is referenced here.
Steps to Reproduce (for bugs)
- Create a workflow with that uses python wheel for a task (ensure that you have
named_parameteras part of the workflow definition. - Run the DBX Execute
dbx execute test-workflow \
--cluster-id='xxxx-xxxxxx-xxxxxxx' \
--parameters='{"named_parameters": {"prediction-date": "2023-11-18", "tenant": "DE", "mode": "dev"}}'
- Check logs
Context
I am using a working with workflows using python wheels as tasks.
Your Environment
- dbx version used: 0.8.18
- Databricks Runtime version: 13.3 LTS ML
hakami1024 and GaniMarquez
Metadata
Metadata
Assignees
Labels
No labels
