-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Support JOIN predicates #8802
Copy link
Copy link
Closed
Labels
comp-joinsJOINs end-to-end (planning hooks + runtime join operators/algorithms). Single bucket to avoid pla...JOINs end-to-end (planning hooks + runtime join operators/algorithms). Single bucket to avoid pla...feature
Description
It's possible in SQL to write complex ON section. Something like this
SELECT * FROM a
JOIN b ON a.id = b.id
AND (func1(a.x, a.y, a.z) OR func2(a.x, b.x) OR ...)
It's OK cause it has equality a.id = b.id and we could make it via equi-join. But we should move complex (func1(a.x, a.y, a.z) OR func2(a.x, b.x) OR ...) to WHERE or support complex filters in JOIN.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
comp-joinsJOINs end-to-end (planning hooks + runtime join operators/algorithms). Single bucket to avoid pla...JOINs end-to-end (planning hooks + runtime join operators/algorithms). Single bucket to avoid pla...feature