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

Handle empty positions in getAddressIndex #19123

Merged

Conversation

lukasz-stec
Copy link
Member

Description

Additional context and related issues

fixes #19112

Release notes

( X) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

# Section
* Fix some things. ({issue}`issuenumber`)

@cla-bot cla-bot bot added the cla-signed label Sep 22, 2023
@lukasz-stec lukasz-stec requested a review from martint September 22, 2023 08:34
@github-actions github-actions bot added the iceberg Iceberg connector label Sep 22, 2023
@@ -6442,6 +6443,30 @@ public void testMergeSimpleQueryPartitioned()
assertUpdate("DROP TABLE " + targetTable);
}

@Test
public void testMergeWithSubselectWithoutHash()
Copy link
Member

Choose a reason for hiding this comment

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

No need to add a new test.
Just change the existing tests where we enable the optimization manually to work around the bug. Search for references to the github issue in the codebase to find the call sites.

Copy link
Member Author

Choose a reason for hiding this comment

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

Okay, I dropped this test + removed the optimize_hash_generation overrides in two tests marked with the issue number.

@lukasz-stec lukasz-stec force-pushed the ls/2309/002-join-null-positions branch from 2458ab2 to 1809759 Compare September 22, 2023 08:49
@lukasz-stec lukasz-stec force-pushed the ls/2309/002-join-null-positions branch from 1809759 to 2ecb279 Compare September 22, 2023 08:51
@lukasz-stec lukasz-stec requested a review from martint September 22, 2023 08:52
@martint martint merged commit 2a0f9ab into trinodb:master Sep 22, 2023
@github-actions github-actions bot added this to the 427 milestone Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed iceberg Iceberg connector
Development

Successfully merging this pull request may close these issues.

MERGE failure when pre-computed hash optimization is turned off
3 participants