forked from apache/datafusion
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move subquery check from analyzer to PullUpCorrelatedExpr
This patch moves subquery check `can_pull_over_aggregation` from analyzer into the PullUpCorrelatedExpr. Instead of failing the query we will no instead not decorrelate such queries and then fail during physical plan creation. The goal here is to support TPC-DS q41 which has an expression that can not be pull up until it has been simplified by SimplifyExpressions. This means that currently we reject the query already in the analyzer. But after this change we are able to plan that query.
- Loading branch information
1 parent
ac827ab
commit 4a345f3
Showing
5 changed files
with
74 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters