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

Make IEJoin code more clear #9973

Merged
merged 1 commit into from Dec 15, 2023
Merged

Make IEJoin code more clear #9973

merged 1 commit into from Dec 15, 2023

Conversation

xuke-hat
Copy link
Contributor

  1. lhs_orders and rhs_orders were vector<vector<BoundOrderByNode>> but each vector only contained one element. It's better to use vector<BoundOrderByNode> instead.
  2. In JoinComplexBlocks the check if (lrid > 0 && rrid < 0) is unnecessary.
    • In IEJoinUnion::NextRow() lrid is ensured to be positive
    • rrid = li[j], bit_mask[j] is valid and bit_mask[j] is only set when li[j] < 0.

@Mytherin Mytherin merged commit 3fa81c5 into duckdb:main Dec 15, 2023
47 checks passed
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request Dec 15, 2023
Merge pull request duckdb/duckdb#10005 from Tishj/python3_7_optional_issue
Merge pull request duckdb/duckdb#9974 from taniabogatsch/duplicate-lambda-parameters
Merge pull request duckdb/duckdb#9999 from Mytherin/parallelcheckpoint
Merge pull request duckdb/duckdb#9973 from xuke-hat/refine-iejoin
Merge pull request duckdb/duckdb#9984 from hawkfish/tsns-time
Merge pull request duckdb/duckdb#9977 from atacan/swift-readme
@xuke-hat xuke-hat deleted the refine-iejoin branch December 18, 2023 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants