Skip to content

Refactor join types #8606

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

Merged
merged 6 commits into from
Jun 21, 2025
Merged

Refactor join types #8606

merged 6 commits into from
Jun 21, 2025

Conversation

dyemanov
Copy link
Member

  1. Replace BLR join verbs with enum inside RseNode
  2. Introduce ANTI JOIN
  3. Separate special join types (SEMI | ANTI) from INNER JOINs

@dyemanov dyemanov self-assigned this Jun 17, 2025
@@ -715,6 +715,21 @@ class WindowSourceNode final : public TypedNode<RecordSourceNode, RecordSourceNo

class RseNode final : public TypedNode<RecordSourceNode, RecordSourceNode::TYPE_RSE>
{
enum : UCHAR // storage is BLR-compatible
{
INNER_JOIN = 0,
Copy link
Member

Choose a reason for hiding this comment

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

Isn't better to assign the blr constants?

INNER_JOIN = blr_inner,
...

@dyemanov dyemanov marked this pull request as ready for review June 19, 2025 15:10
@dyemanov dyemanov merged commit 7d28a48 into master Jun 21, 2025
68 of 69 checks passed
@dyemanov dyemanov deleted the work/refactor-join-types branch June 21, 2025 10:19
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.

2 participants