- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2025 12:53 AM
I'm implementing DABs, Jobs, and Notebooks.
For configure management, I set parameters on databricks.yml.
but I can't get parameters on notebook after executed a job successfully.
What I implemented ans Steps to the issue:
- Created "dev-catalog" on WEB UI
- databricks.yml
- Terminal CLI
databricks bundle validate
databricks bundle plan -t dev
databricks bundle deploy --target dev --profile my_dev
- New job is successfully created on WEB UI
- Start the job
- Job parameters are well set on the job on WEB UI (see attached picture)
- Notebook(from WEB UI) is executed
- notebook code(Python)
print(f"Dry Run: {dry_run}")
print(f"Target Catalog (from DABs): {target_catalog}")
print(f"Target Schema (from DABs): {target_schema}")
- The result on Notebook
================================================================================
Processing Date:
Target Catalog (from DABs):
Target Schema (from DABs):
================================================================================
(couldn't catch!)
I assume "dbutils.widgets.text("target_catalog", "", "Target Catalog (from DABs)")" on Notebook can catch a Job parameter which DABs set.
How can I handle this issue?
Thanks.
- Labels:
-
Workflows