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.
fix planner generate replicated subquery_alias. (apache#4484)
- Loading branch information
Showing
8 changed files
with
138 additions
and
109 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
Sort: custdist DESC NULLS FIRST, c_orders.c_count DESC NULLS FIRST | ||
Projection: c_orders.c_count, COUNT(UInt8(1)) AS custdist | ||
Aggregate: groupBy=[[c_orders.c_count]], aggr=[[COUNT(UInt8(1))]] | ||
SubqueryAlias: c_orders | ||
Projection: c_orders.COUNT(orders.o_orderkey) AS c_count | ||
SubqueryAlias: c_orders | ||
Projection: COUNT(orders.o_orderkey) | ||
Aggregate: groupBy=[[customer.c_custkey]], aggr=[[COUNT(orders.o_orderkey)]] | ||
Left Join: customer.c_custkey = orders.o_custkey | ||
TableScan: customer projection=[c_custkey] | ||
Filter: orders.o_comment NOT LIKE Utf8("%special%requests%") | ||
TableScan: orders projection=[o_orderkey, o_custkey, o_comment] | ||
Sort: custdist DESC NULLS FIRST, c_count DESC NULLS FIRST | ||
Projection: c_count, COUNT(UInt8(1)) AS custdist | ||
Aggregate: groupBy=[[c_count]], aggr=[[COUNT(UInt8(1))]] | ||
Projection: c_orders.COUNT(orders.o_orderkey) AS c_count | ||
SubqueryAlias: c_orders | ||
Projection: COUNT(orders.o_orderkey) | ||
Aggregate: groupBy=[[customer.c_custkey]], aggr=[[COUNT(orders.o_orderkey)]] | ||
Left Join: customer.c_custkey = orders.o_custkey | ||
TableScan: customer projection=[c_custkey] | ||
Filter: orders.o_comment NOT LIKE Utf8("%special%requests%") | ||
TableScan: orders projection=[o_orderkey, o_custkey, o_comment] |
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
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
Oops, something went wrong.