-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
tpch query 8 is taking forever to execute in ballista because its subquery is planned as a cross join across 8 tables.
Describe the solution you'd like
The join conditions for query 8 are specified in the where clause. Our optimizer should pick this up and rewrite the part of the cross join into inner join.
Describe alternatives you've considered
Handle the rewrite in sql planner, but this will won't benefit dataframe users.
Additional context
Surfaced from #891.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request