apache / datafusion

Apache DataFusion SQL Query Engine
https://datafusion.apache.org/
Apache License 2.0
6.26k stars 1.18k forks source link

EPIC: Implement/investigate other join types #13181

Open Dandandan opened 1 week ago

Dandandan commented 1 week ago

c### Is your feature request related to a problem or challenge?

From http://btw2017.informatik.uni-stuttgart.de/slidesandpapers/F1-10-37/paper_web.pdf

There is this useful overview of join types used by HyPer:

image

We can investigate the following:

Describe the solution you'd like

Implement these types and use them in the planner to improve performance on TPC-H and TPC-DS queries

Describe alternatives you've considered

No response

Additional context

No response

comphead commented 1 week ago

Thanks @Dandandan Now I understand how exotic join types (RightSemi, RightAnti) are coming into play

Lordworms commented 1 week ago

I would like to try group join