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

Prevent a degenerative join in test_dpp_reuse_broadcast_exchange [databricks] #10168

Merged
merged 8 commits into from
Jan 10, 2024

Conversation

NVnavkumar
Copy link
Collaborator

Fixes #10147

This ensures that dim table here produces only positive values in the value column, so that the filter included in the join does not result in a degenerative join. There is an existing test_dpp_empty_relation which should be testing the scenario that involves DPP+AQE with empty relations from degenerative joins.

…apture the parts of the plan desired in test_dpp_reuse_broadcast_exchange

Signed-off-by: Navin Kumar <navink@nvidia.com>
@NVnavkumar
Copy link
Collaborator Author

build

@NVnavkumar NVnavkumar changed the title Prevent a degenerative join in test_dpp_reuse_broadcast_exchange Prevent a degenerative join in test_dpp_reuse_broadcast_exchange [databricks] Jan 9, 2024
@jlowe jlowe added the test Only impacts tests label Jan 9, 2024
@NVnavkumar NVnavkumar self-assigned this Jan 9, 2024
…ensure uniformity of values so that the union doesn't result in a degenerative join

Signed-off-by: Navin Kumar <navink@nvidia.com>
@NVnavkumar
Copy link
Collaborator Author

build

Signed-off-by: Navin Kumar <navink@nvidia.com>
…ot be degenerative

Signed-off-by: Navin Kumar <navink@nvidia.com>
integration_tests/src/main/python/data_gen.py Show resolved Hide resolved
integration_tests/src/main/python/data_gen.py Outdated Show resolved Hide resolved
integration_tests/src/main/python/data_gen.py Show resolved Hide resolved
if isinstance(child, list):
super().__init__(data_type, nullable=False)
self.nullable = nullable
self._length = len(child)
Copy link
Member

Choose a reason for hiding this comment

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

Should assert if length is specified or try to honor it (e.g.: allow it if it's less than the length of the list).

integration_tests/src/main/python/dpp_test.py Outdated Show resolved Hide resolved
Signed-off-by: Navin Kumar <navink@nvidia.com>
Signed-off-by: Navin Kumar <navink@nvidia.com>
Signed-off-by: Navin Kumar <navink@nvidia.com>
Signed-off-by: Navin Kumar <navink@nvidia.com>
@NVnavkumar
Copy link
Collaborator Author

build

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.

[BUG] test_dpp_reuse_broadcast_exchange failed
2 participants