Join reordering #10068
-
I'm curious about the join reordering implementation inside datafusion. After a quick search of the code, I found that there are two rules that may reorder the join:
Please let me know if I missed anything here, but it seems like there is no traditional join reordering in query optimization literature such as using DP or MEMO to decide the best join order in terms of performance. I found a related issue here in general for the optimizer framework but it also seems to be paused for a while. Are there any ongoing plans or discussions to implement such things? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I am not aware of any active plans to pursue join reordering in DataFusion. It is a challenging problem because it requires statistics that are not readily available when running ad-doc queries against file-based data sources. |
Beta Was this translation helpful? Give feedback.
I am not aware of any active plans to pursue join reordering in DataFusion. It is a challenging problem because it requires statistics that are not readily available when running ad-doc queries against file-based data sources.