Skip to content

[CALCITE-7755] Support IEJoin for inequality joins - #5233

Open
zzwqqq wants to merge 1 commit into
apache:mainfrom
zzwqqq:iejoin
Open

[CALCITE-7755] Support IEJoin for inequality joins#5233
zzwqqq wants to merge 1 commit into
apache:mainfrom
zzwqqq:iejoin

Conversation

@zzwqqq

@zzwqqq zzwqqq commented Aug 30, 2026

Copy link
Copy Markdown
Member

Jira Link

CALCITE-7755

Changes Proposed

IEJoin is an algorithm for joins with two inequality predicates, described in “Lightning Fast and Space Efficient Inequality Joins,” PVLDB 8(13), 2015.

This change adds an IEJoin implementation for the Enumerable convention. It applies to inner joins with at least two inequality predicates between fields from the two inputs. IEJoin handles the first two predicates; any remaining predicates are evaluated by an EnumerableCalc. Other join conditions are left to the existing rules.

Planner and execution tests are included.

@zzwqqq
zzwqqq marked this pull request as draft August 30, 2026 09:30
@zzwqqq
zzwqqq marked this pull request as ready for review September 1, 2026 15:18
@sonarqubecloud

sonarqubecloud Bot commented Sep 1, 2026

Copy link
Copy Markdown

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.

1 participant