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

Avoid generating null filter values in test_delta_dfp_reuse_broadcast_exchange [databricks] #9745

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

jlowe
Copy link
Member

@jlowe jlowe commented Nov 16, 2023

After #9441 test_delta_dfp_reuse_broadcast_exchange can sometimes fail with a query analysis error like this:

AnalysisException("Column 'None' does not exist. Did you mean one of the following? [dim.key, fact.key, dim.skey, fact...

The problem is that a query is run on the CPU to determine a filter value, but since the column of filter values can contain nulls, it's possible for the query to return None rather than an integer value. When "None" is plugged into the query template, it results in an invalid query.

This fixes the test to never generate nulls for the filter values.

@jlowe jlowe added the test Only impacts tests label Nov 16, 2023
@jlowe jlowe self-assigned this Nov 16, 2023
@jlowe jlowe changed the title Avoid generating null filter values in test_delta_dfp_reuse_broadcast_exchange Avoid generating null filter values in test_delta_dfp_reuse_broadcast_exchange [databricks] Nov 16, 2023
@jlowe
Copy link
Member Author

jlowe commented Nov 16, 2023

build

@jlowe jlowe merged commit 64536bd into NVIDIA:branch-23.12 Nov 16, 2023
38 checks passed
@jlowe jlowe deleted the fix-delta-dfp-test branch November 16, 2023 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Only impacts tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants