Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed resolving variable references inside slice variable #1550

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

andrewnester
Copy link
Contributor

Changes

Fixes #1541

Tests

Added regression unit test

Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
@andrewnester andrewnester added this pull request to the merge queue Jul 2, 2024
Merged via the queue into main with commit 0d64975 Jul 2, 2024
5 checks passed
@andrewnester andrewnester deleted the fix/complex-var-ref branch July 2, 2024 11:51
pietern added a commit that referenced this pull request Jul 3, 2024
Bundles:

As of this release you can interact with bundles when running the CLI on DBR (e.g. via the Web Terminal).

 * Fix non-default project names not working in dbt-sql template ([#1500](#1500)).
 * Improve `bundle validate` output ([#1532](#1532)).
 * Fixed resolving variable references inside slice variable ([#1550](#1550)).
 * Fixed bundle not loading when empty variable is defined ([#1552](#1552)).
 * Use `vfs.Path` for filesystem interaction ([#1554](#1554)).
 * Replace `vfs.Path` with extension-aware filer when running on DBR ([#1556](#1556)).

Internal:
 * merge.Override: Fix handling of dyn.NilValue ([#1530](#1530)).
 * Compare `.Kind()` instead of direct equality checks on a `dyn.Value` ([#1520](#1520)).
 * PythonMutator: register product in user agent extra ([#1533](#1533)).
 * Ignore `dyn.NilValue` when traversing value from `dyn.Map` ([#1547](#1547)).
 * Add extra tests for the sync block ([#1548](#1548)).
 * PythonMutator: add diagnostics ([#1531](#1531)).
 * PythonMutator: support omitempty in PyDABs ([#1513](#1513)).
 * PythonMutator: allow insert 'resources' and 'resources.jobs' ([#1555](#1555)).
@pietern pietern mentioned this pull request Jul 3, 2024
github-merge-queue bot pushed a commit that referenced this pull request Jul 3, 2024
Bundles:

As of this release you can interact with bundles when running the CLI on
DBR (e.g. via the Web Terminal).

* Fix non-default project names not working in dbt-sql template
([#1500](#1500)).
* Improve `bundle validate` output
([#1532](#1532)).
* Fixed resolving variable references inside slice variable
([#1550](#1550)).
* Fixed bundle not loading when empty variable is defined
([#1552](#1552)).
* Use `vfs.Path` for filesystem interaction
([#1554](#1554)).
* Replace `vfs.Path` with extension-aware filer when running on DBR
([#1556](#1556)).

Internal:
* merge.Override: Fix handling of dyn.NilValue
([#1530](#1530)).
* Compare `.Kind()` instead of direct equality checks on a `dyn.Value`
([#1520](#1520)).
* PythonMutator: register product in user agent extra
([#1533](#1533)).
* Ignore `dyn.NilValue` when traversing value from `dyn.Map`
([#1547](#1547)).
* Add extra tests for the sync block
([#1548](#1548)).
* PythonMutator: add diagnostics
([#1531](#1531)).
* PythonMutator: support omitempty in PyDABs
([#1513](#1513)).
* PythonMutator: allow insert 'resources' and 'resources.jobs'
([#1555](#1555)).
witi83 pushed a commit to witi83/databricks-cli that referenced this pull request Jul 29, 2024
…#1550)

## Changes
Fixes databricks#1541 

## Tests
Added regression unit test

---------

Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
witi83 pushed a commit to witi83/databricks-cli that referenced this pull request Jul 29, 2024
Bundles:

As of this release you can interact with bundles when running the CLI on
DBR (e.g. via the Web Terminal).

* Fix non-default project names not working in dbt-sql template
([databricks#1500](databricks#1500)).
* Improve `bundle validate` output
([databricks#1532](databricks#1532)).
* Fixed resolving variable references inside slice variable
([databricks#1550](databricks#1550)).
* Fixed bundle not loading when empty variable is defined
([databricks#1552](databricks#1552)).
* Use `vfs.Path` for filesystem interaction
([databricks#1554](databricks#1554)).
* Replace `vfs.Path` with extension-aware filer when running on DBR
([databricks#1556](databricks#1556)).

Internal:
* merge.Override: Fix handling of dyn.NilValue
([databricks#1530](databricks#1530)).
* Compare `.Kind()` instead of direct equality checks on a `dyn.Value`
([databricks#1520](databricks#1520)).
* PythonMutator: register product in user agent extra
([databricks#1533](databricks#1533)).
* Ignore `dyn.NilValue` when traversing value from `dyn.Map`
([databricks#1547](databricks#1547)).
* Add extra tests for the sync block
([databricks#1548](databricks#1548)).
* PythonMutator: add diagnostics
([databricks#1531](databricks#1531)).
* PythonMutator: support omitempty in PyDABs
([databricks#1513](databricks#1513)).
* PythonMutator: allow insert 'resources' and 'resources.jobs'
([databricks#1555](databricks#1555)).
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.

Complex variable with reference to another variable fails in deploy despite passing validation
2 participants