Skip to content

Remove redundant base_parameters from Vector Search example jobs#159

Merged
janniklasrose merged 2 commits into
mainfrom
janniklasrose/vector-search-nit-followup
Jun 12, 2026
Merged

Remove redundant base_parameters from Vector Search example jobs#159
janniklasrose merged 2 commits into
mainfrom
janniklasrose/vector-search-nit-followup

Conversation

@janniklasrose

@janniklasrose janniklasrose commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Follow-up to review feedback on #153: job-level parameters are automatically pushed down to notebook tasks, so the base_parameters blocks that mirrored them 1:1 via {{job.parameters.x}} were redundant.

Confirmed against the docs (Parameterize jobs, Access parameter values from a task):

  • Job parameters are pushed down to tasks that use key-value parameters; notebooks read them with dbutils.widgets.get() — which is exactly how 01_upsert_products.py and 02_query_demo.py already read them.
  • When a task parameter and a job parameter share a name, the job parameter is fetched — so these base_parameters could never take effect anyway; removing them is behavior-preserving.

databricks bundle validate passes for both targets against a real workspace (dev and prod, host placeholder swapped locally for validation only).

This pull request and its description were generated with Claude Code.

Job-level parameters are automatically pushed down to notebook tasks
and read via dbutils.widgets.get(), and job parameters take precedence
over same-key task parameters anyway, so mirroring them through
base_parameters had no effect. Follow-up to review feedback on #153.

@pietern pietern left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend to omit base_parameters entirely, if you don't know about them, you don't have to at all.

@janniklasrose janniklasrose merged commit f001c3e into main Jun 12, 2026
1 check passed
@janniklasrose janniklasrose deleted the janniklasrose/vector-search-nit-followup branch June 12, 2026 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants