Skip to content

support join conditions in where clause #892

@houqp

Description

@houqp

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 request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions