diff --git a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveRemoveSqCountCheck.java b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveRemoveSqCountCheck.java index 01003952dd..f0f7094e35 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveRemoveSqCountCheck.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveRemoveSqCountCheck.java @@ -40,9 +40,11 @@ import java.util.TreeMap; /** - * Planner rule that removes UDF sq_count_check from a - * plan if group by keys in a subquery are constant - * and there is no windowing or grouping sets + * Planner rule that removes UDF sq_count_check from a plan if + * 1) either group by keys in a subquery are constant and there is no windowing or grouping sets + * 2) OR there are no group by keys but only aggregate + * Both of the above case will produce at most one row, therefore it is safe to remove sq_count_check + * which was introduced earlier in the plan to ensure that this condition is met at run time */ public class HiveRemoveSqCountCheck extends RelOptRule { @@ -97,25 +99,17 @@ private boolean isSqlCountCheck(final HiveFilter filter) { return false; } + private boolean isAggregateWithoutGbyKeys(final Aggregate agg) { + return agg.getGroupCount() == 0 ? true : false; + } - @Override public void onMatch(RelOptRuleCall call) { - final Join topJoin= call.rel(0); - final Join join = call.rel(2); - final Aggregate aggregate = call.rel(6); - - // in presence of grouping sets we can't remove sq_count_check - if(aggregate.indicator) { - return; - } - - final int groupCount = aggregate.getGroupCount(); - + private boolean isAggWithConstantGbyKeys(final Aggregate aggregate, RelOptRuleCall call) { final RexBuilder rexBuilder = aggregate.getCluster().getRexBuilder(); final RelMetadataQuery mq = call.getMetadataQuery(); final RelOptPredicateList predicates = mq.getPulledUpPredicates(aggregate.getInput()); if (predicates == null) { - return; + return false; } final NavigableMap map = new TreeMap<>(); for (int key : aggregate.getGroupSet()) { @@ -128,15 +122,30 @@ private boolean isSqlCountCheck(final HiveFilter filter) { // None of the group expressions are constant. Nothing to do. if (map.isEmpty()) { - return; + return false; } + final int groupCount = aggregate.getGroupCount(); if (groupCount == map.size()) { + return true; + } + return false; + } + + @Override public void onMatch(RelOptRuleCall call) { + final Join topJoin= call.rel(0); + final Join join = call.rel(2); + final Aggregate aggregate = call.rel(6); + + // in presence of grouping sets we can't remove sq_count_check + if(aggregate.indicator) { + return; + } + if(isAggregateWithoutGbyKeys(aggregate) || isAggWithConstantGbyKeys(aggregate, call)) { // join(left, join.getRight) RelNode newJoin = HiveJoin.getJoin(topJoin.getCluster(), join.getLeft(), topJoin.getRight(), topJoin.getCondition(), topJoin.getJoinType()); call.transformTo(newJoin); } } - } diff --git a/ql/src/test/queries/clientpositive/subquery_scalar.q b/ql/src/test/queries/clientpositive/subquery_scalar.q index a7322f5978..05d675885c 100644 --- a/ql/src/test/queries/clientpositive/subquery_scalar.q +++ b/ql/src/test/queries/clientpositive/subquery_scalar.q @@ -258,3 +258,26 @@ explain select key, count(*) from src group by key having count(*) > explain select key, count(*) from src group by key having count(*) > (select count(*) from src s1 where s1.key = '90' group by s1.key ); + +CREATE TABLE `store_sales`( + `ss_sold_date_sk` int, + `ss_quantity` int, + `ss_list_price` decimal(7,2)); + +CREATE TABLE `date_dim`( + `d_date_sk` int, + `d_year` int); + +explain cbo with avg_sales as + (select avg(quantity*list_price) average_sales + from (select ss_quantity quantity + ,ss_list_price list_price + from store_sales + ,date_dim + where ss_sold_date_sk = d_date_sk + and d_year between 1999 and 2001 ) x) +select * from store_sales where ss_list_price > (select average_sales from avg_sales); + +DROP TABLE store_sales; +DROP TABLE date_dim; + diff --git a/ql/src/test/results/clientpositive/llap/subquery_scalar.q.out b/ql/src/test/results/clientpositive/llap/subquery_scalar.q.out index c43ad9188b..11b7fc7e31 100644 --- a/ql/src/test/results/clientpositive/llap/subquery_scalar.q.out +++ b/ql/src/test/results/clientpositive/llap/subquery_scalar.q.out @@ -7155,3 +7155,88 @@ STAGE PLANS: Processor Tree: ListSink +PREHOOK: query: CREATE TABLE `store_sales`( + `ss_sold_date_sk` int, + `ss_quantity` int, + `ss_list_price` decimal(7,2)) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@store_sales +POSTHOOK: query: CREATE TABLE `store_sales`( + `ss_sold_date_sk` int, + `ss_quantity` int, + `ss_list_price` decimal(7,2)) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@store_sales +PREHOOK: query: CREATE TABLE `date_dim`( + `d_date_sk` int, + `d_year` int) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@date_dim +POSTHOOK: query: CREATE TABLE `date_dim`( + `d_date_sk` int, + `d_year` int) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@date_dim +Warning: Shuffle Join MERGEJOIN[37][tables = [$hdt$_0, $hdt$_1]] in Stage 'Reducer 2' is a cross product +PREHOOK: query: explain cbo with avg_sales as + (select avg(quantity*list_price) average_sales + from (select ss_quantity quantity + ,ss_list_price list_price + from store_sales + ,date_dim + where ss_sold_date_sk = d_date_sk + and d_year between 1999 and 2001 ) x) +select * from store_sales where ss_list_price > (select average_sales from avg_sales) +PREHOOK: type: QUERY +PREHOOK: Input: default@date_dim +PREHOOK: Input: default@store_sales +#### A masked pattern was here #### +POSTHOOK: query: explain cbo with avg_sales as + (select avg(quantity*list_price) average_sales + from (select ss_quantity quantity + ,ss_list_price list_price + from store_sales + ,date_dim + where ss_sold_date_sk = d_date_sk + and d_year between 1999 and 2001 ) x) +select * from store_sales where ss_list_price > (select average_sales from avg_sales) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@date_dim +POSTHOOK: Input: default@store_sales +#### A masked pattern was here #### +CBO PLAN: +HiveProject(ss_sold_date_sk=[$0], ss_quantity=[$1], ss_list_price=[$2]) + HiveJoin(condition=[>($2, $3)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveProject(ss_sold_date_sk=[$0], ss_quantity=[$1], ss_list_price=[$2]) + HiveTableScan(table=[[default, store_sales]], table:alias=[store_sales]) + HiveProject($f0=[/($0, $1)]) + HiveAggregate(group=[{}], agg#0=[sum($0)], agg#1=[count($0)]) + HiveProject($f0=[*(CAST($1):DECIMAL(10, 0), $2)]) + HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveProject(ss_sold_date_sk=[$0], ss_quantity=[$1], ss_list_price=[$2]) + HiveFilter(condition=[IS NOT NULL($0)]) + HiveTableScan(table=[[default, store_sales]], table:alias=[store_sales]) + HiveProject(d_date_sk=[$0]) + HiveFilter(condition=[AND(BETWEEN(false, $1, 1999, 2001), IS NOT NULL($0))]) + HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) + +PREHOOK: query: DROP TABLE store_sales +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@store_sales +PREHOOK: Output: default@store_sales +POSTHOOK: query: DROP TABLE store_sales +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@store_sales +POSTHOOK: Output: default@store_sales +PREHOOK: query: DROP TABLE date_dim +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@date_dim +PREHOOK: Output: default@date_dim +POSTHOOK: query: DROP TABLE date_dim +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@date_dim +POSTHOOK: Output: default@date_dim diff --git a/ql/src/test/results/clientpositive/perf/tez/cbo_query14.q.out b/ql/src/test/results/clientpositive/perf/tez/cbo_query14.q.out index e5a0be1e86..c09da86ce1 100644 --- a/ql/src/test/results/clientpositive/perf/tez/cbo_query14.q.out +++ b/ql/src/test/results/clientpositive/perf/tez/cbo_query14.q.out @@ -1,9 +1,6 @@ -Warning: Shuffle Join MERGEJOIN[1440][tables = [$hdt$_1, $hdt$_2]] in Stage 'Reducer 5' is a cross product -Warning: Shuffle Join MERGEJOIN[1452][tables = [$hdt$_1, $hdt$_2, $hdt$_0]] in Stage 'Reducer 6' is a cross product -Warning: Shuffle Join MERGEJOIN[1442][tables = [$hdt$_1, $hdt$_2]] in Stage 'Reducer 13' is a cross product -Warning: Shuffle Join MERGEJOIN[1465][tables = [$hdt$_1, $hdt$_2, $hdt$_0]] in Stage 'Reducer 14' is a cross product -Warning: Shuffle Join MERGEJOIN[1444][tables = [$hdt$_2, $hdt$_3]] in Stage 'Reducer 18' is a cross product -Warning: Shuffle Join MERGEJOIN[1478][tables = [$hdt$_2, $hdt$_3, $hdt$_1]] in Stage 'Reducer 19' is a cross product +Warning: Shuffle Join MERGEJOIN[1164][tables = [$hdt$_0, $hdt$_1]] in Stage 'Reducer 6' is a cross product +Warning: Shuffle Join MERGEJOIN[1171][tables = [$hdt$_0, $hdt$_1]] in Stage 'Reducer 16' is a cross product +Warning: Shuffle Join MERGEJOIN[1178][tables = [$hdt$_1, $hdt$_2]] in Stage 'Reducer 22' is a cross product PREHOOK: query: explain cbo with cross_items as (select i_item_sk ss_item_sk @@ -229,7 +226,7 @@ HiveSortLimit(sort0=[$0], sort1=[$1], sort2=[$2], sort3=[$3], dir0=[ASC], dir1=[ HiveProject(channel=[$0], i_brand_id=[$1], i_class_id=[$2], i_category_id=[$3], sales=[$4], number_sales=[$5]) HiveUnion(all=[true]) HiveProject(channel=[_UTF-16LE'store'], i_brand_id=[$0], i_class_id=[$1], i_category_id=[$2], sales=[$3], number_sales=[$4]) - HiveJoin(condition=[>($3, $6)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveJoin(condition=[>($3, $5)], joinType=[inner], algorithm=[none], cost=[not available]) HiveProject(i_brand_id=[$0], i_class_id=[$1], i_category_id=[$2], $f3=[$3], $f4=[$4]) HiveAggregate(group=[{0, 1, 2}], agg#0=[sum($3)], agg#1=[count()]) HiveProject(i_brand_id=[$1], i_class_id=[$2], i_category_id=[$3], $f3=[*(CAST($6):DECIMAL(10, 0), $7)]) @@ -294,70 +291,36 @@ HiveSortLimit(sort0=[$0], sort1=[$1], sort2=[$2], sort3=[$3], dir0=[ASC], dir1=[ HiveProject(i_item_sk=[$0], i_brand_id=[$7], i_class_id=[$9], i_category_id=[$11]) HiveFilter(condition=[AND(IS NOT NULL($0), IS NOT NULL($7), IS NOT NULL($9), IS NOT NULL($11))]) HiveTableScan(table=[[default, item]], table:alias=[iws]) - HiveJoin(condition=[true], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(cnt=[$0]) - HiveFilter(condition=[<=(sq_count_check($0), 1)]) - HiveProject(cnt=[$0]) - HiveAggregate(group=[{}], cnt=[COUNT()]) - HiveProject - HiveProject($f0=[$0]) - HiveAggregate(group=[{}], agg#0=[count($0)]) - HiveProject(quantity=[$0], list_price=[$1]) - HiveUnion(all=[true]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(ss_sold_date_sk=[$0], ss_quantity=[$10], ss_list_price=[$12]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, store_sales]], table:alias=[store_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[AND(BETWEEN(false, $6, 1999, 2001), IS NOT NULL($0))]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(cs_sold_date_sk=[$0], cs_quantity=[$18], cs_list_price=[$20]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, catalog_sales]], table:alias=[catalog_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[AND(BETWEEN(false, $6, 1998, 2000), IS NOT NULL($0))]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(ws_sold_date_sk=[$0], ws_quantity=[$18], ws_list_price=[$20]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, web_sales]], table:alias=[web_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[AND(BETWEEN(false, $6, 1998, 2000), IS NOT NULL($0))]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject($f0=[/($0, $1)]) - HiveAggregate(group=[{}], agg#0=[sum($0)], agg#1=[count($0)]) - HiveProject($f0=[*(CAST($0):DECIMAL(10, 0), $1)]) - HiveUnion(all=[true]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(ss_sold_date_sk=[$0], ss_quantity=[$10], ss_list_price=[$12]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, store_sales]], table:alias=[store_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[AND(BETWEEN(false, $6, 1999, 2001), IS NOT NULL($0))]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(cs_sold_date_sk=[$0], cs_quantity=[$18], cs_list_price=[$20]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, catalog_sales]], table:alias=[catalog_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[AND(BETWEEN(false, $6, 1998, 2000), IS NOT NULL($0))]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(ws_sold_date_sk=[$0], ws_quantity=[$18], ws_list_price=[$20]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, web_sales]], table:alias=[web_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[AND(BETWEEN(false, $6, 1998, 2000), IS NOT NULL($0))]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) + HiveProject($f0=[/($0, $1)]) + HiveAggregate(group=[{}], agg#0=[sum($0)], agg#1=[count($0)]) + HiveProject($f0=[*(CAST($0):DECIMAL(10, 0), $1)]) + HiveUnion(all=[true]) + HiveProject(quantity=[$1], list_price=[$2]) + HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveProject(ss_sold_date_sk=[$0], ss_quantity=[$10], ss_list_price=[$12]) + HiveFilter(condition=[IS NOT NULL($0)]) + HiveTableScan(table=[[default, store_sales]], table:alias=[store_sales]) + HiveProject(d_date_sk=[$0]) + HiveFilter(condition=[AND(BETWEEN(false, $6, 1999, 2001), IS NOT NULL($0))]) + HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) + HiveProject(quantity=[$1], list_price=[$2]) + HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveProject(cs_sold_date_sk=[$0], cs_quantity=[$18], cs_list_price=[$20]) + HiveFilter(condition=[IS NOT NULL($0)]) + HiveTableScan(table=[[default, catalog_sales]], table:alias=[catalog_sales]) + HiveProject(d_date_sk=[$0]) + HiveFilter(condition=[AND(BETWEEN(false, $6, 1998, 2000), IS NOT NULL($0))]) + HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) + HiveProject(quantity=[$1], list_price=[$2]) + HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveProject(ws_sold_date_sk=[$0], ws_quantity=[$18], ws_list_price=[$20]) + HiveFilter(condition=[IS NOT NULL($0)]) + HiveTableScan(table=[[default, web_sales]], table:alias=[web_sales]) + HiveProject(d_date_sk=[$0]) + HiveFilter(condition=[AND(BETWEEN(false, $6, 1998, 2000), IS NOT NULL($0))]) + HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) HiveProject(channel=[_UTF-16LE'catalog'], i_brand_id=[$0], i_class_id=[$1], i_category_id=[$2], sales=[$3], number_sales=[$4]) - HiveJoin(condition=[>($3, $6)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveJoin(condition=[>($3, $5)], joinType=[inner], algorithm=[none], cost=[not available]) HiveProject(i_brand_id=[$0], i_class_id=[$1], i_category_id=[$2], $f3=[$3], $f4=[$4]) HiveAggregate(group=[{0, 1, 2}], agg#0=[sum($3)], agg#1=[count()]) HiveProject(i_brand_id=[$1], i_class_id=[$2], i_category_id=[$3], $f3=[*(CAST($6):DECIMAL(10, 0), $7)]) @@ -422,70 +385,36 @@ HiveSortLimit(sort0=[$0], sort1=[$1], sort2=[$2], sort3=[$3], dir0=[ASC], dir1=[ HiveProject(i_item_sk=[$0], i_brand_id=[$7], i_class_id=[$9], i_category_id=[$11]) HiveFilter(condition=[AND(IS NOT NULL($0), IS NOT NULL($7), IS NOT NULL($9), IS NOT NULL($11))]) HiveTableScan(table=[[default, item]], table:alias=[iws]) - HiveJoin(condition=[true], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(cnt=[$0]) - HiveFilter(condition=[<=(sq_count_check($0), 1)]) - HiveProject(cnt=[$0]) - HiveAggregate(group=[{}], cnt=[COUNT()]) - HiveProject - HiveProject($f0=[$0]) - HiveAggregate(group=[{}], agg#0=[count($0)]) - HiveProject(quantity=[$0], list_price=[$1]) - HiveUnion(all=[true]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(ss_sold_date_sk=[$0], ss_quantity=[$10], ss_list_price=[$12]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, store_sales]], table:alias=[store_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[AND(BETWEEN(false, $6, 1999, 2001), IS NOT NULL($0))]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(cs_sold_date_sk=[$0], cs_quantity=[$18], cs_list_price=[$20]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, catalog_sales]], table:alias=[catalog_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[AND(BETWEEN(false, $6, 1998, 2000), IS NOT NULL($0))]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(ws_sold_date_sk=[$0], ws_quantity=[$18], ws_list_price=[$20]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, web_sales]], table:alias=[web_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[AND(BETWEEN(false, $6, 1998, 2000), IS NOT NULL($0))]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject($f0=[/($0, $1)]) - HiveAggregate(group=[{}], agg#0=[sum($0)], agg#1=[count($0)]) - HiveProject($f0=[*(CAST($0):DECIMAL(10, 0), $1)]) - HiveUnion(all=[true]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(ss_sold_date_sk=[$0], ss_quantity=[$10], ss_list_price=[$12]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, store_sales]], table:alias=[store_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[AND(BETWEEN(false, $6, 1999, 2001), IS NOT NULL($0))]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(cs_sold_date_sk=[$0], cs_quantity=[$18], cs_list_price=[$20]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, catalog_sales]], table:alias=[catalog_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[AND(BETWEEN(false, $6, 1998, 2000), IS NOT NULL($0))]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(ws_sold_date_sk=[$0], ws_quantity=[$18], ws_list_price=[$20]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, web_sales]], table:alias=[web_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[AND(BETWEEN(false, $6, 1998, 2000), IS NOT NULL($0))]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) + HiveProject($f0=[/($0, $1)]) + HiveAggregate(group=[{}], agg#0=[sum($0)], agg#1=[count($0)]) + HiveProject($f0=[*(CAST($0):DECIMAL(10, 0), $1)]) + HiveUnion(all=[true]) + HiveProject(quantity=[$1], list_price=[$2]) + HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveProject(ss_sold_date_sk=[$0], ss_quantity=[$10], ss_list_price=[$12]) + HiveFilter(condition=[IS NOT NULL($0)]) + HiveTableScan(table=[[default, store_sales]], table:alias=[store_sales]) + HiveProject(d_date_sk=[$0]) + HiveFilter(condition=[AND(BETWEEN(false, $6, 1999, 2001), IS NOT NULL($0))]) + HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) + HiveProject(quantity=[$1], list_price=[$2]) + HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveProject(cs_sold_date_sk=[$0], cs_quantity=[$18], cs_list_price=[$20]) + HiveFilter(condition=[IS NOT NULL($0)]) + HiveTableScan(table=[[default, catalog_sales]], table:alias=[catalog_sales]) + HiveProject(d_date_sk=[$0]) + HiveFilter(condition=[AND(BETWEEN(false, $6, 1998, 2000), IS NOT NULL($0))]) + HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) + HiveProject(quantity=[$1], list_price=[$2]) + HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveProject(ws_sold_date_sk=[$0], ws_quantity=[$18], ws_list_price=[$20]) + HiveFilter(condition=[IS NOT NULL($0)]) + HiveTableScan(table=[[default, web_sales]], table:alias=[web_sales]) + HiveProject(d_date_sk=[$0]) + HiveFilter(condition=[AND(BETWEEN(false, $6, 1998, 2000), IS NOT NULL($0))]) + HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) HiveProject(channel=[_UTF-16LE'web'], i_brand_id=[$0], i_class_id=[$1], i_category_id=[$2], sales=[$3], number_sales=[$4]) - HiveJoin(condition=[>($3, $6)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveJoin(condition=[>($3, $5)], joinType=[inner], algorithm=[none], cost=[not available]) HiveProject(i_brand_id=[$0], i_class_id=[$1], i_category_id=[$2], $f3=[$3], $f4=[$4]) HiveAggregate(group=[{0, 1, 2}], agg#0=[sum($3)], agg#1=[count()]) HiveProject(i_brand_id=[$1], i_class_id=[$2], i_category_id=[$3], $f3=[*(CAST($6):DECIMAL(10, 0), $7)]) @@ -550,66 +479,32 @@ HiveSortLimit(sort0=[$0], sort1=[$1], sort2=[$2], sort3=[$3], dir0=[ASC], dir1=[ HiveProject(i_item_sk=[$0], i_brand_id=[$7], i_class_id=[$9], i_category_id=[$11]) HiveFilter(condition=[AND(IS NOT NULL($0), IS NOT NULL($7), IS NOT NULL($9), IS NOT NULL($11))]) HiveTableScan(table=[[default, item]], table:alias=[iws]) - HiveJoin(condition=[true], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(cnt=[$0]) - HiveFilter(condition=[<=(sq_count_check($0), 1)]) - HiveProject(cnt=[$0]) - HiveAggregate(group=[{}], cnt=[COUNT()]) - HiveProject - HiveProject($f0=[$0]) - HiveAggregate(group=[{}], agg#0=[count($0)]) - HiveProject(quantity=[$0], list_price=[$1]) - HiveUnion(all=[true]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(ss_sold_date_sk=[$0], ss_quantity=[$10], ss_list_price=[$12]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, store_sales]], table:alias=[store_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[AND(BETWEEN(false, $6, 1999, 2001), IS NOT NULL($0))]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(cs_sold_date_sk=[$0], cs_quantity=[$18], cs_list_price=[$20]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, catalog_sales]], table:alias=[catalog_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[AND(BETWEEN(false, $6, 1998, 2000), IS NOT NULL($0))]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(ws_sold_date_sk=[$0], ws_quantity=[$18], ws_list_price=[$20]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, web_sales]], table:alias=[web_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[AND(BETWEEN(false, $6, 1998, 2000), IS NOT NULL($0))]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject($f0=[/($0, $1)]) - HiveAggregate(group=[{}], agg#0=[sum($0)], agg#1=[count($0)]) - HiveProject($f0=[*(CAST($0):DECIMAL(10, 0), $1)]) - HiveUnion(all=[true]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(ss_sold_date_sk=[$0], ss_quantity=[$10], ss_list_price=[$12]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, store_sales]], table:alias=[store_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[AND(BETWEEN(false, $6, 1999, 2001), IS NOT NULL($0))]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(cs_sold_date_sk=[$0], cs_quantity=[$18], cs_list_price=[$20]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, catalog_sales]], table:alias=[catalog_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[AND(BETWEEN(false, $6, 1998, 2000), IS NOT NULL($0))]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(ws_sold_date_sk=[$0], ws_quantity=[$18], ws_list_price=[$20]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, web_sales]], table:alias=[web_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[AND(BETWEEN(false, $6, 1998, 2000), IS NOT NULL($0))]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) + HiveProject($f0=[/($0, $1)]) + HiveAggregate(group=[{}], agg#0=[sum($0)], agg#1=[count($0)]) + HiveProject($f0=[*(CAST($0):DECIMAL(10, 0), $1)]) + HiveUnion(all=[true]) + HiveProject(quantity=[$1], list_price=[$2]) + HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveProject(ss_sold_date_sk=[$0], ss_quantity=[$10], ss_list_price=[$12]) + HiveFilter(condition=[IS NOT NULL($0)]) + HiveTableScan(table=[[default, store_sales]], table:alias=[store_sales]) + HiveProject(d_date_sk=[$0]) + HiveFilter(condition=[AND(BETWEEN(false, $6, 1999, 2001), IS NOT NULL($0))]) + HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) + HiveProject(quantity=[$1], list_price=[$2]) + HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveProject(cs_sold_date_sk=[$0], cs_quantity=[$18], cs_list_price=[$20]) + HiveFilter(condition=[IS NOT NULL($0)]) + HiveTableScan(table=[[default, catalog_sales]], table:alias=[catalog_sales]) + HiveProject(d_date_sk=[$0]) + HiveFilter(condition=[AND(BETWEEN(false, $6, 1998, 2000), IS NOT NULL($0))]) + HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) + HiveProject(quantity=[$1], list_price=[$2]) + HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveProject(ws_sold_date_sk=[$0], ws_quantity=[$18], ws_list_price=[$20]) + HiveFilter(condition=[IS NOT NULL($0)]) + HiveTableScan(table=[[default, web_sales]], table:alias=[web_sales]) + HiveProject(d_date_sk=[$0]) + HiveFilter(condition=[AND(BETWEEN(false, $6, 1998, 2000), IS NOT NULL($0))]) + HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) diff --git a/ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query14.q.out b/ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query14.q.out index 9abcb05bfa..118d23b577 100644 --- a/ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query14.q.out +++ b/ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query14.q.out @@ -1,9 +1,6 @@ -Warning: Shuffle Join MERGEJOIN[1458][tables = [$hdt$_1, $hdt$_2]] in Stage 'Reducer 5' is a cross product -Warning: Shuffle Join MERGEJOIN[1470][tables = [$hdt$_1, $hdt$_2, $hdt$_0]] in Stage 'Reducer 6' is a cross product -Warning: Shuffle Join MERGEJOIN[1460][tables = [$hdt$_1, $hdt$_2]] in Stage 'Reducer 13' is a cross product -Warning: Shuffle Join MERGEJOIN[1483][tables = [$hdt$_1, $hdt$_2, $hdt$_0]] in Stage 'Reducer 14' is a cross product -Warning: Shuffle Join MERGEJOIN[1462][tables = [$hdt$_2, $hdt$_3]] in Stage 'Reducer 18' is a cross product -Warning: Shuffle Join MERGEJOIN[1496][tables = [$hdt$_2, $hdt$_3, $hdt$_1]] in Stage 'Reducer 19' is a cross product +Warning: Shuffle Join MERGEJOIN[1182][tables = [$hdt$_0, $hdt$_1]] in Stage 'Reducer 6' is a cross product +Warning: Shuffle Join MERGEJOIN[1189][tables = [$hdt$_0, $hdt$_1]] in Stage 'Reducer 16' is a cross product +Warning: Shuffle Join MERGEJOIN[1196][tables = [$hdt$_1, $hdt$_2]] in Stage 'Reducer 22' is a cross product PREHOOK: query: explain cbo with cross_items as (select i_item_sk ss_item_sk @@ -229,7 +226,7 @@ HiveSortLimit(sort0=[$0], sort1=[$1], sort2=[$2], sort3=[$3], dir0=[ASC], dir1=[ HiveProject(channel=[$0], i_brand_id=[$1], i_class_id=[$2], i_category_id=[$3], sales=[$4], number_sales=[$5]) HiveUnion(all=[true]) HiveProject(channel=[_UTF-16LE'store'], i_brand_id=[$0], i_class_id=[$1], i_category_id=[$2], sales=[$3], number_sales=[$4]) - HiveJoin(condition=[>($3, $6)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveJoin(condition=[>($3, $5)], joinType=[inner], algorithm=[none], cost=[not available]) HiveProject($f0=[$0], $f1=[$1], $f2=[$2], $f3=[$3], $f4=[$4]) HiveAggregate(group=[{0, 1, 2}], agg#0=[sum($3)], agg#1=[count()]) HiveProject($f0=[$1], $f1=[$2], $f2=[$3], $f3=[*(CAST($7):DECIMAL(10, 0), $8)]) @@ -293,70 +290,36 @@ HiveSortLimit(sort0=[$0], sort1=[$1], sort2=[$2], sort3=[$3], dir0=[ASC], dir1=[ HiveProject(d_date_sk=[$0]) HiveFilter(condition=[AND(=($6, 2000), =($8, 11))]) HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveJoin(condition=[true], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(cnt=[$0]) - HiveFilter(condition=[<=(sq_count_check($0), 1)]) - HiveProject(cnt=[$0]) - HiveAggregate(group=[{}], cnt=[COUNT()]) - HiveProject - HiveProject($f0=[$0]) - HiveAggregate(group=[{}], agg#0=[count($0)]) - HiveProject(quantity=[$0], list_price=[$1]) - HiveUnion(all=[true]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(ss_sold_date_sk=[$0], ss_quantity=[$10], ss_list_price=[$12]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, store_sales]], table:alias=[store_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[BETWEEN(false, $6, 1999, 2001)]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(cs_sold_date_sk=[$0], cs_quantity=[$18], cs_list_price=[$20]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, catalog_sales]], table:alias=[catalog_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[BETWEEN(false, $6, 1998, 2000)]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(ws_sold_date_sk=[$0], ws_quantity=[$18], ws_list_price=[$20]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, web_sales]], table:alias=[web_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[BETWEEN(false, $6, 1998, 2000)]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject($f0=[/($0, $1)]) - HiveAggregate(group=[{}], agg#0=[sum($0)], agg#1=[count($0)]) - HiveProject($f0=[*(CAST($0):DECIMAL(10, 0), $1)]) - HiveUnion(all=[true]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(ss_sold_date_sk=[$0], ss_quantity=[$10], ss_list_price=[$12]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, store_sales]], table:alias=[store_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[BETWEEN(false, $6, 1999, 2001)]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(cs_sold_date_sk=[$0], cs_quantity=[$18], cs_list_price=[$20]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, catalog_sales]], table:alias=[catalog_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[BETWEEN(false, $6, 1998, 2000)]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(ws_sold_date_sk=[$0], ws_quantity=[$18], ws_list_price=[$20]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, web_sales]], table:alias=[web_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[BETWEEN(false, $6, 1998, 2000)]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) + HiveProject($f0=[/($0, $1)]) + HiveAggregate(group=[{}], agg#0=[sum($0)], agg#1=[count($0)]) + HiveProject($f0=[*(CAST($0):DECIMAL(10, 0), $1)]) + HiveUnion(all=[true]) + HiveProject(quantity=[$1], list_price=[$2]) + HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveProject(ss_sold_date_sk=[$0], ss_quantity=[$10], ss_list_price=[$12]) + HiveFilter(condition=[IS NOT NULL($0)]) + HiveTableScan(table=[[default, store_sales]], table:alias=[store_sales]) + HiveProject(d_date_sk=[$0]) + HiveFilter(condition=[BETWEEN(false, $6, 1999, 2001)]) + HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) + HiveProject(quantity=[$1], list_price=[$2]) + HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveProject(cs_sold_date_sk=[$0], cs_quantity=[$18], cs_list_price=[$20]) + HiveFilter(condition=[IS NOT NULL($0)]) + HiveTableScan(table=[[default, catalog_sales]], table:alias=[catalog_sales]) + HiveProject(d_date_sk=[$0]) + HiveFilter(condition=[BETWEEN(false, $6, 1998, 2000)]) + HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) + HiveProject(quantity=[$1], list_price=[$2]) + HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveProject(ws_sold_date_sk=[$0], ws_quantity=[$18], ws_list_price=[$20]) + HiveFilter(condition=[IS NOT NULL($0)]) + HiveTableScan(table=[[default, web_sales]], table:alias=[web_sales]) + HiveProject(d_date_sk=[$0]) + HiveFilter(condition=[BETWEEN(false, $6, 1998, 2000)]) + HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) HiveProject(channel=[_UTF-16LE'catalog'], i_brand_id=[$0], i_class_id=[$1], i_category_id=[$2], sales=[$3], number_sales=[$4]) - HiveJoin(condition=[>($3, $6)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveJoin(condition=[>($3, $5)], joinType=[inner], algorithm=[none], cost=[not available]) HiveProject($f0=[$0], $f1=[$1], $f2=[$2], $f3=[$3], $f4=[$4]) HiveAggregate(group=[{0, 1, 2}], agg#0=[sum($3)], agg#1=[count()]) HiveProject($f0=[$1], $f1=[$2], $f2=[$3], $f3=[*(CAST($7):DECIMAL(10, 0), $8)]) @@ -420,70 +383,36 @@ HiveSortLimit(sort0=[$0], sort1=[$1], sort2=[$2], sort3=[$3], dir0=[ASC], dir1=[ HiveProject(d_date_sk=[$0]) HiveFilter(condition=[AND(=($6, 2000), =($8, 11))]) HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveJoin(condition=[true], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(cnt=[$0]) - HiveFilter(condition=[<=(sq_count_check($0), 1)]) - HiveProject(cnt=[$0]) - HiveAggregate(group=[{}], cnt=[COUNT()]) - HiveProject - HiveProject($f0=[$0]) - HiveAggregate(group=[{}], agg#0=[count($0)]) - HiveProject(quantity=[$0], list_price=[$1]) - HiveUnion(all=[true]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(ss_sold_date_sk=[$0], ss_quantity=[$10], ss_list_price=[$12]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, store_sales]], table:alias=[store_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[BETWEEN(false, $6, 1999, 2001)]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(cs_sold_date_sk=[$0], cs_quantity=[$18], cs_list_price=[$20]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, catalog_sales]], table:alias=[catalog_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[BETWEEN(false, $6, 1998, 2000)]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(ws_sold_date_sk=[$0], ws_quantity=[$18], ws_list_price=[$20]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, web_sales]], table:alias=[web_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[BETWEEN(false, $6, 1998, 2000)]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject($f0=[/($0, $1)]) - HiveAggregate(group=[{}], agg#0=[sum($0)], agg#1=[count($0)]) - HiveProject($f0=[*(CAST($0):DECIMAL(10, 0), $1)]) - HiveUnion(all=[true]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(ss_sold_date_sk=[$0], ss_quantity=[$10], ss_list_price=[$12]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, store_sales]], table:alias=[store_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[BETWEEN(false, $6, 1999, 2001)]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(cs_sold_date_sk=[$0], cs_quantity=[$18], cs_list_price=[$20]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, catalog_sales]], table:alias=[catalog_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[BETWEEN(false, $6, 1998, 2000)]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(ws_sold_date_sk=[$0], ws_quantity=[$18], ws_list_price=[$20]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, web_sales]], table:alias=[web_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[BETWEEN(false, $6, 1998, 2000)]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) + HiveProject($f0=[/($0, $1)]) + HiveAggregate(group=[{}], agg#0=[sum($0)], agg#1=[count($0)]) + HiveProject($f0=[*(CAST($0):DECIMAL(10, 0), $1)]) + HiveUnion(all=[true]) + HiveProject(quantity=[$1], list_price=[$2]) + HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveProject(ss_sold_date_sk=[$0], ss_quantity=[$10], ss_list_price=[$12]) + HiveFilter(condition=[IS NOT NULL($0)]) + HiveTableScan(table=[[default, store_sales]], table:alias=[store_sales]) + HiveProject(d_date_sk=[$0]) + HiveFilter(condition=[BETWEEN(false, $6, 1999, 2001)]) + HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) + HiveProject(quantity=[$1], list_price=[$2]) + HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveProject(cs_sold_date_sk=[$0], cs_quantity=[$18], cs_list_price=[$20]) + HiveFilter(condition=[IS NOT NULL($0)]) + HiveTableScan(table=[[default, catalog_sales]], table:alias=[catalog_sales]) + HiveProject(d_date_sk=[$0]) + HiveFilter(condition=[BETWEEN(false, $6, 1998, 2000)]) + HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) + HiveProject(quantity=[$1], list_price=[$2]) + HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveProject(ws_sold_date_sk=[$0], ws_quantity=[$18], ws_list_price=[$20]) + HiveFilter(condition=[IS NOT NULL($0)]) + HiveTableScan(table=[[default, web_sales]], table:alias=[web_sales]) + HiveProject(d_date_sk=[$0]) + HiveFilter(condition=[BETWEEN(false, $6, 1998, 2000)]) + HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) HiveProject(channel=[_UTF-16LE'web'], i_brand_id=[$0], i_class_id=[$1], i_category_id=[$2], sales=[$3], number_sales=[$4]) - HiveJoin(condition=[>($3, $6)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveJoin(condition=[>($3, $5)], joinType=[inner], algorithm=[none], cost=[not available]) HiveProject($f0=[$0], $f1=[$1], $f2=[$2], $f3=[$3], $f4=[$4]) HiveAggregate(group=[{0, 1, 2}], agg#0=[sum($3)], agg#1=[count()]) HiveProject($f0=[$1], $f1=[$2], $f2=[$3], $f3=[*(CAST($7):DECIMAL(10, 0), $8)]) @@ -547,66 +476,32 @@ HiveSortLimit(sort0=[$0], sort1=[$1], sort2=[$2], sort3=[$3], dir0=[ASC], dir1=[ HiveProject(d_date_sk=[$0]) HiveFilter(condition=[AND(=($6, 2000), =($8, 11))]) HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveJoin(condition=[true], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(cnt=[$0]) - HiveFilter(condition=[<=(sq_count_check($0), 1)]) - HiveProject(cnt=[$0]) - HiveAggregate(group=[{}], cnt=[COUNT()]) - HiveProject - HiveProject($f0=[$0]) - HiveAggregate(group=[{}], agg#0=[count($0)]) - HiveProject(quantity=[$0], list_price=[$1]) - HiveUnion(all=[true]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(ss_sold_date_sk=[$0], ss_quantity=[$10], ss_list_price=[$12]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, store_sales]], table:alias=[store_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[BETWEEN(false, $6, 1999, 2001)]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(cs_sold_date_sk=[$0], cs_quantity=[$18], cs_list_price=[$20]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, catalog_sales]], table:alias=[catalog_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[BETWEEN(false, $6, 1998, 2000)]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(ws_sold_date_sk=[$0], ws_quantity=[$18], ws_list_price=[$20]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, web_sales]], table:alias=[web_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[BETWEEN(false, $6, 1998, 2000)]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject($f0=[/($0, $1)]) - HiveAggregate(group=[{}], agg#0=[sum($0)], agg#1=[count($0)]) - HiveProject($f0=[*(CAST($0):DECIMAL(10, 0), $1)]) - HiveUnion(all=[true]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(ss_sold_date_sk=[$0], ss_quantity=[$10], ss_list_price=[$12]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, store_sales]], table:alias=[store_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[BETWEEN(false, $6, 1999, 2001)]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(cs_sold_date_sk=[$0], cs_quantity=[$18], cs_list_price=[$20]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, catalog_sales]], table:alias=[catalog_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[BETWEEN(false, $6, 1998, 2000)]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) - HiveProject(quantity=[$1], list_price=[$2]) - HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) - HiveProject(ws_sold_date_sk=[$0], ws_quantity=[$18], ws_list_price=[$20]) - HiveFilter(condition=[IS NOT NULL($0)]) - HiveTableScan(table=[[default, web_sales]], table:alias=[web_sales]) - HiveProject(d_date_sk=[$0]) - HiveFilter(condition=[BETWEEN(false, $6, 1998, 2000)]) - HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) + HiveProject($f0=[/($0, $1)]) + HiveAggregate(group=[{}], agg#0=[sum($0)], agg#1=[count($0)]) + HiveProject($f0=[*(CAST($0):DECIMAL(10, 0), $1)]) + HiveUnion(all=[true]) + HiveProject(quantity=[$1], list_price=[$2]) + HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveProject(ss_sold_date_sk=[$0], ss_quantity=[$10], ss_list_price=[$12]) + HiveFilter(condition=[IS NOT NULL($0)]) + HiveTableScan(table=[[default, store_sales]], table:alias=[store_sales]) + HiveProject(d_date_sk=[$0]) + HiveFilter(condition=[BETWEEN(false, $6, 1999, 2001)]) + HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) + HiveProject(quantity=[$1], list_price=[$2]) + HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveProject(cs_sold_date_sk=[$0], cs_quantity=[$18], cs_list_price=[$20]) + HiveFilter(condition=[IS NOT NULL($0)]) + HiveTableScan(table=[[default, catalog_sales]], table:alias=[catalog_sales]) + HiveProject(d_date_sk=[$0]) + HiveFilter(condition=[BETWEEN(false, $6, 1998, 2000)]) + HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) + HiveProject(quantity=[$1], list_price=[$2]) + HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveProject(ws_sold_date_sk=[$0], ws_quantity=[$18], ws_list_price=[$20]) + HiveFilter(condition=[IS NOT NULL($0)]) + HiveTableScan(table=[[default, web_sales]], table:alias=[web_sales]) + HiveProject(d_date_sk=[$0]) + HiveFilter(condition=[BETWEEN(false, $6, 1998, 2000)]) + HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) diff --git a/ql/src/test/results/clientpositive/perf/tez/constraints/query14.q.out b/ql/src/test/results/clientpositive/perf/tez/constraints/query14.q.out index 4df5864dbe..1a3aefe3f9 100644 --- a/ql/src/test/results/clientpositive/perf/tez/constraints/query14.q.out +++ b/ql/src/test/results/clientpositive/perf/tez/constraints/query14.q.out @@ -1,9 +1,6 @@ -Warning: Shuffle Join MERGEJOIN[1458][tables = [$hdt$_1, $hdt$_2]] in Stage 'Reducer 5' is a cross product -Warning: Shuffle Join MERGEJOIN[1470][tables = [$hdt$_1, $hdt$_2, $hdt$_0]] in Stage 'Reducer 6' is a cross product -Warning: Shuffle Join MERGEJOIN[1460][tables = [$hdt$_1, $hdt$_2]] in Stage 'Reducer 13' is a cross product -Warning: Shuffle Join MERGEJOIN[1483][tables = [$hdt$_1, $hdt$_2, $hdt$_0]] in Stage 'Reducer 14' is a cross product -Warning: Shuffle Join MERGEJOIN[1462][tables = [$hdt$_2, $hdt$_3]] in Stage 'Reducer 18' is a cross product -Warning: Shuffle Join MERGEJOIN[1496][tables = [$hdt$_2, $hdt$_3, $hdt$_1]] in Stage 'Reducer 19' is a cross product +Warning: Shuffle Join MERGEJOIN[1182][tables = [$hdt$_0, $hdt$_1]] in Stage 'Reducer 6' is a cross product +Warning: Shuffle Join MERGEJOIN[1189][tables = [$hdt$_0, $hdt$_1]] in Stage 'Reducer 16' is a cross product +Warning: Shuffle Join MERGEJOIN[1196][tables = [$hdt$_1, $hdt$_2]] in Stage 'Reducer 22' is a cross product PREHOOK: query: explain with cross_items as (select i_item_sk ss_item_sk @@ -225,1104 +222,828 @@ POSTHOOK: Output: hdfs://### HDFS PATH ### Plan optimized by CBO. Vertex dependency in root stage -Map 1 <- Reducer 98 (BROADCAST_EDGE) -Map 100 <- Reducer 91 (BROADCAST_EDGE) -Map 101 <- Reducer 97 (BROADCAST_EDGE) -Map 103 <- Reducer 63 (BROADCAST_EDGE) -Map 104 <- Reducer 68 (BROADCAST_EDGE) -Map 20 <- Reducer 25 (BROADCAST_EDGE) -Map 36 <- Reducer 41 (BROADCAST_EDGE) -Map 46 <- Reducer 99 (BROADCAST_EDGE) -Map 50 <- Reducer 29 (BROADCAST_EDGE) -Map 51 <- Reducer 43 (BROADCAST_EDGE) -Map 52 <- Reducer 58 (BROADCAST_EDGE) -Map 69 <- Reducer 85 (BROADCAST_EDGE) -Reducer 10 <- Map 1 (SIMPLE_EDGE), Map 84 (SIMPLE_EDGE), Union 11 (CONTAINS) -Reducer 12 <- Union 11 (CUSTOM_SIMPLE_EDGE) -Reducer 13 <- Reducer 12 (CUSTOM_SIMPLE_EDGE), Reducer 32 (CUSTOM_SIMPLE_EDGE) -Reducer 14 <- Reducer 13 (CUSTOM_SIMPLE_EDGE), Reducer 62 (CUSTOM_SIMPLE_EDGE), Union 7 (CONTAINS) -Reducer 15 <- Map 1 (SIMPLE_EDGE), Map 84 (SIMPLE_EDGE), Union 16 (CONTAINS) -Reducer 17 <- Union 16 (CUSTOM_SIMPLE_EDGE) -Reducer 18 <- Reducer 17 (CUSTOM_SIMPLE_EDGE), Reducer 35 (CUSTOM_SIMPLE_EDGE) -Reducer 19 <- Reducer 18 (CUSTOM_SIMPLE_EDGE), Reducer 67 (CUSTOM_SIMPLE_EDGE), Union 7 (CONTAINS) -Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 84 (SIMPLE_EDGE), Union 3 (CONTAINS) -Reducer 21 <- Map 20 (SIMPLE_EDGE), Map 24 (SIMPLE_EDGE), Union 3 (CONTAINS) -Reducer 22 <- Map 20 (SIMPLE_EDGE), Map 24 (SIMPLE_EDGE), Union 11 (CONTAINS) -Reducer 23 <- Map 20 (SIMPLE_EDGE), Map 24 (SIMPLE_EDGE), Union 16 (CONTAINS) -Reducer 25 <- Map 24 (CUSTOM_SIMPLE_EDGE) -Reducer 26 <- Map 24 (SIMPLE_EDGE), Map 50 (SIMPLE_EDGE), Union 27 (CONTAINS) -Reducer 28 <- Union 27 (CUSTOM_SIMPLE_EDGE) -Reducer 29 <- Map 24 (CUSTOM_SIMPLE_EDGE) -Reducer 30 <- Map 24 (SIMPLE_EDGE), Map 50 (SIMPLE_EDGE), Union 31 (CONTAINS) -Reducer 32 <- Union 31 (CUSTOM_SIMPLE_EDGE) -Reducer 33 <- Map 24 (SIMPLE_EDGE), Map 50 (SIMPLE_EDGE), Union 34 (CONTAINS) -Reducer 35 <- Union 34 (CUSTOM_SIMPLE_EDGE) -Reducer 37 <- Map 36 (SIMPLE_EDGE), Map 40 (SIMPLE_EDGE), Union 3 (CONTAINS) -Reducer 38 <- Map 36 (SIMPLE_EDGE), Map 40 (SIMPLE_EDGE), Union 11 (CONTAINS) -Reducer 39 <- Map 36 (SIMPLE_EDGE), Map 40 (SIMPLE_EDGE), Union 16 (CONTAINS) -Reducer 4 <- Union 3 (CUSTOM_SIMPLE_EDGE) -Reducer 41 <- Map 40 (CUSTOM_SIMPLE_EDGE) -Reducer 42 <- Map 40 (SIMPLE_EDGE), Map 51 (SIMPLE_EDGE), Union 27 (CONTAINS) -Reducer 43 <- Map 40 (CUSTOM_SIMPLE_EDGE) -Reducer 44 <- Map 40 (SIMPLE_EDGE), Map 51 (SIMPLE_EDGE), Union 31 (CONTAINS) -Reducer 45 <- Map 40 (SIMPLE_EDGE), Map 51 (SIMPLE_EDGE), Union 34 (CONTAINS) -Reducer 47 <- Map 46 (SIMPLE_EDGE), Map 84 (SIMPLE_EDGE), Union 27 (CONTAINS) -Reducer 48 <- Map 46 (SIMPLE_EDGE), Map 84 (SIMPLE_EDGE), Union 31 (CONTAINS) -Reducer 49 <- Map 46 (SIMPLE_EDGE), Map 84 (SIMPLE_EDGE), Union 34 (CONTAINS) -Reducer 5 <- Reducer 28 (CUSTOM_SIMPLE_EDGE), Reducer 4 (CUSTOM_SIMPLE_EDGE) -Reducer 53 <- Map 52 (SIMPLE_EDGE), Map 57 (SIMPLE_EDGE) -Reducer 54 <- Reducer 53 (SIMPLE_EDGE), Reducer 75 (SIMPLE_EDGE) -Reducer 55 <- Map 102 (SIMPLE_EDGE), Reducer 54 (ONE_TO_ONE_EDGE) -Reducer 56 <- Reducer 55 (SIMPLE_EDGE) -Reducer 58 <- Map 57 (CUSTOM_SIMPLE_EDGE) -Reducer 59 <- Map 103 (SIMPLE_EDGE), Map 57 (SIMPLE_EDGE) -Reducer 6 <- Reducer 5 (CUSTOM_SIMPLE_EDGE), Reducer 56 (CUSTOM_SIMPLE_EDGE), Union 7 (CONTAINS) -Reducer 60 <- Reducer 59 (SIMPLE_EDGE), Reducer 79 (SIMPLE_EDGE) -Reducer 61 <- Map 102 (SIMPLE_EDGE), Reducer 60 (ONE_TO_ONE_EDGE) -Reducer 62 <- Reducer 61 (SIMPLE_EDGE) -Reducer 63 <- Map 57 (CUSTOM_SIMPLE_EDGE) -Reducer 64 <- Map 104 (SIMPLE_EDGE), Map 57 (SIMPLE_EDGE) -Reducer 65 <- Reducer 64 (SIMPLE_EDGE), Reducer 83 (SIMPLE_EDGE) -Reducer 66 <- Map 102 (SIMPLE_EDGE), Reducer 65 (ONE_TO_ONE_EDGE) -Reducer 67 <- Reducer 66 (SIMPLE_EDGE) -Reducer 68 <- Map 57 (CUSTOM_SIMPLE_EDGE) -Reducer 70 <- Map 69 (SIMPLE_EDGE), Map 84 (SIMPLE_EDGE) -Reducer 71 <- Map 102 (SIMPLE_EDGE), Reducer 70 (SIMPLE_EDGE) -Reducer 72 <- Reducer 71 (SIMPLE_EDGE), Union 73 (CONTAINS) -Reducer 74 <- Union 73 (SIMPLE_EDGE) -Reducer 75 <- Map 102 (SIMPLE_EDGE), Reducer 74 (ONE_TO_ONE_EDGE) -Reducer 76 <- Reducer 71 (SIMPLE_EDGE), Union 77 (CONTAINS) -Reducer 78 <- Union 77 (SIMPLE_EDGE) -Reducer 79 <- Map 102 (SIMPLE_EDGE), Reducer 78 (ONE_TO_ONE_EDGE) +Map 1 <- Reducer 11 (BROADCAST_EDGE) +Map 24 <- Reducer 40 (BROADCAST_EDGE) +Map 63 <- Reducer 46 (BROADCAST_EDGE) +Map 64 <- Reducer 52 (BROADCAST_EDGE) +Map 66 <- Reducer 56 (BROADCAST_EDGE) +Map 67 <- Reducer 72 (BROADCAST_EDGE) +Map 73 <- Reducer 78 (BROADCAST_EDGE) +Map 79 <- Reducer 17 (BROADCAST_EDGE) +Map 80 <- Reducer 23 (BROADCAST_EDGE) +Reducer 11 <- Map 10 (CUSTOM_SIMPLE_EDGE) +Reducer 12 <- Map 10 (SIMPLE_EDGE), Map 79 (SIMPLE_EDGE) +Reducer 13 <- Reducer 12 (SIMPLE_EDGE), Reducer 34 (SIMPLE_EDGE) +Reducer 14 <- Map 65 (SIMPLE_EDGE), Reducer 13 (ONE_TO_ONE_EDGE) +Reducer 15 <- Reducer 14 (SIMPLE_EDGE) +Reducer 16 <- Reducer 15 (CUSTOM_SIMPLE_EDGE), Reducer 59 (CUSTOM_SIMPLE_EDGE), Union 7 (CONTAINS) +Reducer 17 <- Map 10 (CUSTOM_SIMPLE_EDGE) +Reducer 18 <- Map 10 (SIMPLE_EDGE), Map 80 (SIMPLE_EDGE) +Reducer 19 <- Reducer 18 (SIMPLE_EDGE), Reducer 38 (SIMPLE_EDGE) +Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 10 (SIMPLE_EDGE) +Reducer 20 <- Map 65 (SIMPLE_EDGE), Reducer 19 (ONE_TO_ONE_EDGE) +Reducer 21 <- Reducer 20 (SIMPLE_EDGE) +Reducer 22 <- Reducer 21 (CUSTOM_SIMPLE_EDGE), Reducer 62 (CUSTOM_SIMPLE_EDGE), Union 7 (CONTAINS) +Reducer 23 <- Map 10 (CUSTOM_SIMPLE_EDGE) +Reducer 25 <- Map 24 (SIMPLE_EDGE), Map 39 (SIMPLE_EDGE) +Reducer 26 <- Map 65 (SIMPLE_EDGE), Reducer 25 (SIMPLE_EDGE) +Reducer 27 <- Reducer 26 (SIMPLE_EDGE), Union 28 (CONTAINS) +Reducer 29 <- Union 28 (SIMPLE_EDGE) +Reducer 3 <- Reducer 2 (SIMPLE_EDGE), Reducer 30 (SIMPLE_EDGE) +Reducer 30 <- Map 65 (SIMPLE_EDGE), Reducer 29 (ONE_TO_ONE_EDGE) +Reducer 31 <- Reducer 26 (SIMPLE_EDGE), Union 32 (CONTAINS) +Reducer 33 <- Union 32 (SIMPLE_EDGE) +Reducer 34 <- Map 65 (SIMPLE_EDGE), Reducer 33 (ONE_TO_ONE_EDGE) +Reducer 35 <- Reducer 26 (SIMPLE_EDGE), Union 36 (CONTAINS) +Reducer 37 <- Union 36 (SIMPLE_EDGE) +Reducer 38 <- Map 65 (SIMPLE_EDGE), Reducer 37 (ONE_TO_ONE_EDGE) +Reducer 4 <- Map 65 (SIMPLE_EDGE), Reducer 3 (ONE_TO_ONE_EDGE) +Reducer 40 <- Map 39 (CUSTOM_SIMPLE_EDGE) +Reducer 41 <- Map 39 (SIMPLE_EDGE), Map 63 (SIMPLE_EDGE) +Reducer 42 <- Map 65 (SIMPLE_EDGE), Reducer 41 (SIMPLE_EDGE) +Reducer 43 <- Reducer 42 (SIMPLE_EDGE), Union 28 (CONTAINS) +Reducer 44 <- Reducer 42 (SIMPLE_EDGE), Union 32 (CONTAINS) +Reducer 45 <- Reducer 42 (SIMPLE_EDGE), Union 36 (CONTAINS) +Reducer 46 <- Map 39 (CUSTOM_SIMPLE_EDGE) +Reducer 47 <- Map 39 (SIMPLE_EDGE), Map 64 (SIMPLE_EDGE) +Reducer 48 <- Map 65 (SIMPLE_EDGE), Reducer 47 (SIMPLE_EDGE) +Reducer 49 <- Reducer 48 (SIMPLE_EDGE), Union 28 (CONTAINS) +Reducer 5 <- Reducer 4 (SIMPLE_EDGE) +Reducer 50 <- Reducer 48 (SIMPLE_EDGE), Union 32 (CONTAINS) +Reducer 51 <- Reducer 48 (SIMPLE_EDGE), Union 36 (CONTAINS) +Reducer 52 <- Map 39 (CUSTOM_SIMPLE_EDGE) +Reducer 53 <- Map 39 (SIMPLE_EDGE), Map 66 (SIMPLE_EDGE), Union 54 (CONTAINS) +Reducer 55 <- Union 54 (CUSTOM_SIMPLE_EDGE) +Reducer 56 <- Map 39 (CUSTOM_SIMPLE_EDGE) +Reducer 57 <- Map 39 (SIMPLE_EDGE), Map 66 (SIMPLE_EDGE), Union 58 (CONTAINS) +Reducer 59 <- Union 58 (CUSTOM_SIMPLE_EDGE) +Reducer 6 <- Reducer 5 (CUSTOM_SIMPLE_EDGE), Reducer 55 (CUSTOM_SIMPLE_EDGE), Union 7 (CONTAINS) +Reducer 60 <- Map 39 (SIMPLE_EDGE), Map 66 (SIMPLE_EDGE), Union 61 (CONTAINS) +Reducer 62 <- Union 61 (CUSTOM_SIMPLE_EDGE) +Reducer 68 <- Map 67 (SIMPLE_EDGE), Map 71 (SIMPLE_EDGE), Union 54 (CONTAINS) +Reducer 69 <- Map 67 (SIMPLE_EDGE), Map 71 (SIMPLE_EDGE), Union 58 (CONTAINS) +Reducer 70 <- Map 67 (SIMPLE_EDGE), Map 71 (SIMPLE_EDGE), Union 61 (CONTAINS) +Reducer 72 <- Map 71 (CUSTOM_SIMPLE_EDGE) +Reducer 74 <- Map 73 (SIMPLE_EDGE), Map 77 (SIMPLE_EDGE), Union 54 (CONTAINS) +Reducer 75 <- Map 73 (SIMPLE_EDGE), Map 77 (SIMPLE_EDGE), Union 58 (CONTAINS) +Reducer 76 <- Map 73 (SIMPLE_EDGE), Map 77 (SIMPLE_EDGE), Union 61 (CONTAINS) +Reducer 78 <- Map 77 (CUSTOM_SIMPLE_EDGE) Reducer 8 <- Union 7 (SIMPLE_EDGE) -Reducer 80 <- Reducer 71 (SIMPLE_EDGE), Union 81 (CONTAINS) -Reducer 82 <- Union 81 (SIMPLE_EDGE) -Reducer 83 <- Map 102 (SIMPLE_EDGE), Reducer 82 (ONE_TO_ONE_EDGE) -Reducer 85 <- Map 84 (CUSTOM_SIMPLE_EDGE) -Reducer 86 <- Map 100 (SIMPLE_EDGE), Map 84 (SIMPLE_EDGE) -Reducer 87 <- Map 102 (SIMPLE_EDGE), Reducer 86 (SIMPLE_EDGE) -Reducer 88 <- Reducer 87 (SIMPLE_EDGE), Union 73 (CONTAINS) -Reducer 89 <- Reducer 87 (SIMPLE_EDGE), Union 77 (CONTAINS) Reducer 9 <- Reducer 8 (SIMPLE_EDGE) -Reducer 90 <- Reducer 87 (SIMPLE_EDGE), Union 81 (CONTAINS) -Reducer 91 <- Map 84 (CUSTOM_SIMPLE_EDGE) -Reducer 92 <- Map 101 (SIMPLE_EDGE), Map 84 (SIMPLE_EDGE) -Reducer 93 <- Map 102 (SIMPLE_EDGE), Reducer 92 (SIMPLE_EDGE) -Reducer 94 <- Reducer 93 (SIMPLE_EDGE), Union 73 (CONTAINS) -Reducer 95 <- Reducer 93 (SIMPLE_EDGE), Union 77 (CONTAINS) -Reducer 96 <- Reducer 93 (SIMPLE_EDGE), Union 81 (CONTAINS) -Reducer 97 <- Map 84 (CUSTOM_SIMPLE_EDGE) -Reducer 98 <- Map 84 (CUSTOM_SIMPLE_EDGE) -Reducer 99 <- Map 84 (CUSTOM_SIMPLE_EDGE) Stage-0 Fetch Operator limit:100 Stage-1 Reducer 9 vectorized - File Output Operator [FS_1725] - Limit [LIM_1724] (rows=7 width=192) + File Output Operator [FS_1350] + Limit [LIM_1349] (rows=7 width=192) Number of rows:100 - Select Operator [SEL_1723] (rows=7 width=192) + Select Operator [SEL_1348] (rows=7 width=192) Output:["_col0","_col1","_col2","_col3","_col4","_col5"] <-Reducer 8 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1722] - Select Operator [SEL_1721] (rows=7 width=192) + SHUFFLE [RS_1347] + Select Operator [SEL_1346] (rows=7 width=192) Output:["_col0","_col1","_col2","_col3","_col4","_col5"] - Group By Operator [GBY_1720] (rows=7 width=200) + Group By Operator [GBY_1345] (rows=7 width=200) Output:["_col0","_col1","_col2","_col3","_col5","_col6"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)"],keys:KEY._col0, KEY._col1, KEY._col2, KEY._col3, KEY._col4 <-Union 7 [SIMPLE_EDGE] - <-Reducer 14 [CONTAINS] - Reduce Output Operator [RS_1489] + <-Reducer 16 [CONTAINS] + Reduce Output Operator [RS_1195] PartitionCols:_col0, _col1, _col2, _col3, _col4 - Group By Operator [GBY_1488] (rows=7 width=200) + Group By Operator [GBY_1194] (rows=7 width=200) Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"],aggregations:["sum(_col4)","sum(_col5)"],keys:_col0, _col1, _col2, _col3, 0L - Top N Key Operator [TNK_1487] (rows=3 width=221) + Top N Key Operator [TNK_1193] (rows=3 width=221) keys:_col0, _col1, _col2, _col3, 0L,sort order:+++++,top n:100 - Select Operator [SEL_1485] (rows=1 width=223) + Select Operator [SEL_1191] (rows=1 width=223) Output:["_col0","_col1","_col2","_col3","_col4","_col5"] - Filter Operator [FIL_1484] (rows=1 width=244) - predicate:(_col5 > _col1) - Merge Join Operator [MERGEJOIN_1483] (rows=1 width=244) - Conds:(Inner),Output:["_col1","_col2","_col3","_col4","_col5","_col6"] - <-Reducer 13 [CUSTOM_SIMPLE_EDGE] - PARTITION_ONLY_SHUFFLE [RS_371] - Merge Join Operator [MERGEJOIN_1460] (rows=1 width=112) - Conds:(Inner),Output:["_col1"] - <-Reducer 12 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1731] - Select Operator [SEL_1730] (rows=1 width=8) - Filter Operator [FIL_1729] (rows=1 width=8) - predicate:(sq_count_check(_col0) <= 1) - Group By Operator [GBY_1728] (rows=1 width=8) - Output:["_col0"],aggregations:["count()"] - Select Operator [SEL_1727] (rows=1 width=8) - Group By Operator [GBY_1726] (rows=1 width=8) - Output:["_col0"],aggregations:["count(VALUE._col0)"] - <-Union 11 [CUSTOM_SIMPLE_EDGE] - <-Reducer 10 [CONTAINS] - Reduce Output Operator [RS_1482] - Group By Operator [GBY_1481] (rows=1 width=8) - Output:["_col0"],aggregations:["count(_col0)"] - Select Operator [SEL_1480] (rows=26270325 width=1) - Output:["_col0"] - Select Operator [SEL_1478] (rows=14736682 width=0) - Output:["_col0"] - Merge Join Operator [MERGEJOIN_1477] (rows=14736682 width=0) - Conds:RS_1660._col0=RS_1641._col0(Inner),Output:["_col1"] - <-Map 84 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1641] - PartitionCols:_col0 - Select Operator [SEL_1630] (rows=1957 width=4) - Output:["_col0"] - Filter Operator [FIL_1629] (rows=1957 width=8) - predicate:d_year BETWEEN 1999 AND 2001 - TableScan [TS_94] (rows=73049 width=8) - default@date_dim,d1,Tbl:COMPLETE,Col:COMPLETE,Output:["d_date_sk","d_year"] - <-Map 1 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1660] - PartitionCols:_col0 - Select Operator [SEL_1658] (rows=550076554 width=7) - Output:["_col0","_col1"] - Filter Operator [FIL_1657] (rows=550076554 width=7) - predicate:((ss_sold_date_sk BETWEEN DynamicValue(RS_7_date_dim_d_date_sk_min) AND DynamicValue(RS_7_date_dim_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, DynamicValue(RS_7_date_dim_d_date_sk_bloom_filter))) and ss_sold_date_sk is not null) - TableScan [TS_0] (rows=575995635 width=7) - default@store_sales,store_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ss_sold_date_sk","ss_quantity"] - <-Reducer 98 [BROADCAST_EDGE] vectorized - BROADCAST [RS_1656] - Group By Operator [GBY_1655] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 84 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1653] - Group By Operator [GBY_1648] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_1638] (rows=1957 width=4) - Output:["_col0"] - Please refer to the previous Select Operator [SEL_1630] - <-Reducer 22 [CONTAINS] - Reduce Output Operator [RS_1514] - Group By Operator [GBY_1513] (rows=1 width=8) - Output:["_col0"],aggregations:["count(_col0)"] - Select Operator [SEL_1512] (rows=26270325 width=1) - Output:["_col0"] - Select Operator [SEL_1510] (rows=7676736 width=3) - Output:["_col0"] - Merge Join Operator [MERGEJOIN_1509] (rows=7676736 width=3) - Conds:RS_1785._col0=RS_1772._col0(Inner),Output:["_col1"] - <-Map 24 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1772] - PartitionCols:_col0 - Select Operator [SEL_1767] (rows=1957 width=4) - Output:["_col0"] - Filter Operator [FIL_1766] (rows=1957 width=8) - predicate:d_year BETWEEN 1998 AND 2000 - TableScan [TS_13] (rows=73049 width=8) - default@date_dim,date_dim,Tbl:COMPLETE,Col:COMPLETE,Output:["d_date_sk","d_year"] - <-Map 20 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1785] - PartitionCols:_col0 - Select Operator [SEL_1783] (rows=286549727 width=7) - Output:["_col0","_col1"] - Filter Operator [FIL_1782] (rows=286549727 width=7) - predicate:((cs_sold_date_sk BETWEEN DynamicValue(RS_17_date_dim_d_date_sk_min) AND DynamicValue(RS_17_date_dim_d_date_sk_max) and in_bloom_filter(cs_sold_date_sk, DynamicValue(RS_17_date_dim_d_date_sk_bloom_filter))) and cs_sold_date_sk is not null) - TableScan [TS_10] (rows=287989836 width=7) - default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["cs_sold_date_sk","cs_quantity"] - <-Reducer 25 [BROADCAST_EDGE] vectorized - BROADCAST [RS_1781] - Group By Operator [GBY_1780] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 24 [CUSTOM_SIMPLE_EDGE] vectorized - SHUFFLE [RS_1778] - Group By Operator [GBY_1776] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_1769] (rows=1957 width=4) - Output:["_col0"] - Please refer to the previous Select Operator [SEL_1767] - <-Reducer 38 [CONTAINS] - Reduce Output Operator [RS_1550] - Group By Operator [GBY_1549] (rows=1 width=8) - Output:["_col0"],aggregations:["count(_col0)"] - Select Operator [SEL_1548] (rows=26270325 width=1) - Output:["_col0"] - Select Operator [SEL_1546] (rows=3856907 width=3) - Output:["_col0"] - Merge Join Operator [MERGEJOIN_1545] (rows=3856907 width=3) - Conds:RS_1813._col0=RS_1800._col0(Inner),Output:["_col1"] - <-Map 40 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1800] - PartitionCols:_col0 - Select Operator [SEL_1795] (rows=1957 width=4) - Output:["_col0"] - Filter Operator [FIL_1794] (rows=1957 width=8) - predicate:d_year BETWEEN 1998 AND 2000 - TableScan [TS_24] (rows=73049 width=8) - default@date_dim,date_dim,Tbl:COMPLETE,Col:COMPLETE,Output:["d_date_sk","d_year"] - <-Map 36 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1813] - PartitionCols:_col0 - Select Operator [SEL_1811] (rows=143966864 width=7) - Output:["_col0","_col1"] - Filter Operator [FIL_1810] (rows=143966864 width=7) - predicate:((ws_sold_date_sk BETWEEN DynamicValue(RS_28_date_dim_d_date_sk_min) AND DynamicValue(RS_28_date_dim_d_date_sk_max) and in_bloom_filter(ws_sold_date_sk, DynamicValue(RS_28_date_dim_d_date_sk_bloom_filter))) and ws_sold_date_sk is not null) - TableScan [TS_21] (rows=144002668 width=7) - default@web_sales,web_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ws_sold_date_sk","ws_quantity"] - <-Reducer 41 [BROADCAST_EDGE] vectorized - BROADCAST [RS_1809] - Group By Operator [GBY_1808] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 40 [CUSTOM_SIMPLE_EDGE] vectorized - SHUFFLE [RS_1806] - Group By Operator [GBY_1804] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_1797] (rows=1957 width=4) - Output:["_col0"] - Please refer to the previous Select Operator [SEL_1795] - <-Reducer 32 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1734] - Select Operator [SEL_1733] (rows=1 width=112) - Output:["_col0"] - Group By Operator [GBY_1732] (rows=1 width=120) - Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)","count(VALUE._col1)"] - <-Union 31 [CUSTOM_SIMPLE_EDGE] - <-Reducer 30 [CONTAINS] - Reduce Output Operator [RS_1532] - Group By Operator [GBY_1531] (rows=1 width=120) - Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] - Select Operator [SEL_1530] (rows=26270325 width=44) - Output:["_col0"] - Select Operator [SEL_1528] (rows=7676736 width=94) - Output:["_col0","_col1"] - Merge Join Operator [MERGEJOIN_1527] (rows=7676736 width=94) - Conds:RS_1792._col0=RS_1773._col0(Inner),Output:["_col1","_col2"] - <-Map 24 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1773] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1767] - <-Map 50 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1792] - PartitionCols:_col0 - Select Operator [SEL_1790] (rows=286549727 width=119) - Output:["_col0","_col1","_col2"] - Filter Operator [FIL_1789] (rows=286549727 width=119) - predicate:((cs_sold_date_sk BETWEEN DynamicValue(RS_62_date_dim_d_date_sk_min) AND DynamicValue(RS_62_date_dim_d_date_sk_max) and in_bloom_filter(cs_sold_date_sk, DynamicValue(RS_62_date_dim_d_date_sk_bloom_filter))) and cs_sold_date_sk is not null) - TableScan [TS_55] (rows=287989836 width=119) - default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["cs_sold_date_sk","cs_quantity","cs_list_price"] - <-Reducer 29 [BROADCAST_EDGE] vectorized - BROADCAST [RS_1788] - Group By Operator [GBY_1787] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 24 [CUSTOM_SIMPLE_EDGE] vectorized - SHUFFLE [RS_1779] - Group By Operator [GBY_1777] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_1771] (rows=1957 width=4) - Output:["_col0"] - Please refer to the previous Select Operator [SEL_1767] - <-Reducer 44 [CONTAINS] - Reduce Output Operator [RS_1568] - Group By Operator [GBY_1567] (rows=1 width=120) - Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] - Select Operator [SEL_1566] (rows=26270325 width=44) - Output:["_col0"] - Select Operator [SEL_1564] (rows=3856907 width=114) - Output:["_col0","_col1"] - Merge Join Operator [MERGEJOIN_1563] (rows=3856907 width=114) - Conds:RS_1820._col0=RS_1801._col0(Inner),Output:["_col1","_col2"] - <-Map 40 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1801] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1795] - <-Map 51 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1820] - PartitionCols:_col0 - Select Operator [SEL_1818] (rows=143966864 width=119) - Output:["_col0","_col1","_col2"] - Filter Operator [FIL_1817] (rows=143966864 width=119) - predicate:((ws_sold_date_sk BETWEEN DynamicValue(RS_73_date_dim_d_date_sk_min) AND DynamicValue(RS_73_date_dim_d_date_sk_max) and in_bloom_filter(ws_sold_date_sk, DynamicValue(RS_73_date_dim_d_date_sk_bloom_filter))) and ws_sold_date_sk is not null) - TableScan [TS_66] (rows=144002668 width=119) - default@web_sales,web_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ws_sold_date_sk","ws_quantity","ws_list_price"] - <-Reducer 43 [BROADCAST_EDGE] vectorized - BROADCAST [RS_1816] - Group By Operator [GBY_1815] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 40 [CUSTOM_SIMPLE_EDGE] vectorized - SHUFFLE [RS_1807] - Group By Operator [GBY_1805] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_1799] (rows=1957 width=4) - Output:["_col0"] - Please refer to the previous Select Operator [SEL_1795] - <-Reducer 48 [CONTAINS] - Reduce Output Operator [RS_1586] - Group By Operator [GBY_1585] (rows=1 width=120) - Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] - Select Operator [SEL_1584] (rows=26270325 width=44) - Output:["_col0"] - Select Operator [SEL_1582] (rows=14736682 width=0) - Output:["_col0","_col1"] - Merge Join Operator [MERGEJOIN_1581] (rows=14736682 width=0) - Conds:RS_1827._col0=RS_1642._col0(Inner),Output:["_col1","_col2"] - <-Map 84 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1642] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1630] - <-Map 46 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1827] - PartitionCols:_col0 - Select Operator [SEL_1825] (rows=550076554 width=114) - Output:["_col0","_col1","_col2"] - Filter Operator [FIL_1824] (rows=550076554 width=114) - predicate:((ss_sold_date_sk BETWEEN DynamicValue(RS_52_date_dim_d_date_sk_min) AND DynamicValue(RS_52_date_dim_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, DynamicValue(RS_52_date_dim_d_date_sk_bloom_filter))) and ss_sold_date_sk is not null) - TableScan [TS_45] (rows=575995635 width=114) - default@store_sales,store_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ss_sold_date_sk","ss_quantity","ss_list_price"] - <-Reducer 99 [BROADCAST_EDGE] vectorized - BROADCAST [RS_1823] - Group By Operator [GBY_1822] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 84 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1654] - Group By Operator [GBY_1649] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_1640] (rows=1957 width=4) - Output:["_col0"] - Please refer to the previous Select Operator [SEL_1630] - <-Reducer 62 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1745] - Group By Operator [GBY_1744] (rows=1 width=132) + Filter Operator [FIL_1190] (rows=1 width=244) + predicate:(_col3 > _col5) + Merge Join Operator [MERGEJOIN_1189] (rows=1 width=244) + Conds:(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5"] + <-Reducer 15 [CUSTOM_SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1361] + Group By Operator [GBY_1360] (rows=1 width=132) Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(VALUE._col0)","count(VALUE._col1)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Reducer 61 [SIMPLE_EDGE] - SHUFFLE [RS_365] + <-Reducer 14 [SIMPLE_EDGE] + SHUFFLE [RS_235] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_364] (rows=1 width=132) + Group By Operator [GBY_234] (rows=1 width=132) Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(_col3)","count()"],keys:_col0, _col1, _col2 - Select Operator [SEL_362] (rows=1 width=128) + Select Operator [SEL_232] (rows=1 width=128) Output:["_col0","_col1","_col2","_col3"] - Merge Join Operator [MERGEJOIN_1441] (rows=1 width=128) - Conds:RS_359._col1=RS_1708._col0(Inner),Output:["_col2","_col3","_col7","_col8","_col9"] - <-Map 102 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1708] + Merge Join Operator [MERGEJOIN_1162] (rows=1 width=128) + Conds:RS_229._col1=RS_1330._col0(Inner),Output:["_col2","_col3","_col7","_col8","_col9"] + <-Map 65 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1330] PartitionCols:_col0 - Select Operator [SEL_1699] (rows=462000 width=15) + Select Operator [SEL_1321] (rows=462000 width=15) Output:["_col0","_col1","_col2","_col3"] - TableScan [TS_163] (rows=462000 width=15) + TableScan [TS_81] (rows=462000 width=15) default@item,item,Tbl:COMPLETE,Col:COMPLETE,Output:["i_item_sk","i_brand_id","i_class_id","i_category_id"] - <-Reducer 60 [ONE_TO_ONE_EDGE] - FORWARD [RS_359] + <-Reducer 13 [ONE_TO_ONE_EDGE] + FORWARD [RS_229] PartitionCols:_col1 - Merge Join Operator [MERGEJOIN_1440] (rows=1 width=120) - Conds:RS_356._col1=RS_357._col0(Inner),Output:["_col1","_col2","_col3"] - <-Reducer 59 [SIMPLE_EDGE] - SHUFFLE [RS_356] + Merge Join Operator [MERGEJOIN_1161] (rows=1 width=120) + Conds:RS_226._col1=RS_227._col0(Inner),Output:["_col1","_col2","_col3"] + <-Reducer 12 [SIMPLE_EDGE] + SHUFFLE [RS_226] PartitionCols:_col1 - Merge Join Operator [MERGEJOIN_1432] (rows=7790806 width=98) - Conds:RS_1739._col0=RS_1675._col0(Inner),Output:["_col1","_col2","_col3"] - <-Map 57 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1675] + Merge Join Operator [MERGEJOIN_1153] (rows=7790806 width=98) + Conds:RS_1355._col0=RS_1297._col0(Inner),Output:["_col1","_col2","_col3"] + <-Map 10 [SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1297] PartitionCols:_col0 - Select Operator [SEL_1672] (rows=50 width=4) + Select Operator [SEL_1294] (rows=50 width=4) Output:["_col0"] - Filter Operator [FIL_1671] (rows=50 width=12) + Filter Operator [FIL_1293] (rows=50 width=12) predicate:((d_moy = 11) and (d_year = 2000)) - TableScan [TS_85] (rows=73049 width=12) + TableScan [TS_3] (rows=73049 width=12) default@date_dim,date_dim,Tbl:COMPLETE,Col:COMPLETE,Output:["d_date_sk","d_year","d_moy"] - <-Map 103 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1739] + <-Map 79 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1355] PartitionCols:_col0 - Select Operator [SEL_1738] (rows=286549727 width=123) + Select Operator [SEL_1354] (rows=286549727 width=123) Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_1737] (rows=286549727 width=123) - predicate:((cs_sold_date_sk BETWEEN DynamicValue(RS_354_date_dim_d_date_sk_min) AND DynamicValue(RS_354_date_dim_d_date_sk_max) and in_bloom_filter(cs_sold_date_sk, DynamicValue(RS_354_date_dim_d_date_sk_bloom_filter))) and cs_sold_date_sk is not null) - TableScan [TS_270] (rows=287989836 width=123) + Filter Operator [FIL_1353] (rows=286549727 width=123) + predicate:((cs_sold_date_sk BETWEEN DynamicValue(RS_224_date_dim_d_date_sk_min) AND DynamicValue(RS_224_date_dim_d_date_sk_max) and in_bloom_filter(cs_sold_date_sk, DynamicValue(RS_224_date_dim_d_date_sk_bloom_filter))) and cs_sold_date_sk is not null) + TableScan [TS_140] (rows=287989836 width=123) default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["cs_sold_date_sk","cs_item_sk","cs_quantity","cs_list_price"] - <-Reducer 63 [BROADCAST_EDGE] vectorized - BROADCAST [RS_1736] - Group By Operator [GBY_1735] (rows=1 width=12) + <-Reducer 17 [BROADCAST_EDGE] vectorized + BROADCAST [RS_1352] + Group By Operator [GBY_1351] (rows=1 width=12) Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 57 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1683] - Group By Operator [GBY_1680] (rows=1 width=12) + <-Map 10 [CUSTOM_SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1305] + Group By Operator [GBY_1302] (rows=1 width=12) Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_1676] (rows=50 width=4) + Select Operator [SEL_1298] (rows=50 width=4) Output:["_col0"] - Please refer to the previous Select Operator [SEL_1672] - <-Reducer 79 [SIMPLE_EDGE] - SHUFFLE [RS_357] + Please refer to the previous Select Operator [SEL_1294] + <-Reducer 34 [SIMPLE_EDGE] + SHUFFLE [RS_227] PartitionCols:_col0 - Merge Join Operator [MERGEJOIN_1439] (rows=724 width=4) - Conds:RS_1716._col1, _col2, _col3=RS_1743._col0, _col1, _col2(Inner),Output:["_col0"] - <-Map 102 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1716] + Merge Join Operator [MERGEJOIN_1160] (rows=724 width=4) + Conds:RS_1338._col1, _col2, _col3=RS_1359._col0, _col1, _col2(Inner),Output:["_col0"] + <-Map 65 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1338] PartitionCols:_col1, _col2, _col3 - Select Operator [SEL_1709] (rows=458612 width=15) + Select Operator [SEL_1331] (rows=458612 width=15) Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_1700] (rows=458612 width=15) + Filter Operator [FIL_1322] (rows=458612 width=15) predicate:(i_brand_id is not null and i_category_id is not null and i_class_id is not null) - Please refer to the previous TableScan [TS_163] - <-Reducer 78 [ONE_TO_ONE_EDGE] vectorized - FORWARD [RS_1743] + Please refer to the previous TableScan [TS_81] + <-Reducer 33 [ONE_TO_ONE_EDGE] vectorized + FORWARD [RS_1359] PartitionCols:_col0, _col1, _col2 - Select Operator [SEL_1742] (rows=1 width=12) + Select Operator [SEL_1358] (rows=1 width=12) Output:["_col0","_col1","_col2"] - Filter Operator [FIL_1741] (rows=1 width=20) + Filter Operator [FIL_1357] (rows=1 width=20) predicate:(_col3 = 3L) - Group By Operator [GBY_1740] (rows=121728 width=19) + Group By Operator [GBY_1356] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Union 77 [SIMPLE_EDGE] - <-Reducer 76 [CONTAINS] vectorized - Reduce Output Operator [RS_1839] + <-Union 32 [SIMPLE_EDGE] + <-Reducer 31 [CONTAINS] vectorized + Reduce Output Operator [RS_1409] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_1838] (rows=121728 width=19) + Group By Operator [GBY_1408] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(_col3)"],keys:_col0, _col1, _col2 - Group By Operator [GBY_1837] (rows=121728 width=19) + Group By Operator [GBY_1407] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Reducer 71 [SIMPLE_EDGE] - SHUFFLE [RS_296] + <-Reducer 26 [SIMPLE_EDGE] + SHUFFLE [RS_166] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_107] (rows=121728 width=19) + Group By Operator [GBY_25] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count()"],keys:_col4, _col5, _col6 - Merge Join Operator [MERGEJOIN_1418] (rows=14628613 width=11) - Conds:RS_103._col1=RS_1713._col0(Inner),Output:["_col4","_col5","_col6"] - <-Map 102 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1713] + Merge Join Operator [MERGEJOIN_1142] (rows=14628613 width=11) + Conds:RS_21._col1=RS_1335._col0(Inner),Output:["_col4","_col5","_col6"] + <-Map 65 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1335] PartitionCols:_col0 - Select Operator [SEL_1705] (rows=458612 width=15) + Select Operator [SEL_1327] (rows=458612 width=15) Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_1696] (rows=458612 width=15) + Filter Operator [FIL_1318] (rows=458612 width=15) predicate:(i_brand_id is not null and i_category_id is not null and i_class_id is not null) - Please refer to the previous TableScan [TS_163] - <-Reducer 70 [SIMPLE_EDGE] - SHUFFLE [RS_103] + Please refer to the previous TableScan [TS_81] + <-Reducer 25 [SIMPLE_EDGE] + SHUFFLE [RS_21] PartitionCols:_col1 - Merge Join Operator [MERGEJOIN_1417] (rows=14736682 width=4) - Conds:RS_1833._col0=RS_1631._col0(Inner),Output:["_col1"] - <-Map 84 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1631] + Merge Join Operator [MERGEJOIN_1141] (rows=14736682 width=4) + Conds:RS_1403._col0=RS_1381._col0(Inner),Output:["_col1"] + <-Map 39 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1381] PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1630] - <-Map 69 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1833] + Select Operator [SEL_1380] (rows=1957 width=4) + Output:["_col0"] + Filter Operator [FIL_1379] (rows=1957 width=8) + predicate:d_year BETWEEN 1999 AND 2001 + TableScan [TS_12] (rows=73049 width=8) + default@date_dim,d1,Tbl:COMPLETE,Col:COMPLETE,Output:["d_date_sk","d_year"] + <-Map 24 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1403] PartitionCols:_col0 - Select Operator [SEL_1832] (rows=550076554 width=7) + Select Operator [SEL_1402] (rows=550076554 width=7) Output:["_col0","_col1"] - Filter Operator [FIL_1831] (rows=550076554 width=7) - predicate:((ss_sold_date_sk BETWEEN DynamicValue(RS_101_d1_d_date_sk_min) AND DynamicValue(RS_101_d1_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, DynamicValue(RS_101_d1_d_date_sk_bloom_filter))) and ss_sold_date_sk is not null) - TableScan [TS_91] (rows=575995635 width=7) + Filter Operator [FIL_1401] (rows=550076554 width=7) + predicate:((ss_sold_date_sk BETWEEN DynamicValue(RS_19_d1_d_date_sk_min) AND DynamicValue(RS_19_d1_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, DynamicValue(RS_19_d1_d_date_sk_bloom_filter))) and ss_sold_date_sk is not null) + TableScan [TS_9] (rows=575995635 width=7) default@store_sales,store_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ss_sold_date_sk","ss_item_sk"] - <-Reducer 85 [BROADCAST_EDGE] vectorized - BROADCAST [RS_1830] - Group By Operator [GBY_1829] (rows=1 width=12) + <-Reducer 40 [BROADCAST_EDGE] vectorized + BROADCAST [RS_1400] + Group By Operator [GBY_1399] (rows=1 width=12) Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 84 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1650] - Group By Operator [GBY_1645] (rows=1 width=12) + <-Map 39 [CUSTOM_SIMPLE_EDGE] vectorized + SHUFFLE [RS_1395] + Group By Operator [GBY_1391] (rows=1 width=12) Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_1632] (rows=1957 width=4) + Select Operator [SEL_1382] (rows=1957 width=4) Output:["_col0"] - Please refer to the previous Select Operator [SEL_1630] - <-Reducer 89 [CONTAINS] vectorized - Reduce Output Operator [RS_1853] + Please refer to the previous Select Operator [SEL_1380] + <-Reducer 44 [CONTAINS] vectorized + Reduce Output Operator [RS_1423] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_1852] (rows=121728 width=19) + Group By Operator [GBY_1422] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(_col3)"],keys:_col0, _col1, _col2 - Group By Operator [GBY_1851] (rows=121728 width=19) + Group By Operator [GBY_1421] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Reducer 87 [SIMPLE_EDGE] - SHUFFLE [RS_316] + <-Reducer 42 [SIMPLE_EDGE] + SHUFFLE [RS_186] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_127] (rows=121728 width=19) + Group By Operator [GBY_45] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count()"],keys:_col4, _col5, _col6 - Merge Join Operator [MERGEJOIN_1420] (rows=7620440 width=11) - Conds:RS_123._col1=RS_1714._col0(Inner),Output:["_col4","_col5","_col6"] - <-Map 102 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1714] + Merge Join Operator [MERGEJOIN_1144] (rows=7620440 width=11) + Conds:RS_41._col1=RS_1336._col0(Inner),Output:["_col4","_col5","_col6"] + <-Map 65 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1336] PartitionCols:_col0 - Select Operator [SEL_1706] (rows=458612 width=15) + Select Operator [SEL_1328] (rows=458612 width=15) Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_1697] (rows=458612 width=15) + Filter Operator [FIL_1319] (rows=458612 width=15) predicate:(i_brand_id is not null and i_category_id is not null and i_class_id is not null) - Please refer to the previous TableScan [TS_163] - <-Reducer 86 [SIMPLE_EDGE] - SHUFFLE [RS_123] + Please refer to the previous TableScan [TS_81] + <-Reducer 41 [SIMPLE_EDGE] + SHUFFLE [RS_41] PartitionCols:_col1 - Merge Join Operator [MERGEJOIN_1419] (rows=7676736 width=4) - Conds:RS_1847._col0=RS_1633._col0(Inner),Output:["_col1"] - <-Map 84 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1633] + Merge Join Operator [MERGEJOIN_1143] (rows=7676736 width=4) + Conds:RS_1417._col0=RS_1383._col0(Inner),Output:["_col1"] + <-Map 39 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1383] PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1630] - <-Map 100 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1847] + Please refer to the previous Select Operator [SEL_1380] + <-Map 63 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1417] PartitionCols:_col0 - Select Operator [SEL_1846] (rows=286549727 width=7) + Select Operator [SEL_1416] (rows=286549727 width=7) Output:["_col0","_col1"] - Filter Operator [FIL_1845] (rows=286549727 width=7) - predicate:((cs_sold_date_sk BETWEEN DynamicValue(RS_121_d2_d_date_sk_min) AND DynamicValue(RS_121_d2_d_date_sk_max) and in_bloom_filter(cs_sold_date_sk, DynamicValue(RS_121_d2_d_date_sk_bloom_filter))) and cs_sold_date_sk is not null) - TableScan [TS_111] (rows=287989836 width=7) + Filter Operator [FIL_1415] (rows=286549727 width=7) + predicate:((cs_sold_date_sk BETWEEN DynamicValue(RS_39_d2_d_date_sk_min) AND DynamicValue(RS_39_d2_d_date_sk_max) and in_bloom_filter(cs_sold_date_sk, DynamicValue(RS_39_d2_d_date_sk_bloom_filter))) and cs_sold_date_sk is not null) + TableScan [TS_29] (rows=287989836 width=7) default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["cs_sold_date_sk","cs_item_sk"] - <-Reducer 91 [BROADCAST_EDGE] vectorized - BROADCAST [RS_1844] - Group By Operator [GBY_1843] (rows=1 width=12) + <-Reducer 46 [BROADCAST_EDGE] vectorized + BROADCAST [RS_1414] + Group By Operator [GBY_1413] (rows=1 width=12) Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 84 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1651] - Group By Operator [GBY_1646] (rows=1 width=12) + <-Map 39 [CUSTOM_SIMPLE_EDGE] vectorized + SHUFFLE [RS_1396] + Group By Operator [GBY_1392] (rows=1 width=12) Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_1634] (rows=1957 width=4) + Select Operator [SEL_1384] (rows=1957 width=4) Output:["_col0"] - Please refer to the previous Select Operator [SEL_1630] - <-Reducer 95 [CONTAINS] vectorized - Reduce Output Operator [RS_1867] + Please refer to the previous Select Operator [SEL_1380] + <-Reducer 50 [CONTAINS] vectorized + Reduce Output Operator [RS_1437] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_1866] (rows=121728 width=19) + Group By Operator [GBY_1436] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(_col3)"],keys:_col0, _col1, _col2 - Group By Operator [GBY_1865] (rows=121728 width=19) + Group By Operator [GBY_1435] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Reducer 93 [SIMPLE_EDGE] - SHUFFLE [RS_337] + <-Reducer 48 [SIMPLE_EDGE] + SHUFFLE [RS_207] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_148] (rows=121728 width=19) + Group By Operator [GBY_66] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count()"],keys:_col4, _col5, _col6 - Merge Join Operator [MERGEJOIN_1422] (rows=3828623 width=11) - Conds:RS_144._col1=RS_1715._col0(Inner),Output:["_col4","_col5","_col6"] - <-Map 102 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1715] + Merge Join Operator [MERGEJOIN_1146] (rows=3828623 width=11) + Conds:RS_62._col1=RS_1337._col0(Inner),Output:["_col4","_col5","_col6"] + <-Map 65 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1337] PartitionCols:_col0 - Select Operator [SEL_1707] (rows=458612 width=15) + Select Operator [SEL_1329] (rows=458612 width=15) Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_1698] (rows=458612 width=15) + Filter Operator [FIL_1320] (rows=458612 width=15) predicate:(i_brand_id is not null and i_category_id is not null and i_class_id is not null) - Please refer to the previous TableScan [TS_163] - <-Reducer 92 [SIMPLE_EDGE] - SHUFFLE [RS_144] + Please refer to the previous TableScan [TS_81] + <-Reducer 47 [SIMPLE_EDGE] + SHUFFLE [RS_62] PartitionCols:_col1 - Merge Join Operator [MERGEJOIN_1421] (rows=3856907 width=4) - Conds:RS_1861._col0=RS_1635._col0(Inner),Output:["_col1"] - <-Map 84 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1635] + Merge Join Operator [MERGEJOIN_1145] (rows=3856907 width=4) + Conds:RS_1431._col0=RS_1385._col0(Inner),Output:["_col1"] + <-Map 39 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1385] PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1630] - <-Map 101 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1861] + Please refer to the previous Select Operator [SEL_1380] + <-Map 64 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1431] PartitionCols:_col0 - Select Operator [SEL_1860] (rows=143966864 width=7) + Select Operator [SEL_1430] (rows=143966864 width=7) Output:["_col0","_col1"] - Filter Operator [FIL_1859] (rows=143966864 width=7) - predicate:((ws_sold_date_sk BETWEEN DynamicValue(RS_142_d3_d_date_sk_min) AND DynamicValue(RS_142_d3_d_date_sk_max) and in_bloom_filter(ws_sold_date_sk, DynamicValue(RS_142_d3_d_date_sk_bloom_filter))) and ws_sold_date_sk is not null) - TableScan [TS_132] (rows=144002668 width=7) + Filter Operator [FIL_1429] (rows=143966864 width=7) + predicate:((ws_sold_date_sk BETWEEN DynamicValue(RS_60_d3_d_date_sk_min) AND DynamicValue(RS_60_d3_d_date_sk_max) and in_bloom_filter(ws_sold_date_sk, DynamicValue(RS_60_d3_d_date_sk_bloom_filter))) and ws_sold_date_sk is not null) + TableScan [TS_50] (rows=144002668 width=7) default@web_sales,web_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ws_sold_date_sk","ws_item_sk"] - <-Reducer 97 [BROADCAST_EDGE] vectorized - BROADCAST [RS_1858] - Group By Operator [GBY_1857] (rows=1 width=12) + <-Reducer 52 [BROADCAST_EDGE] vectorized + BROADCAST [RS_1428] + Group By Operator [GBY_1427] (rows=1 width=12) Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 84 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1652] - Group By Operator [GBY_1647] (rows=1 width=12) + <-Map 39 [CUSTOM_SIMPLE_EDGE] vectorized + SHUFFLE [RS_1397] + Group By Operator [GBY_1393] (rows=1 width=12) Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_1636] (rows=1957 width=4) + Select Operator [SEL_1386] (rows=1957 width=4) Output:["_col0"] - Please refer to the previous Select Operator [SEL_1630] - <-Reducer 19 [CONTAINS] - Reduce Output Operator [RS_1502] + Please refer to the previous Select Operator [SEL_1380] + <-Reducer 59 [CUSTOM_SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1364] + Select Operator [SEL_1363] (rows=1 width=112) + Output:["_col0"] + Group By Operator [GBY_1362] (rows=1 width=120) + Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)","count(VALUE._col1)"] + <-Union 58 [CUSTOM_SIMPLE_EDGE] + <-Reducer 57 [CONTAINS] + Reduce Output Operator [RS_1250] + Group By Operator [GBY_1249] (rows=1 width=120) + Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] + Select Operator [SEL_1248] (rows=26270325 width=44) + Output:["_col0"] + Select Operator [SEL_1246] (rows=14736682 width=0) + Output:["_col0","_col1"] + Merge Join Operator [MERGEJOIN_1245] (rows=14736682 width=0) + Conds:RS_1446._col0=RS_1389._col0(Inner),Output:["_col1","_col2"] + <-Map 39 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1389] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1380] + <-Map 66 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1446] + PartitionCols:_col0 + Select Operator [SEL_1444] (rows=550076554 width=114) + Output:["_col0","_col1","_col2"] + Filter Operator [FIL_1443] (rows=550076554 width=114) + predicate:((ss_sold_date_sk BETWEEN DynamicValue(RS_105_date_dim_d_date_sk_min) AND DynamicValue(RS_105_date_dim_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, DynamicValue(RS_105_date_dim_d_date_sk_bloom_filter))) and ss_sold_date_sk is not null) + TableScan [TS_98] (rows=575995635 width=114) + default@store_sales,store_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ss_sold_date_sk","ss_quantity","ss_list_price"] + <-Reducer 56 [BROADCAST_EDGE] vectorized + BROADCAST [RS_1442] + Group By Operator [GBY_1441] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] + <-Map 39 [CUSTOM_SIMPLE_EDGE] vectorized + SHUFFLE [RS_1398] + Group By Operator [GBY_1394] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] + Select Operator [SEL_1388] (rows=1957 width=4) + Output:["_col0"] + Please refer to the previous Select Operator [SEL_1380] + <-Reducer 69 [CONTAINS] + Reduce Output Operator [RS_1268] + Group By Operator [GBY_1267] (rows=1 width=120) + Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] + Select Operator [SEL_1266] (rows=26270325 width=44) + Output:["_col0"] + Select Operator [SEL_1264] (rows=7676736 width=94) + Output:["_col0","_col1"] + Merge Join Operator [MERGEJOIN_1263] (rows=7676736 width=94) + Conds:RS_1461._col0=RS_1452._col0(Inner),Output:["_col1","_col2"] + <-Map 71 [SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1452] + PartitionCols:_col0 + Select Operator [SEL_1449] (rows=1957 width=4) + Output:["_col0"] + Filter Operator [FIL_1448] (rows=1957 width=8) + predicate:d_year BETWEEN 1998 AND 2000 + TableScan [TS_111] (rows=73049 width=8) + default@date_dim,date_dim,Tbl:COMPLETE,Col:COMPLETE,Output:["d_date_sk","d_year"] + <-Map 67 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1461] + PartitionCols:_col0 + Select Operator [SEL_1459] (rows=286549727 width=119) + Output:["_col0","_col1","_col2"] + Filter Operator [FIL_1458] (rows=286549727 width=119) + predicate:((cs_sold_date_sk BETWEEN DynamicValue(RS_115_date_dim_d_date_sk_min) AND DynamicValue(RS_115_date_dim_d_date_sk_max) and in_bloom_filter(cs_sold_date_sk, DynamicValue(RS_115_date_dim_d_date_sk_bloom_filter))) and cs_sold_date_sk is not null) + TableScan [TS_108] (rows=287989836 width=119) + default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["cs_sold_date_sk","cs_quantity","cs_list_price"] + <-Reducer 72 [BROADCAST_EDGE] vectorized + BROADCAST [RS_1457] + Group By Operator [GBY_1456] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] + <-Map 71 [CUSTOM_SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1455] + Group By Operator [GBY_1454] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] + Select Operator [SEL_1451] (rows=1957 width=4) + Output:["_col0"] + Please refer to the previous Select Operator [SEL_1449] + <-Reducer 75 [CONTAINS] + Reduce Output Operator [RS_1286] + Group By Operator [GBY_1285] (rows=1 width=120) + Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] + Select Operator [SEL_1284] (rows=26270325 width=44) + Output:["_col0"] + Select Operator [SEL_1282] (rows=3856907 width=114) + Output:["_col0","_col1"] + Merge Join Operator [MERGEJOIN_1281] (rows=3856907 width=114) + Conds:RS_1476._col0=RS_1467._col0(Inner),Output:["_col1","_col2"] + <-Map 77 [SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1467] + PartitionCols:_col0 + Select Operator [SEL_1464] (rows=1957 width=4) + Output:["_col0"] + Filter Operator [FIL_1463] (rows=1957 width=8) + predicate:d_year BETWEEN 1998 AND 2000 + TableScan [TS_122] (rows=73049 width=8) + default@date_dim,date_dim,Tbl:COMPLETE,Col:COMPLETE,Output:["d_date_sk","d_year"] + <-Map 73 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1476] + PartitionCols:_col0 + Select Operator [SEL_1474] (rows=143966864 width=119) + Output:["_col0","_col1","_col2"] + Filter Operator [FIL_1473] (rows=143966864 width=119) + predicate:((ws_sold_date_sk BETWEEN DynamicValue(RS_126_date_dim_d_date_sk_min) AND DynamicValue(RS_126_date_dim_d_date_sk_max) and in_bloom_filter(ws_sold_date_sk, DynamicValue(RS_126_date_dim_d_date_sk_bloom_filter))) and ws_sold_date_sk is not null) + TableScan [TS_119] (rows=144002668 width=119) + default@web_sales,web_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ws_sold_date_sk","ws_quantity","ws_list_price"] + <-Reducer 78 [BROADCAST_EDGE] vectorized + BROADCAST [RS_1472] + Group By Operator [GBY_1471] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] + <-Map 77 [CUSTOM_SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1470] + Group By Operator [GBY_1469] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] + Select Operator [SEL_1466] (rows=1957 width=4) + Output:["_col0"] + Please refer to the previous Select Operator [SEL_1464] + <-Reducer 22 [CONTAINS] + Reduce Output Operator [RS_1202] PartitionCols:_col0, _col1, _col2, _col3, _col4 - Group By Operator [GBY_1501] (rows=7 width=200) + Group By Operator [GBY_1201] (rows=7 width=200) Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"],aggregations:["sum(_col4)","sum(_col5)"],keys:_col0, _col1, _col2, _col3, 0L - Top N Key Operator [TNK_1500] (rows=3 width=221) + Top N Key Operator [TNK_1200] (rows=3 width=221) keys:_col0, _col1, _col2, _col3, 0L,sort order:+++++,top n:100 - Select Operator [SEL_1498] (rows=1 width=219) + Select Operator [SEL_1198] (rows=1 width=219) Output:["_col0","_col1","_col2","_col3","_col4","_col5"] - Filter Operator [FIL_1497] (rows=1 width=244) - predicate:(_col5 > _col1) - Merge Join Operator [MERGEJOIN_1496] (rows=1 width=244) - Conds:(Inner),Output:["_col1","_col2","_col3","_col4","_col5","_col6"] - <-Reducer 18 [CUSTOM_SIMPLE_EDGE] - PARTITION_ONLY_SHUFFLE [RS_560] - Merge Join Operator [MERGEJOIN_1462] (rows=1 width=112) - Conds:(Inner),Output:["_col1"] - <-Reducer 17 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1751] - Select Operator [SEL_1750] (rows=1 width=8) - Filter Operator [FIL_1749] (rows=1 width=8) - predicate:(sq_count_check(_col0) <= 1) - Group By Operator [GBY_1748] (rows=1 width=8) - Output:["_col0"],aggregations:["count()"] - Select Operator [SEL_1747] (rows=1 width=8) - Group By Operator [GBY_1746] (rows=1 width=8) - Output:["_col0"],aggregations:["count(VALUE._col0)"] - <-Union 16 [CUSTOM_SIMPLE_EDGE] - <-Reducer 15 [CONTAINS] - Reduce Output Operator [RS_1495] - Group By Operator [GBY_1494] (rows=1 width=8) - Output:["_col0"],aggregations:["count(_col0)"] - Select Operator [SEL_1493] (rows=26270325 width=1) - Output:["_col0"] - Select Operator [SEL_1491] (rows=14736682 width=0) - Output:["_col0"] - Merge Join Operator [MERGEJOIN_1490] (rows=14736682 width=0) - Conds:RS_1661._col0=RS_1643._col0(Inner),Output:["_col1"] - <-Map 84 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1643] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1630] - <-Map 1 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1661] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1658] - <-Reducer 23 [CONTAINS] - Reduce Output Operator [RS_1520] - Group By Operator [GBY_1519] (rows=1 width=8) - Output:["_col0"],aggregations:["count(_col0)"] - Select Operator [SEL_1518] (rows=26270325 width=1) - Output:["_col0"] - Select Operator [SEL_1516] (rows=7676736 width=3) - Output:["_col0"] - Merge Join Operator [MERGEJOIN_1515] (rows=7676736 width=3) - Conds:RS_1786._col0=RS_1774._col0(Inner),Output:["_col1"] - <-Map 24 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1774] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1767] - <-Map 20 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1786] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1783] - <-Reducer 39 [CONTAINS] - Reduce Output Operator [RS_1556] - Group By Operator [GBY_1555] (rows=1 width=8) - Output:["_col0"],aggregations:["count(_col0)"] - Select Operator [SEL_1554] (rows=26270325 width=1) - Output:["_col0"] - Select Operator [SEL_1552] (rows=3856907 width=3) - Output:["_col0"] - Merge Join Operator [MERGEJOIN_1551] (rows=3856907 width=3) - Conds:RS_1814._col0=RS_1802._col0(Inner),Output:["_col1"] - <-Map 40 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1802] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1795] - <-Map 36 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1814] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1811] - <-Reducer 35 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1754] - Select Operator [SEL_1753] (rows=1 width=112) - Output:["_col0"] - Group By Operator [GBY_1752] (rows=1 width=120) - Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)","count(VALUE._col1)"] - <-Union 34 [CUSTOM_SIMPLE_EDGE] - <-Reducer 33 [CONTAINS] - Reduce Output Operator [RS_1538] - Group By Operator [GBY_1537] (rows=1 width=120) - Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] - Select Operator [SEL_1536] (rows=26270325 width=44) - Output:["_col0"] - Select Operator [SEL_1534] (rows=7676736 width=94) - Output:["_col0","_col1"] - Merge Join Operator [MERGEJOIN_1533] (rows=7676736 width=94) - Conds:RS_1793._col0=RS_1775._col0(Inner),Output:["_col1","_col2"] - <-Map 24 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1775] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1767] - <-Map 50 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1793] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1790] - <-Reducer 45 [CONTAINS] - Reduce Output Operator [RS_1574] - Group By Operator [GBY_1573] (rows=1 width=120) - Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] - Select Operator [SEL_1572] (rows=26270325 width=44) - Output:["_col0"] - Select Operator [SEL_1570] (rows=3856907 width=114) - Output:["_col0","_col1"] - Merge Join Operator [MERGEJOIN_1569] (rows=3856907 width=114) - Conds:RS_1821._col0=RS_1803._col0(Inner),Output:["_col1","_col2"] - <-Map 40 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1803] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1795] - <-Map 51 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1821] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1818] - <-Reducer 49 [CONTAINS] - Reduce Output Operator [RS_1592] - Group By Operator [GBY_1591] (rows=1 width=120) - Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] - Select Operator [SEL_1590] (rows=26270325 width=44) - Output:["_col0"] - Select Operator [SEL_1588] (rows=14736682 width=0) - Output:["_col0","_col1"] - Merge Join Operator [MERGEJOIN_1587] (rows=14736682 width=0) - Conds:RS_1828._col0=RS_1644._col0(Inner),Output:["_col1","_col2"] - <-Map 84 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1644] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1630] - <-Map 46 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1828] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1825] - <-Reducer 67 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1765] - Group By Operator [GBY_1764] (rows=1 width=132) + Filter Operator [FIL_1197] (rows=1 width=244) + predicate:(_col3 > _col5) + Merge Join Operator [MERGEJOIN_1196] (rows=1 width=244) + Conds:(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5"] + <-Reducer 21 [CUSTOM_SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1375] + Group By Operator [GBY_1374] (rows=1 width=132) Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(VALUE._col0)","count(VALUE._col1)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Reducer 66 [SIMPLE_EDGE] - SHUFFLE [RS_554] + <-Reducer 20 [SIMPLE_EDGE] + SHUFFLE [RS_376] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_553] (rows=1 width=132) + Group By Operator [GBY_375] (rows=1 width=132) Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(_col3)","count()"],keys:_col0, _col1, _col2 - Select Operator [SEL_551] (rows=1 width=128) + Select Operator [SEL_373] (rows=1 width=128) Output:["_col0","_col1","_col2","_col3"] - Merge Join Operator [MERGEJOIN_1457] (rows=1 width=128) - Conds:RS_548._col1=RS_1710._col0(Inner),Output:["_col2","_col3","_col7","_col8","_col9"] - <-Map 102 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1710] + Merge Join Operator [MERGEJOIN_1175] (rows=1 width=128) + Conds:RS_370._col1=RS_1332._col0(Inner),Output:["_col2","_col3","_col7","_col8","_col9"] + <-Map 65 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1332] PartitionCols:_col0 - Select Operator [SEL_1701] (rows=462000 width=15) + Select Operator [SEL_1323] (rows=462000 width=15) Output:["_col0","_col1","_col2","_col3"] - Please refer to the previous TableScan [TS_163] - <-Reducer 65 [ONE_TO_ONE_EDGE] - FORWARD [RS_548] + Please refer to the previous TableScan [TS_81] + <-Reducer 19 [ONE_TO_ONE_EDGE] + FORWARD [RS_370] PartitionCols:_col1 - Merge Join Operator [MERGEJOIN_1456] (rows=1 width=120) - Conds:RS_545._col1=RS_546._col0(Inner),Output:["_col1","_col2","_col3"] - <-Reducer 64 [SIMPLE_EDGE] - SHUFFLE [RS_545] + Merge Join Operator [MERGEJOIN_1174] (rows=1 width=120) + Conds:RS_367._col1=RS_368._col0(Inner),Output:["_col1","_col2","_col3"] + <-Reducer 18 [SIMPLE_EDGE] + SHUFFLE [RS_367] PartitionCols:_col1 - Merge Join Operator [MERGEJOIN_1448] (rows=3942084 width=118) - Conds:RS_1759._col0=RS_1677._col0(Inner),Output:["_col1","_col2","_col3"] - <-Map 57 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1677] + Merge Join Operator [MERGEJOIN_1166] (rows=3942084 width=118) + Conds:RS_1369._col0=RS_1299._col0(Inner),Output:["_col1","_col2","_col3"] + <-Map 10 [SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1299] PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1672] - <-Map 104 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1759] + Please refer to the previous Select Operator [SEL_1294] + <-Map 80 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1369] PartitionCols:_col0 - Select Operator [SEL_1758] (rows=143966864 width=123) + Select Operator [SEL_1368] (rows=143966864 width=123) Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_1757] (rows=143966864 width=123) - predicate:((ws_sold_date_sk BETWEEN DynamicValue(RS_543_date_dim_d_date_sk_min) AND DynamicValue(RS_543_date_dim_d_date_sk_max) and in_bloom_filter(ws_sold_date_sk, DynamicValue(RS_543_date_dim_d_date_sk_bloom_filter))) and ws_sold_date_sk is not null) - TableScan [TS_459] (rows=144002668 width=123) + Filter Operator [FIL_1367] (rows=143966864 width=123) + predicate:((ws_sold_date_sk BETWEEN DynamicValue(RS_365_date_dim_d_date_sk_min) AND DynamicValue(RS_365_date_dim_d_date_sk_max) and in_bloom_filter(ws_sold_date_sk, DynamicValue(RS_365_date_dim_d_date_sk_bloom_filter))) and ws_sold_date_sk is not null) + TableScan [TS_281] (rows=144002668 width=123) default@web_sales,web_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ws_sold_date_sk","ws_item_sk","ws_quantity","ws_list_price"] - <-Reducer 68 [BROADCAST_EDGE] vectorized - BROADCAST [RS_1756] - Group By Operator [GBY_1755] (rows=1 width=12) + <-Reducer 23 [BROADCAST_EDGE] vectorized + BROADCAST [RS_1366] + Group By Operator [GBY_1365] (rows=1 width=12) Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 57 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1684] - Group By Operator [GBY_1681] (rows=1 width=12) + <-Map 10 [CUSTOM_SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1306] + Group By Operator [GBY_1303] (rows=1 width=12) Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_1678] (rows=50 width=4) + Select Operator [SEL_1300] (rows=50 width=4) Output:["_col0"] - Please refer to the previous Select Operator [SEL_1672] - <-Reducer 83 [SIMPLE_EDGE] - SHUFFLE [RS_546] + Please refer to the previous Select Operator [SEL_1294] + <-Reducer 38 [SIMPLE_EDGE] + SHUFFLE [RS_368] PartitionCols:_col0 - Merge Join Operator [MERGEJOIN_1455] (rows=724 width=4) - Conds:RS_1717._col1, _col2, _col3=RS_1763._col0, _col1, _col2(Inner),Output:["_col0"] - <-Map 102 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1717] + Merge Join Operator [MERGEJOIN_1173] (rows=724 width=4) + Conds:RS_1339._col1, _col2, _col3=RS_1373._col0, _col1, _col2(Inner),Output:["_col0"] + <-Map 65 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1339] PartitionCols:_col1, _col2, _col3 - Select Operator [SEL_1711] (rows=458612 width=15) + Select Operator [SEL_1333] (rows=458612 width=15) Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_1702] (rows=458612 width=15) + Filter Operator [FIL_1324] (rows=458612 width=15) predicate:(i_brand_id is not null and i_category_id is not null and i_class_id is not null) - Please refer to the previous TableScan [TS_163] - <-Reducer 82 [ONE_TO_ONE_EDGE] vectorized - FORWARD [RS_1763] + Please refer to the previous TableScan [TS_81] + <-Reducer 37 [ONE_TO_ONE_EDGE] vectorized + FORWARD [RS_1373] PartitionCols:_col0, _col1, _col2 - Select Operator [SEL_1762] (rows=1 width=12) + Select Operator [SEL_1372] (rows=1 width=12) Output:["_col0","_col1","_col2"] - Filter Operator [FIL_1761] (rows=1 width=20) + Filter Operator [FIL_1371] (rows=1 width=20) predicate:(_col3 = 3L) - Group By Operator [GBY_1760] (rows=121728 width=19) + Group By Operator [GBY_1370] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Union 81 [SIMPLE_EDGE] - <-Reducer 80 [CONTAINS] vectorized - Reduce Output Operator [RS_1842] + <-Union 36 [SIMPLE_EDGE] + <-Reducer 35 [CONTAINS] vectorized + Reduce Output Operator [RS_1412] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_1841] (rows=121728 width=19) + Group By Operator [GBY_1411] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(_col3)"],keys:_col0, _col1, _col2 - Group By Operator [GBY_1840] (rows=121728 width=19) + Group By Operator [GBY_1410] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Reducer 71 [SIMPLE_EDGE] - SHUFFLE [RS_485] + <-Reducer 26 [SIMPLE_EDGE] + SHUFFLE [RS_307] PartitionCols:_col0, _col1, _col2 - Please refer to the previous Group By Operator [GBY_107] - <-Reducer 90 [CONTAINS] vectorized - Reduce Output Operator [RS_1856] + Please refer to the previous Group By Operator [GBY_25] + <-Reducer 45 [CONTAINS] vectorized + Reduce Output Operator [RS_1426] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_1855] (rows=121728 width=19) + Group By Operator [GBY_1425] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(_col3)"],keys:_col0, _col1, _col2 - Group By Operator [GBY_1854] (rows=121728 width=19) + Group By Operator [GBY_1424] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Reducer 87 [SIMPLE_EDGE] - SHUFFLE [RS_505] + <-Reducer 42 [SIMPLE_EDGE] + SHUFFLE [RS_327] PartitionCols:_col0, _col1, _col2 - Please refer to the previous Group By Operator [GBY_127] - <-Reducer 96 [CONTAINS] vectorized - Reduce Output Operator [RS_1870] + Please refer to the previous Group By Operator [GBY_45] + <-Reducer 51 [CONTAINS] vectorized + Reduce Output Operator [RS_1440] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_1869] (rows=121728 width=19) + Group By Operator [GBY_1439] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(_col3)"],keys:_col0, _col1, _col2 - Group By Operator [GBY_1868] (rows=121728 width=19) + Group By Operator [GBY_1438] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Reducer 93 [SIMPLE_EDGE] - SHUFFLE [RS_526] + <-Reducer 48 [SIMPLE_EDGE] + SHUFFLE [RS_348] PartitionCols:_col0, _col1, _col2 - Please refer to the previous Group By Operator [GBY_148] + Please refer to the previous Group By Operator [GBY_66] + <-Reducer 62 [CUSTOM_SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1378] + Select Operator [SEL_1377] (rows=1 width=112) + Output:["_col0"] + Group By Operator [GBY_1376] (rows=1 width=120) + Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)","count(VALUE._col1)"] + <-Union 61 [CUSTOM_SIMPLE_EDGE] + <-Reducer 60 [CONTAINS] + Reduce Output Operator [RS_1256] + Group By Operator [GBY_1255] (rows=1 width=120) + Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] + Select Operator [SEL_1254] (rows=26270325 width=44) + Output:["_col0"] + Select Operator [SEL_1252] (rows=14736682 width=0) + Output:["_col0","_col1"] + Merge Join Operator [MERGEJOIN_1251] (rows=14736682 width=0) + Conds:RS_1447._col0=RS_1390._col0(Inner),Output:["_col1","_col2"] + <-Map 39 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1390] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1380] + <-Map 66 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1447] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1444] + <-Reducer 70 [CONTAINS] + Reduce Output Operator [RS_1274] + Group By Operator [GBY_1273] (rows=1 width=120) + Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] + Select Operator [SEL_1272] (rows=26270325 width=44) + Output:["_col0"] + Select Operator [SEL_1270] (rows=7676736 width=94) + Output:["_col0","_col1"] + Merge Join Operator [MERGEJOIN_1269] (rows=7676736 width=94) + Conds:RS_1462._col0=RS_1453._col0(Inner),Output:["_col1","_col2"] + <-Map 71 [SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1453] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1449] + <-Map 67 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1462] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1459] + <-Reducer 76 [CONTAINS] + Reduce Output Operator [RS_1292] + Group By Operator [GBY_1291] (rows=1 width=120) + Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] + Select Operator [SEL_1290] (rows=26270325 width=44) + Output:["_col0"] + Select Operator [SEL_1288] (rows=3856907 width=114) + Output:["_col0","_col1"] + Merge Join Operator [MERGEJOIN_1287] (rows=3856907 width=114) + Conds:RS_1477._col0=RS_1468._col0(Inner),Output:["_col1","_col2"] + <-Map 77 [SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1468] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1464] + <-Map 73 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1477] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1474] <-Reducer 6 [CONTAINS] - Reduce Output Operator [RS_1476] + Reduce Output Operator [RS_1188] PartitionCols:_col0, _col1, _col2, _col3, _col4 - Group By Operator [GBY_1475] (rows=7 width=200) + Group By Operator [GBY_1187] (rows=7 width=200) Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"],aggregations:["sum(_col4)","sum(_col5)"],keys:_col0, _col1, _col2, _col3, 0L - Top N Key Operator [TNK_1474] (rows=3 width=221) + Top N Key Operator [TNK_1186] (rows=3 width=221) keys:_col0, _col1, _col2, _col3, 0L,sort order:+++++,top n:100 - Select Operator [SEL_1472] (rows=1 width=221) + Select Operator [SEL_1184] (rows=1 width=221) Output:["_col0","_col1","_col2","_col3","_col4","_col5"] - Filter Operator [FIL_1471] (rows=1 width=244) - predicate:(_col5 > _col1) - Merge Join Operator [MERGEJOIN_1470] (rows=1 width=244) - Conds:(Inner),Output:["_col1","_col2","_col3","_col4","_col5","_col6"] - <-Reducer 5 [CUSTOM_SIMPLE_EDGE] - PARTITION_ONLY_SHUFFLE [RS_183] - Merge Join Operator [MERGEJOIN_1458] (rows=1 width=112) - Conds:(Inner),Output:["_col1"] - <-Reducer 28 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1670] - Select Operator [SEL_1669] (rows=1 width=112) - Output:["_col0"] - Group By Operator [GBY_1668] (rows=1 width=120) - Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)","count(VALUE._col1)"] - <-Union 27 [CUSTOM_SIMPLE_EDGE] - <-Reducer 26 [CONTAINS] - Reduce Output Operator [RS_1526] - Group By Operator [GBY_1525] (rows=1 width=120) - Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] - Select Operator [SEL_1524] (rows=26270325 width=44) - Output:["_col0"] - Select Operator [SEL_1522] (rows=7676736 width=94) - Output:["_col0","_col1"] - Merge Join Operator [MERGEJOIN_1521] (rows=7676736 width=94) - Conds:RS_1791._col0=RS_1770._col0(Inner),Output:["_col1","_col2"] - <-Map 24 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1770] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1767] - <-Map 50 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1791] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1790] - <-Reducer 42 [CONTAINS] - Reduce Output Operator [RS_1562] - Group By Operator [GBY_1561] (rows=1 width=120) - Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] - Select Operator [SEL_1560] (rows=26270325 width=44) - Output:["_col0"] - Select Operator [SEL_1558] (rows=3856907 width=114) - Output:["_col0","_col1"] - Merge Join Operator [MERGEJOIN_1557] (rows=3856907 width=114) - Conds:RS_1819._col0=RS_1798._col0(Inner),Output:["_col1","_col2"] - <-Map 40 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1798] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1795] - <-Map 51 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1819] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1818] - <-Reducer 47 [CONTAINS] - Reduce Output Operator [RS_1580] - Group By Operator [GBY_1579] (rows=1 width=120) - Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] - Select Operator [SEL_1578] (rows=26270325 width=44) - Output:["_col0"] - Select Operator [SEL_1576] (rows=14736682 width=0) - Output:["_col0","_col1"] - Merge Join Operator [MERGEJOIN_1575] (rows=14736682 width=0) - Conds:RS_1826._col0=RS_1639._col0(Inner),Output:["_col1","_col2"] - <-Map 84 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1639] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1630] - <-Map 46 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1826] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1825] - <-Reducer 4 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1667] - Select Operator [SEL_1666] (rows=1 width=8) - Filter Operator [FIL_1665] (rows=1 width=8) - predicate:(sq_count_check(_col0) <= 1) - Group By Operator [GBY_1664] (rows=1 width=8) - Output:["_col0"],aggregations:["count()"] - Select Operator [SEL_1663] (rows=1 width=8) - Group By Operator [GBY_1662] (rows=1 width=8) - Output:["_col0"],aggregations:["count(VALUE._col0)"] - <-Union 3 [CUSTOM_SIMPLE_EDGE] - <-Reducer 2 [CONTAINS] - Reduce Output Operator [RS_1469] - Group By Operator [GBY_1468] (rows=1 width=8) - Output:["_col0"],aggregations:["count(_col0)"] - Select Operator [SEL_1467] (rows=26270325 width=1) - Output:["_col0"] - Select Operator [SEL_1465] (rows=14736682 width=0) - Output:["_col0"] - Merge Join Operator [MERGEJOIN_1464] (rows=14736682 width=0) - Conds:RS_1659._col0=RS_1637._col0(Inner),Output:["_col1"] - <-Map 84 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1637] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1630] - <-Map 1 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1659] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1658] - <-Reducer 21 [CONTAINS] - Reduce Output Operator [RS_1508] - Group By Operator [GBY_1507] (rows=1 width=8) - Output:["_col0"],aggregations:["count(_col0)"] - Select Operator [SEL_1506] (rows=26270325 width=1) - Output:["_col0"] - Select Operator [SEL_1504] (rows=7676736 width=3) - Output:["_col0"] - Merge Join Operator [MERGEJOIN_1503] (rows=7676736 width=3) - Conds:RS_1784._col0=RS_1768._col0(Inner),Output:["_col1"] - <-Map 24 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1768] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1767] - <-Map 20 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1784] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1783] - <-Reducer 37 [CONTAINS] - Reduce Output Operator [RS_1544] - Group By Operator [GBY_1543] (rows=1 width=8) - Output:["_col0"],aggregations:["count(_col0)"] - Select Operator [SEL_1542] (rows=26270325 width=1) - Output:["_col0"] - Select Operator [SEL_1540] (rows=3856907 width=3) - Output:["_col0"] - Merge Join Operator [MERGEJOIN_1539] (rows=3856907 width=3) - Conds:RS_1812._col0=RS_1796._col0(Inner),Output:["_col1"] - <-Map 40 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1796] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1795] - <-Map 36 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1812] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1811] - <-Reducer 56 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1719] - Group By Operator [GBY_1718] (rows=1 width=132) + Filter Operator [FIL_1183] (rows=1 width=244) + predicate:(_col3 > _col5) + Merge Join Operator [MERGEJOIN_1182] (rows=1 width=244) + Conds:(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5"] + <-Reducer 5 [CUSTOM_SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1341] + Group By Operator [GBY_1340] (rows=1 width=132) Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(VALUE._col0)","count(VALUE._col1)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Reducer 55 [SIMPLE_EDGE] - SHUFFLE [RS_177] + <-Reducer 4 [SIMPLE_EDGE] + SHUFFLE [RS_95] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_176] (rows=1 width=132) + Group By Operator [GBY_94] (rows=1 width=132) Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(_col3)","count()"],keys:_col0, _col1, _col2 - Select Operator [SEL_174] (rows=1 width=128) + Select Operator [SEL_92] (rows=1 width=128) Output:["_col0","_col1","_col2","_col3"] - Merge Join Operator [MERGEJOIN_1425] (rows=1 width=128) - Conds:RS_171._col1=RS_1703._col0(Inner),Output:["_col2","_col3","_col7","_col8","_col9"] - <-Map 102 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1703] + Merge Join Operator [MERGEJOIN_1149] (rows=1 width=128) + Conds:RS_89._col1=RS_1325._col0(Inner),Output:["_col2","_col3","_col7","_col8","_col9"] + <-Map 65 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1325] PartitionCols:_col0 - Select Operator [SEL_1694] (rows=462000 width=15) + Select Operator [SEL_1316] (rows=462000 width=15) Output:["_col0","_col1","_col2","_col3"] - Please refer to the previous TableScan [TS_163] - <-Reducer 54 [ONE_TO_ONE_EDGE] - FORWARD [RS_171] + Please refer to the previous TableScan [TS_81] + <-Reducer 3 [ONE_TO_ONE_EDGE] + FORWARD [RS_89] PartitionCols:_col1 - Merge Join Operator [MERGEJOIN_1424] (rows=1 width=120) - Conds:RS_168._col1=RS_169._col0(Inner),Output:["_col1","_col2","_col3"] - <-Reducer 53 [SIMPLE_EDGE] - SHUFFLE [RS_168] + Merge Join Operator [MERGEJOIN_1148] (rows=1 width=120) + Conds:RS_86._col1=RS_87._col0(Inner),Output:["_col1","_col2","_col3"] + <-Reducer 2 [SIMPLE_EDGE] + SHUFFLE [RS_86] PartitionCols:_col1 - Merge Join Operator [MERGEJOIN_1416] (rows=15062131 width=4) - Conds:RS_1689._col0=RS_1673._col0(Inner),Output:["_col1","_col2","_col3"] - <-Map 57 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1673] + Merge Join Operator [MERGEJOIN_1140] (rows=15062131 width=4) + Conds:RS_1311._col0=RS_1295._col0(Inner),Output:["_col1","_col2","_col3"] + <-Map 10 [SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1295] PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1672] - <-Map 52 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1689] + Please refer to the previous Select Operator [SEL_1294] + <-Map 1 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1311] PartitionCols:_col0 - Select Operator [SEL_1688] (rows=550076554 width=118) + Select Operator [SEL_1310] (rows=550076554 width=118) Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_1687] (rows=550076554 width=118) - predicate:((ss_sold_date_sk BETWEEN DynamicValue(RS_166_date_dim_d_date_sk_min) AND DynamicValue(RS_166_date_dim_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, DynamicValue(RS_166_date_dim_d_date_sk_bloom_filter))) and ss_sold_date_sk is not null) - TableScan [TS_82] (rows=575995635 width=118) + Filter Operator [FIL_1309] (rows=550076554 width=118) + predicate:((ss_sold_date_sk BETWEEN DynamicValue(RS_84_date_dim_d_date_sk_min) AND DynamicValue(RS_84_date_dim_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, DynamicValue(RS_84_date_dim_d_date_sk_bloom_filter))) and ss_sold_date_sk is not null) + TableScan [TS_0] (rows=575995635 width=118) default@store_sales,store_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ss_sold_date_sk","ss_item_sk","ss_quantity","ss_list_price"] - <-Reducer 58 [BROADCAST_EDGE] vectorized - BROADCAST [RS_1686] - Group By Operator [GBY_1685] (rows=1 width=12) + <-Reducer 11 [BROADCAST_EDGE] vectorized + BROADCAST [RS_1308] + Group By Operator [GBY_1307] (rows=1 width=12) Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 57 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1682] - Group By Operator [GBY_1679] (rows=1 width=12) + <-Map 10 [CUSTOM_SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1304] + Group By Operator [GBY_1301] (rows=1 width=12) Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_1674] (rows=50 width=4) + Select Operator [SEL_1296] (rows=50 width=4) Output:["_col0"] - Please refer to the previous Select Operator [SEL_1672] - <-Reducer 75 [SIMPLE_EDGE] - SHUFFLE [RS_169] + Please refer to the previous Select Operator [SEL_1294] + <-Reducer 30 [SIMPLE_EDGE] + SHUFFLE [RS_87] PartitionCols:_col0 - Merge Join Operator [MERGEJOIN_1423] (rows=724 width=4) - Conds:RS_1712._col1, _col2, _col3=RS_1693._col0, _col1, _col2(Inner),Output:["_col0"] - <-Map 102 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1712] + Merge Join Operator [MERGEJOIN_1147] (rows=724 width=4) + Conds:RS_1334._col1, _col2, _col3=RS_1315._col0, _col1, _col2(Inner),Output:["_col0"] + <-Map 65 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1334] PartitionCols:_col1, _col2, _col3 - Select Operator [SEL_1704] (rows=458612 width=15) + Select Operator [SEL_1326] (rows=458612 width=15) Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_1695] (rows=458612 width=15) + Filter Operator [FIL_1317] (rows=458612 width=15) predicate:(i_brand_id is not null and i_category_id is not null and i_class_id is not null) - Please refer to the previous TableScan [TS_163] - <-Reducer 74 [ONE_TO_ONE_EDGE] vectorized - FORWARD [RS_1693] + Please refer to the previous TableScan [TS_81] + <-Reducer 29 [ONE_TO_ONE_EDGE] vectorized + FORWARD [RS_1315] PartitionCols:_col0, _col1, _col2 - Select Operator [SEL_1692] (rows=1 width=12) + Select Operator [SEL_1314] (rows=1 width=12) Output:["_col0","_col1","_col2"] - Filter Operator [FIL_1691] (rows=1 width=20) + Filter Operator [FIL_1313] (rows=1 width=20) predicate:(_col3 = 3L) - Group By Operator [GBY_1690] (rows=121728 width=19) + Group By Operator [GBY_1312] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Union 73 [SIMPLE_EDGE] - <-Reducer 72 [CONTAINS] vectorized - Reduce Output Operator [RS_1836] + <-Union 28 [SIMPLE_EDGE] + <-Reducer 27 [CONTAINS] vectorized + Reduce Output Operator [RS_1406] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_1835] (rows=121728 width=19) + Group By Operator [GBY_1405] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(_col3)"],keys:_col0, _col1, _col2 - Group By Operator [GBY_1834] (rows=121728 width=19) + Group By Operator [GBY_1404] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Reducer 71 [SIMPLE_EDGE] - SHUFFLE [RS_108] + <-Reducer 26 [SIMPLE_EDGE] + SHUFFLE [RS_26] PartitionCols:_col0, _col1, _col2 - Please refer to the previous Group By Operator [GBY_107] - <-Reducer 88 [CONTAINS] vectorized - Reduce Output Operator [RS_1850] + Please refer to the previous Group By Operator [GBY_25] + <-Reducer 43 [CONTAINS] vectorized + Reduce Output Operator [RS_1420] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_1849] (rows=121728 width=19) + Group By Operator [GBY_1419] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(_col3)"],keys:_col0, _col1, _col2 - Group By Operator [GBY_1848] (rows=121728 width=19) + Group By Operator [GBY_1418] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Reducer 87 [SIMPLE_EDGE] - SHUFFLE [RS_128] + <-Reducer 42 [SIMPLE_EDGE] + SHUFFLE [RS_46] PartitionCols:_col0, _col1, _col2 - Please refer to the previous Group By Operator [GBY_127] - <-Reducer 94 [CONTAINS] vectorized - Reduce Output Operator [RS_1864] + Please refer to the previous Group By Operator [GBY_45] + <-Reducer 49 [CONTAINS] vectorized + Reduce Output Operator [RS_1434] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_1863] (rows=121728 width=19) + Group By Operator [GBY_1433] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(_col3)"],keys:_col0, _col1, _col2 - Group By Operator [GBY_1862] (rows=121728 width=19) + Group By Operator [GBY_1432] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Reducer 93 [SIMPLE_EDGE] - SHUFFLE [RS_149] + <-Reducer 48 [SIMPLE_EDGE] + SHUFFLE [RS_67] PartitionCols:_col0, _col1, _col2 - Please refer to the previous Group By Operator [GBY_148] + Please refer to the previous Group By Operator [GBY_66] + <-Reducer 55 [CUSTOM_SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1344] + Select Operator [SEL_1343] (rows=1 width=112) + Output:["_col0"] + Group By Operator [GBY_1342] (rows=1 width=120) + Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)","count(VALUE._col1)"] + <-Union 54 [CUSTOM_SIMPLE_EDGE] + <-Reducer 53 [CONTAINS] + Reduce Output Operator [RS_1244] + Group By Operator [GBY_1243] (rows=1 width=120) + Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] + Select Operator [SEL_1242] (rows=26270325 width=44) + Output:["_col0"] + Select Operator [SEL_1240] (rows=14736682 width=0) + Output:["_col0","_col1"] + Merge Join Operator [MERGEJOIN_1239] (rows=14736682 width=0) + Conds:RS_1445._col0=RS_1387._col0(Inner),Output:["_col1","_col2"] + <-Map 39 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1387] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1380] + <-Map 66 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1445] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1444] + <-Reducer 68 [CONTAINS] + Reduce Output Operator [RS_1262] + Group By Operator [GBY_1261] (rows=1 width=120) + Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] + Select Operator [SEL_1260] (rows=26270325 width=44) + Output:["_col0"] + Select Operator [SEL_1258] (rows=7676736 width=94) + Output:["_col0","_col1"] + Merge Join Operator [MERGEJOIN_1257] (rows=7676736 width=94) + Conds:RS_1460._col0=RS_1450._col0(Inner),Output:["_col1","_col2"] + <-Map 71 [SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1450] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1449] + <-Map 67 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1460] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1459] + <-Reducer 74 [CONTAINS] + Reduce Output Operator [RS_1280] + Group By Operator [GBY_1279] (rows=1 width=120) + Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] + Select Operator [SEL_1278] (rows=26270325 width=44) + Output:["_col0"] + Select Operator [SEL_1276] (rows=3856907 width=114) + Output:["_col0","_col1"] + Merge Join Operator [MERGEJOIN_1275] (rows=3856907 width=114) + Conds:RS_1475._col0=RS_1465._col0(Inner),Output:["_col1","_col2"] + <-Map 77 [SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1465] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1464] + <-Map 73 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1475] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1474] diff --git a/ql/src/test/results/clientpositive/perf/tez/query14.q.out b/ql/src/test/results/clientpositive/perf/tez/query14.q.out index a65632de23..fd8eb9b2f3 100644 --- a/ql/src/test/results/clientpositive/perf/tez/query14.q.out +++ b/ql/src/test/results/clientpositive/perf/tez/query14.q.out @@ -1,9 +1,6 @@ -Warning: Shuffle Join MERGEJOIN[1440][tables = [$hdt$_1, $hdt$_2]] in Stage 'Reducer 5' is a cross product -Warning: Shuffle Join MERGEJOIN[1452][tables = [$hdt$_1, $hdt$_2, $hdt$_0]] in Stage 'Reducer 6' is a cross product -Warning: Shuffle Join MERGEJOIN[1442][tables = [$hdt$_1, $hdt$_2]] in Stage 'Reducer 13' is a cross product -Warning: Shuffle Join MERGEJOIN[1465][tables = [$hdt$_1, $hdt$_2, $hdt$_0]] in Stage 'Reducer 14' is a cross product -Warning: Shuffle Join MERGEJOIN[1444][tables = [$hdt$_2, $hdt$_3]] in Stage 'Reducer 18' is a cross product -Warning: Shuffle Join MERGEJOIN[1478][tables = [$hdt$_2, $hdt$_3, $hdt$_1]] in Stage 'Reducer 19' is a cross product +Warning: Shuffle Join MERGEJOIN[1164][tables = [$hdt$_0, $hdt$_1]] in Stage 'Reducer 6' is a cross product +Warning: Shuffle Join MERGEJOIN[1171][tables = [$hdt$_0, $hdt$_1]] in Stage 'Reducer 16' is a cross product +Warning: Shuffle Join MERGEJOIN[1178][tables = [$hdt$_1, $hdt$_2]] in Stage 'Reducer 22' is a cross product PREHOOK: query: explain with cross_items as (select i_item_sk ss_item_sk @@ -225,1116 +222,840 @@ POSTHOOK: Output: hdfs://### HDFS PATH ### Plan optimized by CBO. Vertex dependency in root stage -Map 1 <- Reducer 99 (BROADCAST_EDGE) -Map 101 <- Reducer 96 (BROADCAST_EDGE) -Map 102 <- Reducer 98 (BROADCAST_EDGE) -Map 103 <- Reducer 63 (BROADCAST_EDGE) -Map 104 <- Reducer 68 (BROADCAST_EDGE) -Map 20 <- Reducer 25 (BROADCAST_EDGE) -Map 36 <- Reducer 41 (BROADCAST_EDGE) -Map 46 <- Reducer 100 (BROADCAST_EDGE) -Map 50 <- Reducer 29 (BROADCAST_EDGE) -Map 51 <- Reducer 43 (BROADCAST_EDGE) -Map 52 <- Reducer 58 (BROADCAST_EDGE) -Map 91 <- Reducer 94 (BROADCAST_EDGE) -Reducer 10 <- Map 1 (SIMPLE_EDGE), Map 93 (SIMPLE_EDGE), Union 11 (CONTAINS) -Reducer 100 <- Map 93 (CUSTOM_SIMPLE_EDGE) -Reducer 12 <- Union 11 (CUSTOM_SIMPLE_EDGE) -Reducer 13 <- Reducer 12 (CUSTOM_SIMPLE_EDGE), Reducer 32 (CUSTOM_SIMPLE_EDGE) -Reducer 14 <- Reducer 13 (CUSTOM_SIMPLE_EDGE), Reducer 62 (CUSTOM_SIMPLE_EDGE), Union 7 (CONTAINS) -Reducer 15 <- Map 1 (SIMPLE_EDGE), Map 93 (SIMPLE_EDGE), Union 16 (CONTAINS) -Reducer 17 <- Union 16 (CUSTOM_SIMPLE_EDGE) -Reducer 18 <- Reducer 17 (CUSTOM_SIMPLE_EDGE), Reducer 35 (CUSTOM_SIMPLE_EDGE) -Reducer 19 <- Reducer 18 (CUSTOM_SIMPLE_EDGE), Reducer 67 (CUSTOM_SIMPLE_EDGE), Union 7 (CONTAINS) -Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 93 (SIMPLE_EDGE), Union 3 (CONTAINS) -Reducer 21 <- Map 20 (SIMPLE_EDGE), Map 24 (SIMPLE_EDGE), Union 3 (CONTAINS) -Reducer 22 <- Map 20 (SIMPLE_EDGE), Map 24 (SIMPLE_EDGE), Union 11 (CONTAINS) -Reducer 23 <- Map 20 (SIMPLE_EDGE), Map 24 (SIMPLE_EDGE), Union 16 (CONTAINS) -Reducer 25 <- Map 24 (CUSTOM_SIMPLE_EDGE) -Reducer 26 <- Map 24 (SIMPLE_EDGE), Map 50 (SIMPLE_EDGE), Union 27 (CONTAINS) -Reducer 28 <- Union 27 (CUSTOM_SIMPLE_EDGE) -Reducer 29 <- Map 24 (CUSTOM_SIMPLE_EDGE) -Reducer 30 <- Map 24 (SIMPLE_EDGE), Map 50 (SIMPLE_EDGE), Union 31 (CONTAINS) -Reducer 32 <- Union 31 (CUSTOM_SIMPLE_EDGE) -Reducer 33 <- Map 24 (SIMPLE_EDGE), Map 50 (SIMPLE_EDGE), Union 34 (CONTAINS) -Reducer 35 <- Union 34 (CUSTOM_SIMPLE_EDGE) -Reducer 37 <- Map 36 (SIMPLE_EDGE), Map 40 (SIMPLE_EDGE), Union 3 (CONTAINS) -Reducer 38 <- Map 36 (SIMPLE_EDGE), Map 40 (SIMPLE_EDGE), Union 11 (CONTAINS) -Reducer 39 <- Map 36 (SIMPLE_EDGE), Map 40 (SIMPLE_EDGE), Union 16 (CONTAINS) -Reducer 4 <- Union 3 (CUSTOM_SIMPLE_EDGE) -Reducer 41 <- Map 40 (CUSTOM_SIMPLE_EDGE) -Reducer 42 <- Map 40 (SIMPLE_EDGE), Map 51 (SIMPLE_EDGE), Union 27 (CONTAINS) -Reducer 43 <- Map 40 (CUSTOM_SIMPLE_EDGE) -Reducer 44 <- Map 40 (SIMPLE_EDGE), Map 51 (SIMPLE_EDGE), Union 31 (CONTAINS) -Reducer 45 <- Map 40 (SIMPLE_EDGE), Map 51 (SIMPLE_EDGE), Union 34 (CONTAINS) -Reducer 47 <- Map 46 (SIMPLE_EDGE), Map 93 (SIMPLE_EDGE), Union 27 (CONTAINS) -Reducer 48 <- Map 46 (SIMPLE_EDGE), Map 93 (SIMPLE_EDGE), Union 31 (CONTAINS) -Reducer 49 <- Map 46 (SIMPLE_EDGE), Map 93 (SIMPLE_EDGE), Union 34 (CONTAINS) -Reducer 5 <- Reducer 28 (CUSTOM_SIMPLE_EDGE), Reducer 4 (CUSTOM_SIMPLE_EDGE) -Reducer 53 <- Map 52 (SIMPLE_EDGE), Map 57 (SIMPLE_EDGE) -Reducer 54 <- Map 69 (SIMPLE_EDGE), Reducer 53 (SIMPLE_EDGE) -Reducer 55 <- Reducer 54 (ONE_TO_ONE_EDGE), Reducer 70 (SIMPLE_EDGE) -Reducer 56 <- Reducer 55 (SIMPLE_EDGE) -Reducer 58 <- Map 57 (CUSTOM_SIMPLE_EDGE) -Reducer 59 <- Map 103 (SIMPLE_EDGE), Map 57 (SIMPLE_EDGE) +Map 1 <- Reducer 11 (BROADCAST_EDGE) +Map 46 <- Reducer 49 (BROADCAST_EDGE) +Map 64 <- Reducer 51 (BROADCAST_EDGE) +Map 65 <- Reducer 53 (BROADCAST_EDGE) +Map 66 <- Reducer 57 (BROADCAST_EDGE) +Map 67 <- Reducer 72 (BROADCAST_EDGE) +Map 73 <- Reducer 78 (BROADCAST_EDGE) +Map 79 <- Reducer 17 (BROADCAST_EDGE) +Map 80 <- Reducer 23 (BROADCAST_EDGE) +Reducer 11 <- Map 10 (CUSTOM_SIMPLE_EDGE) +Reducer 12 <- Map 10 (SIMPLE_EDGE), Map 79 (SIMPLE_EDGE) +Reducer 13 <- Map 24 (SIMPLE_EDGE), Reducer 12 (SIMPLE_EDGE) +Reducer 14 <- Reducer 13 (ONE_TO_ONE_EDGE), Reducer 33 (SIMPLE_EDGE) +Reducer 15 <- Reducer 14 (SIMPLE_EDGE) +Reducer 16 <- Reducer 15 (CUSTOM_SIMPLE_EDGE), Reducer 60 (CUSTOM_SIMPLE_EDGE), Union 7 (CONTAINS) +Reducer 17 <- Map 10 (CUSTOM_SIMPLE_EDGE) +Reducer 18 <- Map 10 (SIMPLE_EDGE), Map 80 (SIMPLE_EDGE) +Reducer 19 <- Map 24 (SIMPLE_EDGE), Reducer 18 (SIMPLE_EDGE) +Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 10 (SIMPLE_EDGE) +Reducer 20 <- Reducer 19 (ONE_TO_ONE_EDGE), Reducer 37 (SIMPLE_EDGE) +Reducer 21 <- Reducer 20 (SIMPLE_EDGE) +Reducer 22 <- Reducer 21 (CUSTOM_SIMPLE_EDGE), Reducer 63 (CUSTOM_SIMPLE_EDGE), Union 7 (CONTAINS) +Reducer 23 <- Map 10 (CUSTOM_SIMPLE_EDGE) +Reducer 25 <- Map 24 (SIMPLE_EDGE), Reducer 29 (ONE_TO_ONE_EDGE) +Reducer 26 <- Map 24 (SIMPLE_EDGE), Reducer 47 (SIMPLE_EDGE) +Reducer 27 <- Reducer 26 (SIMPLE_EDGE), Union 28 (CONTAINS) +Reducer 29 <- Union 28 (SIMPLE_EDGE) +Reducer 3 <- Map 24 (SIMPLE_EDGE), Reducer 2 (SIMPLE_EDGE) +Reducer 30 <- Reducer 26 (SIMPLE_EDGE), Union 31 (CONTAINS) +Reducer 32 <- Union 31 (SIMPLE_EDGE) +Reducer 33 <- Map 24 (SIMPLE_EDGE), Reducer 32 (ONE_TO_ONE_EDGE) +Reducer 34 <- Reducer 26 (SIMPLE_EDGE), Union 35 (CONTAINS) +Reducer 36 <- Union 35 (SIMPLE_EDGE) +Reducer 37 <- Map 24 (SIMPLE_EDGE), Reducer 36 (ONE_TO_ONE_EDGE) +Reducer 38 <- Map 24 (SIMPLE_EDGE), Reducer 50 (SIMPLE_EDGE) +Reducer 39 <- Reducer 38 (SIMPLE_EDGE), Union 28 (CONTAINS) +Reducer 4 <- Reducer 25 (SIMPLE_EDGE), Reducer 3 (ONE_TO_ONE_EDGE) +Reducer 40 <- Reducer 38 (SIMPLE_EDGE), Union 31 (CONTAINS) +Reducer 41 <- Reducer 38 (SIMPLE_EDGE), Union 35 (CONTAINS) +Reducer 42 <- Map 24 (SIMPLE_EDGE), Reducer 52 (SIMPLE_EDGE) +Reducer 43 <- Reducer 42 (SIMPLE_EDGE), Union 28 (CONTAINS) +Reducer 44 <- Reducer 42 (SIMPLE_EDGE), Union 31 (CONTAINS) +Reducer 45 <- Reducer 42 (SIMPLE_EDGE), Union 35 (CONTAINS) +Reducer 47 <- Map 46 (SIMPLE_EDGE), Map 48 (SIMPLE_EDGE) +Reducer 49 <- Map 48 (CUSTOM_SIMPLE_EDGE) +Reducer 5 <- Reducer 4 (SIMPLE_EDGE) +Reducer 50 <- Map 48 (SIMPLE_EDGE), Map 64 (SIMPLE_EDGE) +Reducer 51 <- Map 48 (CUSTOM_SIMPLE_EDGE) +Reducer 52 <- Map 48 (SIMPLE_EDGE), Map 65 (SIMPLE_EDGE) +Reducer 53 <- Map 48 (CUSTOM_SIMPLE_EDGE) +Reducer 54 <- Map 48 (SIMPLE_EDGE), Map 66 (SIMPLE_EDGE), Union 55 (CONTAINS) +Reducer 56 <- Union 55 (CUSTOM_SIMPLE_EDGE) +Reducer 57 <- Map 48 (CUSTOM_SIMPLE_EDGE) +Reducer 58 <- Map 48 (SIMPLE_EDGE), Map 66 (SIMPLE_EDGE), Union 59 (CONTAINS) Reducer 6 <- Reducer 5 (CUSTOM_SIMPLE_EDGE), Reducer 56 (CUSTOM_SIMPLE_EDGE), Union 7 (CONTAINS) -Reducer 60 <- Map 69 (SIMPLE_EDGE), Reducer 59 (SIMPLE_EDGE) -Reducer 61 <- Reducer 60 (ONE_TO_ONE_EDGE), Reducer 78 (SIMPLE_EDGE) -Reducer 62 <- Reducer 61 (SIMPLE_EDGE) -Reducer 63 <- Map 57 (CUSTOM_SIMPLE_EDGE) -Reducer 64 <- Map 104 (SIMPLE_EDGE), Map 57 (SIMPLE_EDGE) -Reducer 65 <- Map 69 (SIMPLE_EDGE), Reducer 64 (SIMPLE_EDGE) -Reducer 66 <- Reducer 65 (ONE_TO_ONE_EDGE), Reducer 82 (SIMPLE_EDGE) -Reducer 67 <- Reducer 66 (SIMPLE_EDGE) -Reducer 68 <- Map 57 (CUSTOM_SIMPLE_EDGE) -Reducer 70 <- Map 69 (SIMPLE_EDGE), Reducer 74 (ONE_TO_ONE_EDGE) -Reducer 71 <- Map 69 (SIMPLE_EDGE), Reducer 92 (SIMPLE_EDGE) -Reducer 72 <- Reducer 71 (SIMPLE_EDGE), Union 73 (CONTAINS) -Reducer 74 <- Union 73 (SIMPLE_EDGE) -Reducer 75 <- Reducer 71 (SIMPLE_EDGE), Union 76 (CONTAINS) -Reducer 77 <- Union 76 (SIMPLE_EDGE) -Reducer 78 <- Map 69 (SIMPLE_EDGE), Reducer 77 (ONE_TO_ONE_EDGE) -Reducer 79 <- Reducer 71 (SIMPLE_EDGE), Union 80 (CONTAINS) +Reducer 60 <- Union 59 (CUSTOM_SIMPLE_EDGE) +Reducer 61 <- Map 48 (SIMPLE_EDGE), Map 66 (SIMPLE_EDGE), Union 62 (CONTAINS) +Reducer 63 <- Union 62 (CUSTOM_SIMPLE_EDGE) +Reducer 68 <- Map 67 (SIMPLE_EDGE), Map 71 (SIMPLE_EDGE), Union 55 (CONTAINS) +Reducer 69 <- Map 67 (SIMPLE_EDGE), Map 71 (SIMPLE_EDGE), Union 59 (CONTAINS) +Reducer 70 <- Map 67 (SIMPLE_EDGE), Map 71 (SIMPLE_EDGE), Union 62 (CONTAINS) +Reducer 72 <- Map 71 (CUSTOM_SIMPLE_EDGE) +Reducer 74 <- Map 73 (SIMPLE_EDGE), Map 77 (SIMPLE_EDGE), Union 55 (CONTAINS) +Reducer 75 <- Map 73 (SIMPLE_EDGE), Map 77 (SIMPLE_EDGE), Union 59 (CONTAINS) +Reducer 76 <- Map 73 (SIMPLE_EDGE), Map 77 (SIMPLE_EDGE), Union 62 (CONTAINS) +Reducer 78 <- Map 77 (CUSTOM_SIMPLE_EDGE) Reducer 8 <- Union 7 (SIMPLE_EDGE) -Reducer 81 <- Union 80 (SIMPLE_EDGE) -Reducer 82 <- Map 69 (SIMPLE_EDGE), Reducer 81 (ONE_TO_ONE_EDGE) -Reducer 83 <- Map 69 (SIMPLE_EDGE), Reducer 95 (SIMPLE_EDGE) -Reducer 84 <- Reducer 83 (SIMPLE_EDGE), Union 73 (CONTAINS) -Reducer 85 <- Reducer 83 (SIMPLE_EDGE), Union 76 (CONTAINS) -Reducer 86 <- Reducer 83 (SIMPLE_EDGE), Union 80 (CONTAINS) -Reducer 87 <- Map 69 (SIMPLE_EDGE), Reducer 97 (SIMPLE_EDGE) -Reducer 88 <- Reducer 87 (SIMPLE_EDGE), Union 73 (CONTAINS) -Reducer 89 <- Reducer 87 (SIMPLE_EDGE), Union 76 (CONTAINS) Reducer 9 <- Reducer 8 (SIMPLE_EDGE) -Reducer 90 <- Reducer 87 (SIMPLE_EDGE), Union 80 (CONTAINS) -Reducer 92 <- Map 91 (SIMPLE_EDGE), Map 93 (SIMPLE_EDGE) -Reducer 94 <- Map 93 (CUSTOM_SIMPLE_EDGE) -Reducer 95 <- Map 101 (SIMPLE_EDGE), Map 93 (SIMPLE_EDGE) -Reducer 96 <- Map 93 (CUSTOM_SIMPLE_EDGE) -Reducer 97 <- Map 102 (SIMPLE_EDGE), Map 93 (SIMPLE_EDGE) -Reducer 98 <- Map 93 (CUSTOM_SIMPLE_EDGE) -Reducer 99 <- Map 93 (CUSTOM_SIMPLE_EDGE) Stage-0 Fetch Operator limit:100 Stage-1 Reducer 9 vectorized - File Output Operator [FS_1710] - Limit [LIM_1709] (rows=7 width=192) + File Output Operator [FS_1335] + Limit [LIM_1334] (rows=7 width=192) Number of rows:100 - Select Operator [SEL_1708] (rows=7 width=192) + Select Operator [SEL_1333] (rows=7 width=192) Output:["_col0","_col1","_col2","_col3","_col4","_col5"] <-Reducer 8 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1707] - Select Operator [SEL_1706] (rows=7 width=192) + SHUFFLE [RS_1332] + Select Operator [SEL_1331] (rows=7 width=192) Output:["_col0","_col1","_col2","_col3","_col4","_col5"] - Group By Operator [GBY_1705] (rows=7 width=200) + Group By Operator [GBY_1330] (rows=7 width=200) Output:["_col0","_col1","_col2","_col3","_col5","_col6"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)"],keys:KEY._col0, KEY._col1, KEY._col2, KEY._col3, KEY._col4 <-Union 7 [SIMPLE_EDGE] - <-Reducer 14 [CONTAINS] - Reduce Output Operator [RS_1471] + <-Reducer 16 [CONTAINS] + Reduce Output Operator [RS_1177] PartitionCols:_col0, _col1, _col2, _col3, _col4 - Group By Operator [GBY_1470] (rows=7 width=200) + Group By Operator [GBY_1176] (rows=7 width=200) Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"],aggregations:["sum(_col4)","sum(_col5)"],keys:_col0, _col1, _col2, _col3, 0L - Top N Key Operator [TNK_1469] (rows=3 width=221) + Top N Key Operator [TNK_1175] (rows=3 width=221) keys:_col0, _col1, _col2, _col3, 0L,sort order:+++++,top n:100 - Select Operator [SEL_1467] (rows=1 width=223) + Select Operator [SEL_1173] (rows=1 width=223) Output:["_col0","_col1","_col2","_col3","_col4","_col5"] - Filter Operator [FIL_1466] (rows=1 width=244) - predicate:(_col5 > _col1) - Merge Join Operator [MERGEJOIN_1465] (rows=1 width=244) - Conds:(Inner),Output:["_col1","_col2","_col3","_col4","_col5","_col6"] - <-Reducer 13 [CUSTOM_SIMPLE_EDGE] - PARTITION_ONLY_SHUFFLE [RS_377] - Merge Join Operator [MERGEJOIN_1442] (rows=1 width=112) - Conds:(Inner),Output:["_col1"] - <-Reducer 12 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1716] - Select Operator [SEL_1715] (rows=1 width=8) - Filter Operator [FIL_1714] (rows=1 width=8) - predicate:(sq_count_check(_col0) <= 1) - Group By Operator [GBY_1713] (rows=1 width=8) - Output:["_col0"],aggregations:["count()"] - Select Operator [SEL_1712] (rows=1 width=8) - Group By Operator [GBY_1711] (rows=1 width=8) - Output:["_col0"],aggregations:["count(VALUE._col0)"] - <-Union 11 [CUSTOM_SIMPLE_EDGE] - <-Reducer 10 [CONTAINS] - Reduce Output Operator [RS_1464] - Group By Operator [GBY_1463] (rows=1 width=8) - Output:["_col0"],aggregations:["count(_col0)"] - Select Operator [SEL_1462] (rows=26270325 width=1) - Output:["_col0"] - Select Operator [SEL_1460] (rows=14736682 width=0) - Output:["_col0"] - Merge Join Operator [MERGEJOIN_1459] (rows=14736682 width=0) - Conds:RS_1642._col0=RS_1623._col0(Inner),Output:["_col1"] - <-Map 93 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1623] - PartitionCols:_col0 - Select Operator [SEL_1612] (rows=1957 width=4) - Output:["_col0"] - Filter Operator [FIL_1611] (rows=1957 width=8) - predicate:(d_date_sk is not null and d_year BETWEEN 1999 AND 2001) - TableScan [TS_97] (rows=73049 width=8) - default@date_dim,d1,Tbl:COMPLETE,Col:COMPLETE,Output:["d_date_sk","d_year"] - <-Map 1 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1642] - PartitionCols:_col0 - Select Operator [SEL_1640] (rows=550076554 width=7) - Output:["_col0","_col1"] - Filter Operator [FIL_1639] (rows=550076554 width=7) - predicate:((ss_sold_date_sk BETWEEN DynamicValue(RS_7_date_dim_d_date_sk_min) AND DynamicValue(RS_7_date_dim_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, DynamicValue(RS_7_date_dim_d_date_sk_bloom_filter))) and ss_sold_date_sk is not null) - TableScan [TS_0] (rows=575995635 width=7) - default@store_sales,store_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ss_sold_date_sk","ss_quantity"] - <-Reducer 99 [BROADCAST_EDGE] vectorized - BROADCAST [RS_1638] - Group By Operator [GBY_1637] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 93 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1635] - Group By Operator [GBY_1630] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_1620] (rows=1957 width=4) - Output:["_col0"] - Please refer to the previous Select Operator [SEL_1612] - <-Reducer 22 [CONTAINS] - Reduce Output Operator [RS_1496] - Group By Operator [GBY_1495] (rows=1 width=8) - Output:["_col0"],aggregations:["count(_col0)"] - Select Operator [SEL_1494] (rows=26270325 width=1) - Output:["_col0"] - Select Operator [SEL_1492] (rows=7676736 width=3) - Output:["_col0"] - Merge Join Operator [MERGEJOIN_1491] (rows=7676736 width=3) - Conds:RS_1770._col0=RS_1757._col0(Inner),Output:["_col1"] - <-Map 24 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1757] - PartitionCols:_col0 - Select Operator [SEL_1752] (rows=1957 width=4) - Output:["_col0"] - Filter Operator [FIL_1751] (rows=1957 width=8) - predicate:(d_date_sk is not null and d_year BETWEEN 1998 AND 2000) - TableScan [TS_13] (rows=73049 width=8) - default@date_dim,date_dim,Tbl:COMPLETE,Col:COMPLETE,Output:["d_date_sk","d_year"] - <-Map 20 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1770] - PartitionCols:_col0 - Select Operator [SEL_1768] (rows=286549727 width=7) - Output:["_col0","_col1"] - Filter Operator [FIL_1767] (rows=286549727 width=7) - predicate:((cs_sold_date_sk BETWEEN DynamicValue(RS_17_date_dim_d_date_sk_min) AND DynamicValue(RS_17_date_dim_d_date_sk_max) and in_bloom_filter(cs_sold_date_sk, DynamicValue(RS_17_date_dim_d_date_sk_bloom_filter))) and cs_sold_date_sk is not null) - TableScan [TS_10] (rows=287989836 width=7) - default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["cs_sold_date_sk","cs_quantity"] - <-Reducer 25 [BROADCAST_EDGE] vectorized - BROADCAST [RS_1766] - Group By Operator [GBY_1765] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 24 [CUSTOM_SIMPLE_EDGE] vectorized - SHUFFLE [RS_1763] - Group By Operator [GBY_1761] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_1754] (rows=1957 width=4) - Output:["_col0"] - Please refer to the previous Select Operator [SEL_1752] - <-Reducer 38 [CONTAINS] - Reduce Output Operator [RS_1532] - Group By Operator [GBY_1531] (rows=1 width=8) - Output:["_col0"],aggregations:["count(_col0)"] - Select Operator [SEL_1530] (rows=26270325 width=1) - Output:["_col0"] - Select Operator [SEL_1528] (rows=3856907 width=3) - Output:["_col0"] - Merge Join Operator [MERGEJOIN_1527] (rows=3856907 width=3) - Conds:RS_1798._col0=RS_1785._col0(Inner),Output:["_col1"] - <-Map 40 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1785] - PartitionCols:_col0 - Select Operator [SEL_1780] (rows=1957 width=4) - Output:["_col0"] - Filter Operator [FIL_1779] (rows=1957 width=8) - predicate:(d_date_sk is not null and d_year BETWEEN 1998 AND 2000) - TableScan [TS_24] (rows=73049 width=8) - default@date_dim,date_dim,Tbl:COMPLETE,Col:COMPLETE,Output:["d_date_sk","d_year"] - <-Map 36 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1798] - PartitionCols:_col0 - Select Operator [SEL_1796] (rows=143966864 width=7) - Output:["_col0","_col1"] - Filter Operator [FIL_1795] (rows=143966864 width=7) - predicate:((ws_sold_date_sk BETWEEN DynamicValue(RS_28_date_dim_d_date_sk_min) AND DynamicValue(RS_28_date_dim_d_date_sk_max) and in_bloom_filter(ws_sold_date_sk, DynamicValue(RS_28_date_dim_d_date_sk_bloom_filter))) and ws_sold_date_sk is not null) - TableScan [TS_21] (rows=144002668 width=7) - default@web_sales,web_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ws_sold_date_sk","ws_quantity"] - <-Reducer 41 [BROADCAST_EDGE] vectorized - BROADCAST [RS_1794] - Group By Operator [GBY_1793] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 40 [CUSTOM_SIMPLE_EDGE] vectorized - SHUFFLE [RS_1791] - Group By Operator [GBY_1789] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_1782] (rows=1957 width=4) - Output:["_col0"] - Please refer to the previous Select Operator [SEL_1780] - <-Reducer 32 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1719] - Select Operator [SEL_1718] (rows=1 width=112) - Output:["_col0"] - Group By Operator [GBY_1717] (rows=1 width=120) - Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)","count(VALUE._col1)"] - <-Union 31 [CUSTOM_SIMPLE_EDGE] - <-Reducer 30 [CONTAINS] - Reduce Output Operator [RS_1514] - Group By Operator [GBY_1513] (rows=1 width=120) - Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] - Select Operator [SEL_1512] (rows=26270325 width=44) - Output:["_col0"] - Select Operator [SEL_1510] (rows=7676736 width=94) - Output:["_col0","_col1"] - Merge Join Operator [MERGEJOIN_1509] (rows=7676736 width=94) - Conds:RS_1777._col0=RS_1758._col0(Inner),Output:["_col1","_col2"] - <-Map 24 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1758] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1752] - <-Map 50 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1777] - PartitionCols:_col0 - Select Operator [SEL_1775] (rows=286549727 width=119) - Output:["_col0","_col1","_col2"] - Filter Operator [FIL_1774] (rows=286549727 width=119) - predicate:((cs_sold_date_sk BETWEEN DynamicValue(RS_62_date_dim_d_date_sk_min) AND DynamicValue(RS_62_date_dim_d_date_sk_max) and in_bloom_filter(cs_sold_date_sk, DynamicValue(RS_62_date_dim_d_date_sk_bloom_filter))) and cs_sold_date_sk is not null) - TableScan [TS_55] (rows=287989836 width=119) - default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["cs_sold_date_sk","cs_quantity","cs_list_price"] - <-Reducer 29 [BROADCAST_EDGE] vectorized - BROADCAST [RS_1773] - Group By Operator [GBY_1772] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 24 [CUSTOM_SIMPLE_EDGE] vectorized - SHUFFLE [RS_1764] - Group By Operator [GBY_1762] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_1756] (rows=1957 width=4) - Output:["_col0"] - Please refer to the previous Select Operator [SEL_1752] - <-Reducer 44 [CONTAINS] - Reduce Output Operator [RS_1550] - Group By Operator [GBY_1549] (rows=1 width=120) - Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] - Select Operator [SEL_1548] (rows=26270325 width=44) - Output:["_col0"] - Select Operator [SEL_1546] (rows=3856907 width=114) - Output:["_col0","_col1"] - Merge Join Operator [MERGEJOIN_1545] (rows=3856907 width=114) - Conds:RS_1805._col0=RS_1786._col0(Inner),Output:["_col1","_col2"] - <-Map 40 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1786] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1780] - <-Map 51 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1805] - PartitionCols:_col0 - Select Operator [SEL_1803] (rows=143966864 width=119) - Output:["_col0","_col1","_col2"] - Filter Operator [FIL_1802] (rows=143966864 width=119) - predicate:((ws_sold_date_sk BETWEEN DynamicValue(RS_73_date_dim_d_date_sk_min) AND DynamicValue(RS_73_date_dim_d_date_sk_max) and in_bloom_filter(ws_sold_date_sk, DynamicValue(RS_73_date_dim_d_date_sk_bloom_filter))) and ws_sold_date_sk is not null) - TableScan [TS_66] (rows=144002668 width=119) - default@web_sales,web_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ws_sold_date_sk","ws_quantity","ws_list_price"] - <-Reducer 43 [BROADCAST_EDGE] vectorized - BROADCAST [RS_1801] - Group By Operator [GBY_1800] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 40 [CUSTOM_SIMPLE_EDGE] vectorized - SHUFFLE [RS_1792] - Group By Operator [GBY_1790] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_1784] (rows=1957 width=4) - Output:["_col0"] - Please refer to the previous Select Operator [SEL_1780] - <-Reducer 48 [CONTAINS] - Reduce Output Operator [RS_1568] - Group By Operator [GBY_1567] (rows=1 width=120) - Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] - Select Operator [SEL_1566] (rows=26270325 width=44) - Output:["_col0"] - Select Operator [SEL_1564] (rows=14736682 width=0) - Output:["_col0","_col1"] - Merge Join Operator [MERGEJOIN_1563] (rows=14736682 width=0) - Conds:RS_1812._col0=RS_1624._col0(Inner),Output:["_col1","_col2"] - <-Map 93 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1624] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1612] - <-Map 46 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1812] - PartitionCols:_col0 - Select Operator [SEL_1810] (rows=550076554 width=114) - Output:["_col0","_col1","_col2"] - Filter Operator [FIL_1809] (rows=550076554 width=114) - predicate:((ss_sold_date_sk BETWEEN DynamicValue(RS_52_date_dim_d_date_sk_min) AND DynamicValue(RS_52_date_dim_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, DynamicValue(RS_52_date_dim_d_date_sk_bloom_filter))) and ss_sold_date_sk is not null) - TableScan [TS_45] (rows=575995635 width=114) - default@store_sales,store_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ss_sold_date_sk","ss_quantity","ss_list_price"] - <-Reducer 100 [BROADCAST_EDGE] vectorized - BROADCAST [RS_1808] - Group By Operator [GBY_1807] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 93 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1636] - Group By Operator [GBY_1631] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_1622] (rows=1957 width=4) - Output:["_col0"] - Please refer to the previous Select Operator [SEL_1612] - <-Reducer 62 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1730] - Group By Operator [GBY_1729] (rows=1 width=132) + Filter Operator [FIL_1172] (rows=1 width=244) + predicate:(_col3 > _col5) + Merge Join Operator [MERGEJOIN_1171] (rows=1 width=244) + Conds:(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5"] + <-Reducer 15 [CUSTOM_SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1346] + Group By Operator [GBY_1345] (rows=1 width=132) Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(VALUE._col0)","count(VALUE._col1)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Reducer 61 [SIMPLE_EDGE] - SHUFFLE [RS_371] + <-Reducer 14 [SIMPLE_EDGE] + SHUFFLE [RS_241] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_370] (rows=1 width=132) + Group By Operator [GBY_240] (rows=1 width=132) Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(_col3)","count()"],keys:_col0, _col1, _col2 - Select Operator [SEL_368] (rows=1 width=128) + Select Operator [SEL_238] (rows=1 width=128) Output:["_col0","_col1","_col2","_col3"] - Merge Join Operator [MERGEJOIN_1438] (rows=1 width=128) - Conds:RS_365._col1=RS_366._col0(Left Semi),Output:["_col2","_col3","_col6","_col7","_col8"] - <-Reducer 60 [ONE_TO_ONE_EDGE] - FORWARD [RS_365] + Merge Join Operator [MERGEJOIN_1159] (rows=1 width=128) + Conds:RS_235._col1=RS_236._col0(Left Semi),Output:["_col2","_col3","_col6","_col7","_col8"] + <-Reducer 13 [ONE_TO_ONE_EDGE] + FORWARD [RS_235] PartitionCols:_col1 - Merge Join Operator [MERGEJOIN_1414] (rows=7790806 width=110) - Conds:RS_360._col1=RS_1695._col0(Inner),Output:["_col1","_col2","_col3","_col6","_col7","_col8"] - <-Map 69 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1695] + Merge Join Operator [MERGEJOIN_1135] (rows=7790806 width=110) + Conds:RS_230._col1=RS_1317._col0(Inner),Output:["_col1","_col2","_col3","_col6","_col7","_col8"] + <-Map 24 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1317] PartitionCols:_col0 - Select Operator [SEL_1686] (rows=462000 width=15) + Select Operator [SEL_1308] (rows=462000 width=15) Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_1677] (rows=462000 width=15) + Filter Operator [FIL_1299] (rows=462000 width=15) predicate:i_item_sk is not null - TableScan [TS_88] (rows=462000 width=15) + TableScan [TS_6] (rows=462000 width=15) default@item,item,Tbl:COMPLETE,Col:COMPLETE,Output:["i_item_sk","i_brand_id","i_class_id","i_category_id"] - <-Reducer 59 [SIMPLE_EDGE] - SHUFFLE [RS_360] + <-Reducer 12 [SIMPLE_EDGE] + SHUFFLE [RS_230] PartitionCols:_col1 - Merge Join Operator [MERGEJOIN_1413] (rows=7790806 width=98) - Conds:RS_1724._col0=RS_1657._col0(Inner),Output:["_col1","_col2","_col3"] - <-Map 57 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1657] + Merge Join Operator [MERGEJOIN_1134] (rows=7790806 width=98) + Conds:RS_1340._col0=RS_1279._col0(Inner),Output:["_col1","_col2","_col3"] + <-Map 10 [SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1279] PartitionCols:_col0 - Select Operator [SEL_1654] (rows=50 width=4) + Select Operator [SEL_1276] (rows=50 width=4) Output:["_col0"] - Filter Operator [FIL_1653] (rows=50 width=12) + Filter Operator [FIL_1275] (rows=50 width=12) predicate:((d_moy = 11) and (d_year = 2000) and d_date_sk is not null) - TableScan [TS_85] (rows=73049 width=12) + TableScan [TS_3] (rows=73049 width=12) default@date_dim,date_dim,Tbl:COMPLETE,Col:COMPLETE,Output:["d_date_sk","d_year","d_moy"] - <-Map 103 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1724] + <-Map 79 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1340] PartitionCols:_col0 - Select Operator [SEL_1723] (rows=286549727 width=123) + Select Operator [SEL_1339] (rows=286549727 width=123) Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_1722] (rows=286549727 width=123) - predicate:((cs_sold_date_sk BETWEEN DynamicValue(RS_358_date_dim_d_date_sk_min) AND DynamicValue(RS_358_date_dim_d_date_sk_max) and in_bloom_filter(cs_sold_date_sk, DynamicValue(RS_358_date_dim_d_date_sk_bloom_filter))) and cs_item_sk is not null and cs_sold_date_sk is not null) - TableScan [TS_273] (rows=287989836 width=123) + Filter Operator [FIL_1338] (rows=286549727 width=123) + predicate:((cs_sold_date_sk BETWEEN DynamicValue(RS_228_date_dim_d_date_sk_min) AND DynamicValue(RS_228_date_dim_d_date_sk_max) and in_bloom_filter(cs_sold_date_sk, DynamicValue(RS_228_date_dim_d_date_sk_bloom_filter))) and cs_item_sk is not null and cs_sold_date_sk is not null) + TableScan [TS_143] (rows=287989836 width=123) default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["cs_sold_date_sk","cs_item_sk","cs_quantity","cs_list_price"] - <-Reducer 63 [BROADCAST_EDGE] vectorized - BROADCAST [RS_1721] - Group By Operator [GBY_1720] (rows=1 width=12) + <-Reducer 17 [BROADCAST_EDGE] vectorized + BROADCAST [RS_1337] + Group By Operator [GBY_1336] (rows=1 width=12) Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 57 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1665] - Group By Operator [GBY_1662] (rows=1 width=12) + <-Map 10 [CUSTOM_SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1287] + Group By Operator [GBY_1284] (rows=1 width=12) Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_1658] (rows=50 width=4) + Select Operator [SEL_1280] (rows=50 width=4) Output:["_col0"] - Please refer to the previous Select Operator [SEL_1654] - <-Reducer 78 [SIMPLE_EDGE] - SHUFFLE [RS_366] + Please refer to the previous Select Operator [SEL_1276] + <-Reducer 33 [SIMPLE_EDGE] + SHUFFLE [RS_236] PartitionCols:_col0 - Group By Operator [GBY_364] (rows=362 width=4) + Group By Operator [GBY_234] (rows=362 width=4) Output:["_col0"],keys:_col0 - Merge Join Operator [MERGEJOIN_1421] (rows=724 width=4) - Conds:RS_1696._col1, _col2, _col3=RS_1728._col0, _col1, _col2(Inner),Output:["_col0"] - <-Map 69 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1696] + Merge Join Operator [MERGEJOIN_1142] (rows=724 width=4) + Conds:RS_1318._col1, _col2, _col3=RS_1344._col0, _col1, _col2(Inner),Output:["_col0"] + <-Map 24 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1318] PartitionCols:_col1, _col2, _col3 - Select Operator [SEL_1687] (rows=458612 width=15) + Select Operator [SEL_1309] (rows=458612 width=15) Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_1678] (rows=458612 width=15) + Filter Operator [FIL_1300] (rows=458612 width=15) predicate:(i_brand_id is not null and i_category_id is not null and i_class_id is not null and i_item_sk is not null) - Please refer to the previous TableScan [TS_88] - <-Reducer 77 [ONE_TO_ONE_EDGE] vectorized - FORWARD [RS_1728] + Please refer to the previous TableScan [TS_6] + <-Reducer 32 [ONE_TO_ONE_EDGE] vectorized + FORWARD [RS_1344] PartitionCols:_col0, _col1, _col2 - Select Operator [SEL_1727] (rows=1 width=12) + Select Operator [SEL_1343] (rows=1 width=12) Output:["_col0","_col1","_col2"] - Filter Operator [FIL_1726] (rows=1 width=20) + Filter Operator [FIL_1342] (rows=1 width=20) predicate:(_col3 = 3L) - Group By Operator [GBY_1725] (rows=121728 width=19) + Group By Operator [GBY_1341] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Union 76 [SIMPLE_EDGE] - <-Reducer 75 [CONTAINS] vectorized - Reduce Output Operator [RS_1824] + <-Union 31 [SIMPLE_EDGE] + <-Reducer 30 [CONTAINS] vectorized + Reduce Output Operator [RS_1394] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_1823] (rows=121728 width=19) + Group By Operator [GBY_1393] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(_col3)"],keys:_col0, _col1, _col2 - Group By Operator [GBY_1822] (rows=121728 width=19) + Group By Operator [GBY_1392] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Reducer 71 [SIMPLE_EDGE] - SHUFFLE [RS_302] + <-Reducer 26 [SIMPLE_EDGE] + SHUFFLE [RS_172] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_110] (rows=121728 width=19) + Group By Operator [GBY_28] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count()"],keys:_col4, _col5, _col6 - Merge Join Operator [MERGEJOIN_1401] (rows=14628613 width=11) - Conds:RS_106._col1=RS_1692._col0(Inner),Output:["_col4","_col5","_col6"] - <-Map 69 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1692] + Merge Join Operator [MERGEJOIN_1125] (rows=14628613 width=11) + Conds:RS_24._col1=RS_1314._col0(Inner),Output:["_col4","_col5","_col6"] + <-Map 24 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1314] PartitionCols:_col0 - Select Operator [SEL_1683] (rows=458612 width=15) + Select Operator [SEL_1305] (rows=458612 width=15) Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_1674] (rows=458612 width=15) + Filter Operator [FIL_1296] (rows=458612 width=15) predicate:(i_brand_id is not null and i_category_id is not null and i_class_id is not null and i_item_sk is not null) - Please refer to the previous TableScan [TS_88] - <-Reducer 92 [SIMPLE_EDGE] - SHUFFLE [RS_106] + Please refer to the previous TableScan [TS_6] + <-Reducer 47 [SIMPLE_EDGE] + SHUFFLE [RS_24] PartitionCols:_col1 - Merge Join Operator [MERGEJOIN_1400] (rows=14736682 width=4) - Conds:RS_1818._col0=RS_1613._col0(Inner),Output:["_col1"] - <-Map 93 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1613] + Merge Join Operator [MERGEJOIN_1124] (rows=14736682 width=4) + Conds:RS_1388._col0=RS_1366._col0(Inner),Output:["_col1"] + <-Map 48 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1366] PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1612] - <-Map 91 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1818] + Select Operator [SEL_1365] (rows=1957 width=4) + Output:["_col0"] + Filter Operator [FIL_1364] (rows=1957 width=8) + predicate:(d_date_sk is not null and d_year BETWEEN 1999 AND 2001) + TableScan [TS_15] (rows=73049 width=8) + default@date_dim,d1,Tbl:COMPLETE,Col:COMPLETE,Output:["d_date_sk","d_year"] + <-Map 46 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1388] PartitionCols:_col0 - Select Operator [SEL_1817] (rows=550076554 width=7) + Select Operator [SEL_1387] (rows=550076554 width=7) Output:["_col0","_col1"] - Filter Operator [FIL_1816] (rows=550076554 width=7) - predicate:((ss_sold_date_sk BETWEEN DynamicValue(RS_104_d1_d_date_sk_min) AND DynamicValue(RS_104_d1_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, DynamicValue(RS_104_d1_d_date_sk_bloom_filter))) and ss_item_sk is not null and ss_sold_date_sk is not null) - TableScan [TS_94] (rows=575995635 width=7) + Filter Operator [FIL_1386] (rows=550076554 width=7) + predicate:((ss_sold_date_sk BETWEEN DynamicValue(RS_22_d1_d_date_sk_min) AND DynamicValue(RS_22_d1_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, DynamicValue(RS_22_d1_d_date_sk_bloom_filter))) and ss_item_sk is not null and ss_sold_date_sk is not null) + TableScan [TS_12] (rows=575995635 width=7) default@store_sales,store_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ss_sold_date_sk","ss_item_sk"] - <-Reducer 94 [BROADCAST_EDGE] vectorized - BROADCAST [RS_1815] - Group By Operator [GBY_1814] (rows=1 width=12) + <-Reducer 49 [BROADCAST_EDGE] vectorized + BROADCAST [RS_1385] + Group By Operator [GBY_1384] (rows=1 width=12) Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 93 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1632] - Group By Operator [GBY_1627] (rows=1 width=12) + <-Map 48 [CUSTOM_SIMPLE_EDGE] vectorized + SHUFFLE [RS_1380] + Group By Operator [GBY_1376] (rows=1 width=12) Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_1614] (rows=1957 width=4) + Select Operator [SEL_1367] (rows=1957 width=4) Output:["_col0"] - Please refer to the previous Select Operator [SEL_1612] - <-Reducer 85 [CONTAINS] vectorized - Reduce Output Operator [RS_1838] + Please refer to the previous Select Operator [SEL_1365] + <-Reducer 40 [CONTAINS] vectorized + Reduce Output Operator [RS_1408] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_1837] (rows=121728 width=19) + Group By Operator [GBY_1407] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(_col3)"],keys:_col0, _col1, _col2 - Group By Operator [GBY_1836] (rows=121728 width=19) + Group By Operator [GBY_1406] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Reducer 83 [SIMPLE_EDGE] - SHUFFLE [RS_322] + <-Reducer 38 [SIMPLE_EDGE] + SHUFFLE [RS_192] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_130] (rows=121728 width=19) + Group By Operator [GBY_48] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count()"],keys:_col4, _col5, _col6 - Merge Join Operator [MERGEJOIN_1403] (rows=7620440 width=11) - Conds:RS_126._col1=RS_1693._col0(Inner),Output:["_col4","_col5","_col6"] - <-Map 69 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1693] + Merge Join Operator [MERGEJOIN_1127] (rows=7620440 width=11) + Conds:RS_44._col1=RS_1315._col0(Inner),Output:["_col4","_col5","_col6"] + <-Map 24 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1315] PartitionCols:_col0 - Select Operator [SEL_1684] (rows=458612 width=15) + Select Operator [SEL_1306] (rows=458612 width=15) Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_1675] (rows=458612 width=15) + Filter Operator [FIL_1297] (rows=458612 width=15) predicate:(i_brand_id is not null and i_category_id is not null and i_class_id is not null and i_item_sk is not null) - Please refer to the previous TableScan [TS_88] - <-Reducer 95 [SIMPLE_EDGE] - SHUFFLE [RS_126] + Please refer to the previous TableScan [TS_6] + <-Reducer 50 [SIMPLE_EDGE] + SHUFFLE [RS_44] PartitionCols:_col1 - Merge Join Operator [MERGEJOIN_1402] (rows=7676736 width=4) - Conds:RS_1832._col0=RS_1615._col0(Inner),Output:["_col1"] - <-Map 93 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1615] + Merge Join Operator [MERGEJOIN_1126] (rows=7676736 width=4) + Conds:RS_1402._col0=RS_1368._col0(Inner),Output:["_col1"] + <-Map 48 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1368] PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1612] - <-Map 101 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1832] + Please refer to the previous Select Operator [SEL_1365] + <-Map 64 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1402] PartitionCols:_col0 - Select Operator [SEL_1831] (rows=286549727 width=7) + Select Operator [SEL_1401] (rows=286549727 width=7) Output:["_col0","_col1"] - Filter Operator [FIL_1830] (rows=286549727 width=7) - predicate:((cs_sold_date_sk BETWEEN DynamicValue(RS_124_d2_d_date_sk_min) AND DynamicValue(RS_124_d2_d_date_sk_max) and in_bloom_filter(cs_sold_date_sk, DynamicValue(RS_124_d2_d_date_sk_bloom_filter))) and cs_item_sk is not null and cs_sold_date_sk is not null) - TableScan [TS_114] (rows=287989836 width=7) + Filter Operator [FIL_1400] (rows=286549727 width=7) + predicate:((cs_sold_date_sk BETWEEN DynamicValue(RS_42_d2_d_date_sk_min) AND DynamicValue(RS_42_d2_d_date_sk_max) and in_bloom_filter(cs_sold_date_sk, DynamicValue(RS_42_d2_d_date_sk_bloom_filter))) and cs_item_sk is not null and cs_sold_date_sk is not null) + TableScan [TS_32] (rows=287989836 width=7) default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["cs_sold_date_sk","cs_item_sk"] - <-Reducer 96 [BROADCAST_EDGE] vectorized - BROADCAST [RS_1829] - Group By Operator [GBY_1828] (rows=1 width=12) + <-Reducer 51 [BROADCAST_EDGE] vectorized + BROADCAST [RS_1399] + Group By Operator [GBY_1398] (rows=1 width=12) Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 93 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1633] - Group By Operator [GBY_1628] (rows=1 width=12) + <-Map 48 [CUSTOM_SIMPLE_EDGE] vectorized + SHUFFLE [RS_1381] + Group By Operator [GBY_1377] (rows=1 width=12) Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_1616] (rows=1957 width=4) + Select Operator [SEL_1369] (rows=1957 width=4) Output:["_col0"] - Please refer to the previous Select Operator [SEL_1612] - <-Reducer 89 [CONTAINS] vectorized - Reduce Output Operator [RS_1852] + Please refer to the previous Select Operator [SEL_1365] + <-Reducer 44 [CONTAINS] vectorized + Reduce Output Operator [RS_1422] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_1851] (rows=121728 width=19) + Group By Operator [GBY_1421] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(_col3)"],keys:_col0, _col1, _col2 - Group By Operator [GBY_1850] (rows=121728 width=19) + Group By Operator [GBY_1420] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Reducer 87 [SIMPLE_EDGE] - SHUFFLE [RS_343] + <-Reducer 42 [SIMPLE_EDGE] + SHUFFLE [RS_213] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_151] (rows=121728 width=19) + Group By Operator [GBY_69] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count()"],keys:_col4, _col5, _col6 - Merge Join Operator [MERGEJOIN_1405] (rows=3828623 width=11) - Conds:RS_147._col1=RS_1694._col0(Inner),Output:["_col4","_col5","_col6"] - <-Map 69 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1694] + Merge Join Operator [MERGEJOIN_1129] (rows=3828623 width=11) + Conds:RS_65._col1=RS_1316._col0(Inner),Output:["_col4","_col5","_col6"] + <-Map 24 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1316] PartitionCols:_col0 - Select Operator [SEL_1685] (rows=458612 width=15) + Select Operator [SEL_1307] (rows=458612 width=15) Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_1676] (rows=458612 width=15) + Filter Operator [FIL_1298] (rows=458612 width=15) predicate:(i_brand_id is not null and i_category_id is not null and i_class_id is not null and i_item_sk is not null) - Please refer to the previous TableScan [TS_88] - <-Reducer 97 [SIMPLE_EDGE] - SHUFFLE [RS_147] + Please refer to the previous TableScan [TS_6] + <-Reducer 52 [SIMPLE_EDGE] + SHUFFLE [RS_65] PartitionCols:_col1 - Merge Join Operator [MERGEJOIN_1404] (rows=3856907 width=4) - Conds:RS_1846._col0=RS_1617._col0(Inner),Output:["_col1"] - <-Map 93 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1617] + Merge Join Operator [MERGEJOIN_1128] (rows=3856907 width=4) + Conds:RS_1416._col0=RS_1370._col0(Inner),Output:["_col1"] + <-Map 48 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1370] PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1612] - <-Map 102 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1846] + Please refer to the previous Select Operator [SEL_1365] + <-Map 65 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1416] PartitionCols:_col0 - Select Operator [SEL_1845] (rows=143966864 width=7) + Select Operator [SEL_1415] (rows=143966864 width=7) Output:["_col0","_col1"] - Filter Operator [FIL_1844] (rows=143966864 width=7) - predicate:((ws_sold_date_sk BETWEEN DynamicValue(RS_145_d3_d_date_sk_min) AND DynamicValue(RS_145_d3_d_date_sk_max) and in_bloom_filter(ws_sold_date_sk, DynamicValue(RS_145_d3_d_date_sk_bloom_filter))) and ws_item_sk is not null and ws_sold_date_sk is not null) - TableScan [TS_135] (rows=144002668 width=7) + Filter Operator [FIL_1414] (rows=143966864 width=7) + predicate:((ws_sold_date_sk BETWEEN DynamicValue(RS_63_d3_d_date_sk_min) AND DynamicValue(RS_63_d3_d_date_sk_max) and in_bloom_filter(ws_sold_date_sk, DynamicValue(RS_63_d3_d_date_sk_bloom_filter))) and ws_item_sk is not null and ws_sold_date_sk is not null) + TableScan [TS_53] (rows=144002668 width=7) default@web_sales,web_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ws_sold_date_sk","ws_item_sk"] - <-Reducer 98 [BROADCAST_EDGE] vectorized - BROADCAST [RS_1843] - Group By Operator [GBY_1842] (rows=1 width=12) + <-Reducer 53 [BROADCAST_EDGE] vectorized + BROADCAST [RS_1413] + Group By Operator [GBY_1412] (rows=1 width=12) Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 93 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1634] - Group By Operator [GBY_1629] (rows=1 width=12) + <-Map 48 [CUSTOM_SIMPLE_EDGE] vectorized + SHUFFLE [RS_1382] + Group By Operator [GBY_1378] (rows=1 width=12) Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_1618] (rows=1957 width=4) + Select Operator [SEL_1371] (rows=1957 width=4) Output:["_col0"] - Please refer to the previous Select Operator [SEL_1612] - <-Reducer 19 [CONTAINS] - Reduce Output Operator [RS_1484] + Please refer to the previous Select Operator [SEL_1365] + <-Reducer 60 [CUSTOM_SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1349] + Select Operator [SEL_1348] (rows=1 width=112) + Output:["_col0"] + Group By Operator [GBY_1347] (rows=1 width=120) + Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)","count(VALUE._col1)"] + <-Union 59 [CUSTOM_SIMPLE_EDGE] + <-Reducer 58 [CONTAINS] + Reduce Output Operator [RS_1232] + Group By Operator [GBY_1231] (rows=1 width=120) + Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] + Select Operator [SEL_1230] (rows=26270325 width=44) + Output:["_col0"] + Select Operator [SEL_1228] (rows=14736682 width=0) + Output:["_col0","_col1"] + Merge Join Operator [MERGEJOIN_1227] (rows=14736682 width=0) + Conds:RS_1431._col0=RS_1374._col0(Inner),Output:["_col1","_col2"] + <-Map 48 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1374] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1365] + <-Map 66 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1431] + PartitionCols:_col0 + Select Operator [SEL_1429] (rows=550076554 width=114) + Output:["_col0","_col1","_col2"] + Filter Operator [FIL_1428] (rows=550076554 width=114) + predicate:((ss_sold_date_sk BETWEEN DynamicValue(RS_108_date_dim_d_date_sk_min) AND DynamicValue(RS_108_date_dim_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, DynamicValue(RS_108_date_dim_d_date_sk_bloom_filter))) and ss_sold_date_sk is not null) + TableScan [TS_101] (rows=575995635 width=114) + default@store_sales,store_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ss_sold_date_sk","ss_quantity","ss_list_price"] + <-Reducer 57 [BROADCAST_EDGE] vectorized + BROADCAST [RS_1427] + Group By Operator [GBY_1426] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] + <-Map 48 [CUSTOM_SIMPLE_EDGE] vectorized + SHUFFLE [RS_1383] + Group By Operator [GBY_1379] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] + Select Operator [SEL_1373] (rows=1957 width=4) + Output:["_col0"] + Please refer to the previous Select Operator [SEL_1365] + <-Reducer 69 [CONTAINS] + Reduce Output Operator [RS_1250] + Group By Operator [GBY_1249] (rows=1 width=120) + Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] + Select Operator [SEL_1248] (rows=26270325 width=44) + Output:["_col0"] + Select Operator [SEL_1246] (rows=7676736 width=94) + Output:["_col0","_col1"] + Merge Join Operator [MERGEJOIN_1245] (rows=7676736 width=94) + Conds:RS_1446._col0=RS_1437._col0(Inner),Output:["_col1","_col2"] + <-Map 71 [SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1437] + PartitionCols:_col0 + Select Operator [SEL_1434] (rows=1957 width=4) + Output:["_col0"] + Filter Operator [FIL_1433] (rows=1957 width=8) + predicate:(d_date_sk is not null and d_year BETWEEN 1998 AND 2000) + TableScan [TS_114] (rows=73049 width=8) + default@date_dim,date_dim,Tbl:COMPLETE,Col:COMPLETE,Output:["d_date_sk","d_year"] + <-Map 67 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1446] + PartitionCols:_col0 + Select Operator [SEL_1444] (rows=286549727 width=119) + Output:["_col0","_col1","_col2"] + Filter Operator [FIL_1443] (rows=286549727 width=119) + predicate:((cs_sold_date_sk BETWEEN DynamicValue(RS_118_date_dim_d_date_sk_min) AND DynamicValue(RS_118_date_dim_d_date_sk_max) and in_bloom_filter(cs_sold_date_sk, DynamicValue(RS_118_date_dim_d_date_sk_bloom_filter))) and cs_sold_date_sk is not null) + TableScan [TS_111] (rows=287989836 width=119) + default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["cs_sold_date_sk","cs_quantity","cs_list_price"] + <-Reducer 72 [BROADCAST_EDGE] vectorized + BROADCAST [RS_1442] + Group By Operator [GBY_1441] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] + <-Map 71 [CUSTOM_SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1440] + Group By Operator [GBY_1439] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] + Select Operator [SEL_1436] (rows=1957 width=4) + Output:["_col0"] + Please refer to the previous Select Operator [SEL_1434] + <-Reducer 75 [CONTAINS] + Reduce Output Operator [RS_1268] + Group By Operator [GBY_1267] (rows=1 width=120) + Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] + Select Operator [SEL_1266] (rows=26270325 width=44) + Output:["_col0"] + Select Operator [SEL_1264] (rows=3856907 width=114) + Output:["_col0","_col1"] + Merge Join Operator [MERGEJOIN_1263] (rows=3856907 width=114) + Conds:RS_1461._col0=RS_1452._col0(Inner),Output:["_col1","_col2"] + <-Map 77 [SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1452] + PartitionCols:_col0 + Select Operator [SEL_1449] (rows=1957 width=4) + Output:["_col0"] + Filter Operator [FIL_1448] (rows=1957 width=8) + predicate:(d_date_sk is not null and d_year BETWEEN 1998 AND 2000) + TableScan [TS_125] (rows=73049 width=8) + default@date_dim,date_dim,Tbl:COMPLETE,Col:COMPLETE,Output:["d_date_sk","d_year"] + <-Map 73 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1461] + PartitionCols:_col0 + Select Operator [SEL_1459] (rows=143966864 width=119) + Output:["_col0","_col1","_col2"] + Filter Operator [FIL_1458] (rows=143966864 width=119) + predicate:((ws_sold_date_sk BETWEEN DynamicValue(RS_129_date_dim_d_date_sk_min) AND DynamicValue(RS_129_date_dim_d_date_sk_max) and in_bloom_filter(ws_sold_date_sk, DynamicValue(RS_129_date_dim_d_date_sk_bloom_filter))) and ws_sold_date_sk is not null) + TableScan [TS_122] (rows=144002668 width=119) + default@web_sales,web_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ws_sold_date_sk","ws_quantity","ws_list_price"] + <-Reducer 78 [BROADCAST_EDGE] vectorized + BROADCAST [RS_1457] + Group By Operator [GBY_1456] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] + <-Map 77 [CUSTOM_SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1455] + Group By Operator [GBY_1454] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] + Select Operator [SEL_1451] (rows=1957 width=4) + Output:["_col0"] + Please refer to the previous Select Operator [SEL_1449] + <-Reducer 22 [CONTAINS] + Reduce Output Operator [RS_1184] PartitionCols:_col0, _col1, _col2, _col3, _col4 - Group By Operator [GBY_1483] (rows=7 width=200) + Group By Operator [GBY_1183] (rows=7 width=200) Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"],aggregations:["sum(_col4)","sum(_col5)"],keys:_col0, _col1, _col2, _col3, 0L - Top N Key Operator [TNK_1482] (rows=3 width=221) + Top N Key Operator [TNK_1182] (rows=3 width=221) keys:_col0, _col1, _col2, _col3, 0L,sort order:+++++,top n:100 - Select Operator [SEL_1480] (rows=1 width=219) + Select Operator [SEL_1180] (rows=1 width=219) Output:["_col0","_col1","_col2","_col3","_col4","_col5"] - Filter Operator [FIL_1479] (rows=1 width=244) - predicate:(_col5 > _col1) - Merge Join Operator [MERGEJOIN_1478] (rows=1 width=244) - Conds:(Inner),Output:["_col1","_col2","_col3","_col4","_col5","_col6"] - <-Reducer 18 [CUSTOM_SIMPLE_EDGE] - PARTITION_ONLY_SHUFFLE [RS_569] - Merge Join Operator [MERGEJOIN_1444] (rows=1 width=112) - Conds:(Inner),Output:["_col1"] - <-Reducer 17 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1736] - Select Operator [SEL_1735] (rows=1 width=8) - Filter Operator [FIL_1734] (rows=1 width=8) - predicate:(sq_count_check(_col0) <= 1) - Group By Operator [GBY_1733] (rows=1 width=8) - Output:["_col0"],aggregations:["count()"] - Select Operator [SEL_1732] (rows=1 width=8) - Group By Operator [GBY_1731] (rows=1 width=8) - Output:["_col0"],aggregations:["count(VALUE._col0)"] - <-Union 16 [CUSTOM_SIMPLE_EDGE] - <-Reducer 15 [CONTAINS] - Reduce Output Operator [RS_1477] - Group By Operator [GBY_1476] (rows=1 width=8) - Output:["_col0"],aggregations:["count(_col0)"] - Select Operator [SEL_1475] (rows=26270325 width=1) - Output:["_col0"] - Select Operator [SEL_1473] (rows=14736682 width=0) - Output:["_col0"] - Merge Join Operator [MERGEJOIN_1472] (rows=14736682 width=0) - Conds:RS_1643._col0=RS_1625._col0(Inner),Output:["_col1"] - <-Map 93 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1625] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1612] - <-Map 1 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1643] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1640] - <-Reducer 23 [CONTAINS] - Reduce Output Operator [RS_1502] - Group By Operator [GBY_1501] (rows=1 width=8) - Output:["_col0"],aggregations:["count(_col0)"] - Select Operator [SEL_1500] (rows=26270325 width=1) - Output:["_col0"] - Select Operator [SEL_1498] (rows=7676736 width=3) - Output:["_col0"] - Merge Join Operator [MERGEJOIN_1497] (rows=7676736 width=3) - Conds:RS_1771._col0=RS_1759._col0(Inner),Output:["_col1"] - <-Map 24 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1759] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1752] - <-Map 20 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1771] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1768] - <-Reducer 39 [CONTAINS] - Reduce Output Operator [RS_1538] - Group By Operator [GBY_1537] (rows=1 width=8) - Output:["_col0"],aggregations:["count(_col0)"] - Select Operator [SEL_1536] (rows=26270325 width=1) - Output:["_col0"] - Select Operator [SEL_1534] (rows=3856907 width=3) - Output:["_col0"] - Merge Join Operator [MERGEJOIN_1533] (rows=3856907 width=3) - Conds:RS_1799._col0=RS_1787._col0(Inner),Output:["_col1"] - <-Map 40 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1787] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1780] - <-Map 36 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1799] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1796] - <-Reducer 35 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1739] - Select Operator [SEL_1738] (rows=1 width=112) - Output:["_col0"] - Group By Operator [GBY_1737] (rows=1 width=120) - Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)","count(VALUE._col1)"] - <-Union 34 [CUSTOM_SIMPLE_EDGE] - <-Reducer 33 [CONTAINS] - Reduce Output Operator [RS_1520] - Group By Operator [GBY_1519] (rows=1 width=120) - Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] - Select Operator [SEL_1518] (rows=26270325 width=44) - Output:["_col0"] - Select Operator [SEL_1516] (rows=7676736 width=94) - Output:["_col0","_col1"] - Merge Join Operator [MERGEJOIN_1515] (rows=7676736 width=94) - Conds:RS_1778._col0=RS_1760._col0(Inner),Output:["_col1","_col2"] - <-Map 24 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1760] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1752] - <-Map 50 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1778] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1775] - <-Reducer 45 [CONTAINS] - Reduce Output Operator [RS_1556] - Group By Operator [GBY_1555] (rows=1 width=120) - Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] - Select Operator [SEL_1554] (rows=26270325 width=44) - Output:["_col0"] - Select Operator [SEL_1552] (rows=3856907 width=114) - Output:["_col0","_col1"] - Merge Join Operator [MERGEJOIN_1551] (rows=3856907 width=114) - Conds:RS_1806._col0=RS_1788._col0(Inner),Output:["_col1","_col2"] - <-Map 40 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1788] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1780] - <-Map 51 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1806] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1803] - <-Reducer 49 [CONTAINS] - Reduce Output Operator [RS_1574] - Group By Operator [GBY_1573] (rows=1 width=120) - Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] - Select Operator [SEL_1572] (rows=26270325 width=44) - Output:["_col0"] - Select Operator [SEL_1570] (rows=14736682 width=0) - Output:["_col0","_col1"] - Merge Join Operator [MERGEJOIN_1569] (rows=14736682 width=0) - Conds:RS_1813._col0=RS_1626._col0(Inner),Output:["_col1","_col2"] - <-Map 93 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1626] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1612] - <-Map 46 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1813] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1810] - <-Reducer 67 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1750] - Group By Operator [GBY_1749] (rows=1 width=132) + Filter Operator [FIL_1179] (rows=1 width=244) + predicate:(_col3 > _col5) + Merge Join Operator [MERGEJOIN_1178] (rows=1 width=244) + Conds:(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5"] + <-Reducer 21 [CUSTOM_SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1360] + Group By Operator [GBY_1359] (rows=1 width=132) Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(VALUE._col0)","count(VALUE._col1)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Reducer 66 [SIMPLE_EDGE] - SHUFFLE [RS_563] + <-Reducer 20 [SIMPLE_EDGE] + SHUFFLE [RS_385] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_562] (rows=1 width=132) + Group By Operator [GBY_384] (rows=1 width=132) Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(_col3)","count()"],keys:_col0, _col1, _col2 - Select Operator [SEL_560] (rows=1 width=128) + Select Operator [SEL_382] (rows=1 width=128) Output:["_col0","_col1","_col2","_col3"] - Merge Join Operator [MERGEJOIN_1439] (rows=1 width=128) - Conds:RS_557._col1=RS_558._col0(Left Semi),Output:["_col2","_col3","_col6","_col7","_col8"] - <-Reducer 65 [ONE_TO_ONE_EDGE] - FORWARD [RS_557] + Merge Join Operator [MERGEJOIN_1160] (rows=1 width=128) + Conds:RS_379._col1=RS_380._col0(Left Semi),Output:["_col2","_col3","_col6","_col7","_col8"] + <-Reducer 19 [ONE_TO_ONE_EDGE] + FORWARD [RS_379] PartitionCols:_col1 - Merge Join Operator [MERGEJOIN_1429] (rows=3942084 width=130) - Conds:RS_552._col1=RS_1697._col0(Inner),Output:["_col1","_col2","_col3","_col6","_col7","_col8"] - <-Map 69 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1697] + Merge Join Operator [MERGEJOIN_1147] (rows=3942084 width=130) + Conds:RS_374._col1=RS_1319._col0(Inner),Output:["_col1","_col2","_col3","_col6","_col7","_col8"] + <-Map 24 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1319] PartitionCols:_col0 - Select Operator [SEL_1688] (rows=462000 width=15) + Select Operator [SEL_1310] (rows=462000 width=15) Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_1679] (rows=462000 width=15) + Filter Operator [FIL_1301] (rows=462000 width=15) predicate:i_item_sk is not null - Please refer to the previous TableScan [TS_88] - <-Reducer 64 [SIMPLE_EDGE] - SHUFFLE [RS_552] + Please refer to the previous TableScan [TS_6] + <-Reducer 18 [SIMPLE_EDGE] + SHUFFLE [RS_374] PartitionCols:_col1 - Merge Join Operator [MERGEJOIN_1428] (rows=3942084 width=118) - Conds:RS_1744._col0=RS_1659._col0(Inner),Output:["_col1","_col2","_col3"] - <-Map 57 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1659] + Merge Join Operator [MERGEJOIN_1146] (rows=3942084 width=118) + Conds:RS_1354._col0=RS_1281._col0(Inner),Output:["_col1","_col2","_col3"] + <-Map 10 [SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1281] PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1654] - <-Map 104 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1744] + Please refer to the previous Select Operator [SEL_1276] + <-Map 80 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1354] PartitionCols:_col0 - Select Operator [SEL_1743] (rows=143966864 width=123) + Select Operator [SEL_1353] (rows=143966864 width=123) Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_1742] (rows=143966864 width=123) - predicate:((ws_sold_date_sk BETWEEN DynamicValue(RS_550_date_dim_d_date_sk_min) AND DynamicValue(RS_550_date_dim_d_date_sk_max) and in_bloom_filter(ws_sold_date_sk, DynamicValue(RS_550_date_dim_d_date_sk_bloom_filter))) and ws_item_sk is not null and ws_sold_date_sk is not null) - TableScan [TS_465] (rows=144002668 width=123) + Filter Operator [FIL_1352] (rows=143966864 width=123) + predicate:((ws_sold_date_sk BETWEEN DynamicValue(RS_372_date_dim_d_date_sk_min) AND DynamicValue(RS_372_date_dim_d_date_sk_max) and in_bloom_filter(ws_sold_date_sk, DynamicValue(RS_372_date_dim_d_date_sk_bloom_filter))) and ws_item_sk is not null and ws_sold_date_sk is not null) + TableScan [TS_287] (rows=144002668 width=123) default@web_sales,web_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ws_sold_date_sk","ws_item_sk","ws_quantity","ws_list_price"] - <-Reducer 68 [BROADCAST_EDGE] vectorized - BROADCAST [RS_1741] - Group By Operator [GBY_1740] (rows=1 width=12) + <-Reducer 23 [BROADCAST_EDGE] vectorized + BROADCAST [RS_1351] + Group By Operator [GBY_1350] (rows=1 width=12) Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 57 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1666] - Group By Operator [GBY_1663] (rows=1 width=12) + <-Map 10 [CUSTOM_SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1288] + Group By Operator [GBY_1285] (rows=1 width=12) Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_1660] (rows=50 width=4) + Select Operator [SEL_1282] (rows=50 width=4) Output:["_col0"] - Please refer to the previous Select Operator [SEL_1654] - <-Reducer 82 [SIMPLE_EDGE] - SHUFFLE [RS_558] + Please refer to the previous Select Operator [SEL_1276] + <-Reducer 37 [SIMPLE_EDGE] + SHUFFLE [RS_380] PartitionCols:_col0 - Group By Operator [GBY_556] (rows=362 width=4) + Group By Operator [GBY_378] (rows=362 width=4) Output:["_col0"],keys:_col0 - Merge Join Operator [MERGEJOIN_1436] (rows=724 width=4) - Conds:RS_1698._col1, _col2, _col3=RS_1748._col0, _col1, _col2(Inner),Output:["_col0"] - <-Map 69 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1698] + Merge Join Operator [MERGEJOIN_1154] (rows=724 width=4) + Conds:RS_1320._col1, _col2, _col3=RS_1358._col0, _col1, _col2(Inner),Output:["_col0"] + <-Map 24 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1320] PartitionCols:_col1, _col2, _col3 - Select Operator [SEL_1689] (rows=458612 width=15) + Select Operator [SEL_1311] (rows=458612 width=15) Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_1680] (rows=458612 width=15) + Filter Operator [FIL_1302] (rows=458612 width=15) predicate:(i_brand_id is not null and i_category_id is not null and i_class_id is not null and i_item_sk is not null) - Please refer to the previous TableScan [TS_88] - <-Reducer 81 [ONE_TO_ONE_EDGE] vectorized - FORWARD [RS_1748] + Please refer to the previous TableScan [TS_6] + <-Reducer 36 [ONE_TO_ONE_EDGE] vectorized + FORWARD [RS_1358] PartitionCols:_col0, _col1, _col2 - Select Operator [SEL_1747] (rows=1 width=12) + Select Operator [SEL_1357] (rows=1 width=12) Output:["_col0","_col1","_col2"] - Filter Operator [FIL_1746] (rows=1 width=20) + Filter Operator [FIL_1356] (rows=1 width=20) predicate:(_col3 = 3L) - Group By Operator [GBY_1745] (rows=121728 width=19) + Group By Operator [GBY_1355] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Union 80 [SIMPLE_EDGE] - <-Reducer 79 [CONTAINS] vectorized - Reduce Output Operator [RS_1827] + <-Union 35 [SIMPLE_EDGE] + <-Reducer 34 [CONTAINS] vectorized + Reduce Output Operator [RS_1397] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_1826] (rows=121728 width=19) + Group By Operator [GBY_1396] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(_col3)"],keys:_col0, _col1, _col2 - Group By Operator [GBY_1825] (rows=121728 width=19) + Group By Operator [GBY_1395] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Reducer 71 [SIMPLE_EDGE] - SHUFFLE [RS_494] + <-Reducer 26 [SIMPLE_EDGE] + SHUFFLE [RS_316] PartitionCols:_col0, _col1, _col2 - Please refer to the previous Group By Operator [GBY_110] - <-Reducer 86 [CONTAINS] vectorized - Reduce Output Operator [RS_1841] + Please refer to the previous Group By Operator [GBY_28] + <-Reducer 41 [CONTAINS] vectorized + Reduce Output Operator [RS_1411] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_1840] (rows=121728 width=19) + Group By Operator [GBY_1410] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(_col3)"],keys:_col0, _col1, _col2 - Group By Operator [GBY_1839] (rows=121728 width=19) + Group By Operator [GBY_1409] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Reducer 83 [SIMPLE_EDGE] - SHUFFLE [RS_514] + <-Reducer 38 [SIMPLE_EDGE] + SHUFFLE [RS_336] PartitionCols:_col0, _col1, _col2 - Please refer to the previous Group By Operator [GBY_130] - <-Reducer 90 [CONTAINS] vectorized - Reduce Output Operator [RS_1855] + Please refer to the previous Group By Operator [GBY_48] + <-Reducer 45 [CONTAINS] vectorized + Reduce Output Operator [RS_1425] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_1854] (rows=121728 width=19) + Group By Operator [GBY_1424] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(_col3)"],keys:_col0, _col1, _col2 - Group By Operator [GBY_1853] (rows=121728 width=19) + Group By Operator [GBY_1423] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Reducer 87 [SIMPLE_EDGE] - SHUFFLE [RS_535] + <-Reducer 42 [SIMPLE_EDGE] + SHUFFLE [RS_357] PartitionCols:_col0, _col1, _col2 - Please refer to the previous Group By Operator [GBY_151] + Please refer to the previous Group By Operator [GBY_69] + <-Reducer 63 [CUSTOM_SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1363] + Select Operator [SEL_1362] (rows=1 width=112) + Output:["_col0"] + Group By Operator [GBY_1361] (rows=1 width=120) + Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)","count(VALUE._col1)"] + <-Union 62 [CUSTOM_SIMPLE_EDGE] + <-Reducer 61 [CONTAINS] + Reduce Output Operator [RS_1238] + Group By Operator [GBY_1237] (rows=1 width=120) + Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] + Select Operator [SEL_1236] (rows=26270325 width=44) + Output:["_col0"] + Select Operator [SEL_1234] (rows=14736682 width=0) + Output:["_col0","_col1"] + Merge Join Operator [MERGEJOIN_1233] (rows=14736682 width=0) + Conds:RS_1432._col0=RS_1375._col0(Inner),Output:["_col1","_col2"] + <-Map 48 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1375] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1365] + <-Map 66 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1432] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1429] + <-Reducer 70 [CONTAINS] + Reduce Output Operator [RS_1256] + Group By Operator [GBY_1255] (rows=1 width=120) + Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] + Select Operator [SEL_1254] (rows=26270325 width=44) + Output:["_col0"] + Select Operator [SEL_1252] (rows=7676736 width=94) + Output:["_col0","_col1"] + Merge Join Operator [MERGEJOIN_1251] (rows=7676736 width=94) + Conds:RS_1447._col0=RS_1438._col0(Inner),Output:["_col1","_col2"] + <-Map 71 [SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1438] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1434] + <-Map 67 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1447] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1444] + <-Reducer 76 [CONTAINS] + Reduce Output Operator [RS_1274] + Group By Operator [GBY_1273] (rows=1 width=120) + Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] + Select Operator [SEL_1272] (rows=26270325 width=44) + Output:["_col0"] + Select Operator [SEL_1270] (rows=3856907 width=114) + Output:["_col0","_col1"] + Merge Join Operator [MERGEJOIN_1269] (rows=3856907 width=114) + Conds:RS_1462._col0=RS_1453._col0(Inner),Output:["_col1","_col2"] + <-Map 77 [SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1453] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1449] + <-Map 73 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1462] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1459] <-Reducer 6 [CONTAINS] - Reduce Output Operator [RS_1458] + Reduce Output Operator [RS_1170] PartitionCols:_col0, _col1, _col2, _col3, _col4 - Group By Operator [GBY_1457] (rows=7 width=200) + Group By Operator [GBY_1169] (rows=7 width=200) Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"],aggregations:["sum(_col4)","sum(_col5)"],keys:_col0, _col1, _col2, _col3, 0L - Top N Key Operator [TNK_1456] (rows=3 width=221) + Top N Key Operator [TNK_1168] (rows=3 width=221) keys:_col0, _col1, _col2, _col3, 0L,sort order:+++++,top n:100 - Select Operator [SEL_1454] (rows=1 width=221) + Select Operator [SEL_1166] (rows=1 width=221) Output:["_col0","_col1","_col2","_col3","_col4","_col5"] - Filter Operator [FIL_1453] (rows=1 width=244) - predicate:(_col5 > _col1) - Merge Join Operator [MERGEJOIN_1452] (rows=1 width=244) - Conds:(Inner),Output:["_col1","_col2","_col3","_col4","_col5","_col6"] - <-Reducer 5 [CUSTOM_SIMPLE_EDGE] - PARTITION_ONLY_SHUFFLE [RS_186] - Merge Join Operator [MERGEJOIN_1440] (rows=1 width=112) - Conds:(Inner),Output:["_col1"] - <-Reducer 28 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1652] - Select Operator [SEL_1651] (rows=1 width=112) - Output:["_col0"] - Group By Operator [GBY_1650] (rows=1 width=120) - Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)","count(VALUE._col1)"] - <-Union 27 [CUSTOM_SIMPLE_EDGE] - <-Reducer 26 [CONTAINS] - Reduce Output Operator [RS_1508] - Group By Operator [GBY_1507] (rows=1 width=120) - Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] - Select Operator [SEL_1506] (rows=26270325 width=44) - Output:["_col0"] - Select Operator [SEL_1504] (rows=7676736 width=94) - Output:["_col0","_col1"] - Merge Join Operator [MERGEJOIN_1503] (rows=7676736 width=94) - Conds:RS_1776._col0=RS_1755._col0(Inner),Output:["_col1","_col2"] - <-Map 24 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1755] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1752] - <-Map 50 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1776] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1775] - <-Reducer 42 [CONTAINS] - Reduce Output Operator [RS_1544] - Group By Operator [GBY_1543] (rows=1 width=120) - Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] - Select Operator [SEL_1542] (rows=26270325 width=44) - Output:["_col0"] - Select Operator [SEL_1540] (rows=3856907 width=114) - Output:["_col0","_col1"] - Merge Join Operator [MERGEJOIN_1539] (rows=3856907 width=114) - Conds:RS_1804._col0=RS_1783._col0(Inner),Output:["_col1","_col2"] - <-Map 40 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1783] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1780] - <-Map 51 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1804] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1803] - <-Reducer 47 [CONTAINS] - Reduce Output Operator [RS_1562] - Group By Operator [GBY_1561] (rows=1 width=120) - Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] - Select Operator [SEL_1560] (rows=26270325 width=44) - Output:["_col0"] - Select Operator [SEL_1558] (rows=14736682 width=0) - Output:["_col0","_col1"] - Merge Join Operator [MERGEJOIN_1557] (rows=14736682 width=0) - Conds:RS_1811._col0=RS_1621._col0(Inner),Output:["_col1","_col2"] - <-Map 93 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1621] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1612] - <-Map 46 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1811] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1810] - <-Reducer 4 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1649] - Select Operator [SEL_1648] (rows=1 width=8) - Filter Operator [FIL_1647] (rows=1 width=8) - predicate:(sq_count_check(_col0) <= 1) - Group By Operator [GBY_1646] (rows=1 width=8) - Output:["_col0"],aggregations:["count()"] - Select Operator [SEL_1645] (rows=1 width=8) - Group By Operator [GBY_1644] (rows=1 width=8) - Output:["_col0"],aggregations:["count(VALUE._col0)"] - <-Union 3 [CUSTOM_SIMPLE_EDGE] - <-Reducer 2 [CONTAINS] - Reduce Output Operator [RS_1451] - Group By Operator [GBY_1450] (rows=1 width=8) - Output:["_col0"],aggregations:["count(_col0)"] - Select Operator [SEL_1449] (rows=26270325 width=1) - Output:["_col0"] - Select Operator [SEL_1447] (rows=14736682 width=0) - Output:["_col0"] - Merge Join Operator [MERGEJOIN_1446] (rows=14736682 width=0) - Conds:RS_1641._col0=RS_1619._col0(Inner),Output:["_col1"] - <-Map 93 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1619] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1612] - <-Map 1 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1641] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1640] - <-Reducer 21 [CONTAINS] - Reduce Output Operator [RS_1490] - Group By Operator [GBY_1489] (rows=1 width=8) - Output:["_col0"],aggregations:["count(_col0)"] - Select Operator [SEL_1488] (rows=26270325 width=1) - Output:["_col0"] - Select Operator [SEL_1486] (rows=7676736 width=3) - Output:["_col0"] - Merge Join Operator [MERGEJOIN_1485] (rows=7676736 width=3) - Conds:RS_1769._col0=RS_1753._col0(Inner),Output:["_col1"] - <-Map 24 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1753] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1752] - <-Map 20 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1769] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1768] - <-Reducer 37 [CONTAINS] - Reduce Output Operator [RS_1526] - Group By Operator [GBY_1525] (rows=1 width=8) - Output:["_col0"],aggregations:["count(_col0)"] - Select Operator [SEL_1524] (rows=26270325 width=1) - Output:["_col0"] - Select Operator [SEL_1522] (rows=3856907 width=3) - Output:["_col0"] - Merge Join Operator [MERGEJOIN_1521] (rows=3856907 width=3) - Conds:RS_1797._col0=RS_1781._col0(Inner),Output:["_col1"] - <-Map 40 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1781] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1780] - <-Map 36 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1797] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1796] - <-Reducer 56 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1704] - Group By Operator [GBY_1703] (rows=1 width=132) + Filter Operator [FIL_1165] (rows=1 width=244) + predicate:(_col3 > _col5) + Merge Join Operator [MERGEJOIN_1164] (rows=1 width=244) + Conds:(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5"] + <-Reducer 5 [CUSTOM_SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1326] + Group By Operator [GBY_1325] (rows=1 width=132) Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(VALUE._col0)","count(VALUE._col1)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Reducer 55 [SIMPLE_EDGE] - SHUFFLE [RS_180] + <-Reducer 4 [SIMPLE_EDGE] + SHUFFLE [RS_98] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_179] (rows=1 width=132) + Group By Operator [GBY_97] (rows=1 width=132) Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(_col3)","count()"],keys:_col0, _col1, _col2 - Select Operator [SEL_177] (rows=1 width=128) + Select Operator [SEL_95] (rows=1 width=128) Output:["_col0","_col1","_col2","_col3"] - Merge Join Operator [MERGEJOIN_1437] (rows=1 width=128) - Conds:RS_174._col1=RS_175._col0(Left Semi),Output:["_col2","_col3","_col6","_col7","_col8"] - <-Reducer 54 [ONE_TO_ONE_EDGE] - FORWARD [RS_174] - PartitionCols:_col1 - Merge Join Operator [MERGEJOIN_1399] (rows=15062131 width=15) - Conds:RS_169._col1=RS_1690._col0(Inner),Output:["_col1","_col2","_col3","_col6","_col7","_col8"] - <-Map 69 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1690] - PartitionCols:_col0 - Select Operator [SEL_1681] (rows=462000 width=15) - Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_1672] (rows=462000 width=15) - predicate:i_item_sk is not null - Please refer to the previous TableScan [TS_88] - <-Reducer 53 [SIMPLE_EDGE] - SHUFFLE [RS_169] - PartitionCols:_col1 - Merge Join Operator [MERGEJOIN_1398] (rows=15062131 width=4) - Conds:RS_1671._col0=RS_1655._col0(Inner),Output:["_col1","_col2","_col3"] - <-Map 57 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1655] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_1654] - <-Map 52 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1671] - PartitionCols:_col0 - Select Operator [SEL_1670] (rows=550076554 width=118) - Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_1669] (rows=550076554 width=118) - predicate:((ss_sold_date_sk BETWEEN DynamicValue(RS_167_date_dim_d_date_sk_min) AND DynamicValue(RS_167_date_dim_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, DynamicValue(RS_167_date_dim_d_date_sk_bloom_filter))) and ss_item_sk is not null and ss_sold_date_sk is not null) - TableScan [TS_82] (rows=575995635 width=118) - default@store_sales,store_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ss_sold_date_sk","ss_item_sk","ss_quantity","ss_list_price"] - <-Reducer 58 [BROADCAST_EDGE] vectorized - BROADCAST [RS_1668] - Group By Operator [GBY_1667] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 57 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_1664] - Group By Operator [GBY_1661] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_1656] (rows=50 width=4) - Output:["_col0"] - Please refer to the previous Select Operator [SEL_1654] - <-Reducer 70 [SIMPLE_EDGE] - SHUFFLE [RS_175] + Merge Join Operator [MERGEJOIN_1158] (rows=1 width=128) + Conds:RS_92._col1=RS_93._col0(Left Semi),Output:["_col2","_col3","_col6","_col7","_col8"] + <-Reducer 25 [SIMPLE_EDGE] + SHUFFLE [RS_93] PartitionCols:_col0 - Group By Operator [GBY_173] (rows=362 width=4) + Group By Operator [GBY_91] (rows=362 width=4) Output:["_col0"],keys:_col0 - Merge Join Operator [MERGEJOIN_1406] (rows=724 width=4) - Conds:RS_1691._col1, _col2, _col3=RS_1702._col0, _col1, _col2(Inner),Output:["_col0"] - <-Map 69 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_1691] + Merge Join Operator [MERGEJOIN_1130] (rows=724 width=4) + Conds:RS_1313._col1, _col2, _col3=RS_1324._col0, _col1, _col2(Inner),Output:["_col0"] + <-Map 24 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1313] PartitionCols:_col1, _col2, _col3 - Select Operator [SEL_1682] (rows=458612 width=15) + Select Operator [SEL_1304] (rows=458612 width=15) Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_1673] (rows=458612 width=15) + Filter Operator [FIL_1295] (rows=458612 width=15) predicate:(i_brand_id is not null and i_category_id is not null and i_class_id is not null and i_item_sk is not null) - Please refer to the previous TableScan [TS_88] - <-Reducer 74 [ONE_TO_ONE_EDGE] vectorized - FORWARD [RS_1702] + Please refer to the previous TableScan [TS_6] + <-Reducer 29 [ONE_TO_ONE_EDGE] vectorized + FORWARD [RS_1324] PartitionCols:_col0, _col1, _col2 - Select Operator [SEL_1701] (rows=1 width=12) + Select Operator [SEL_1323] (rows=1 width=12) Output:["_col0","_col1","_col2"] - Filter Operator [FIL_1700] (rows=1 width=20) + Filter Operator [FIL_1322] (rows=1 width=20) predicate:(_col3 = 3L) - Group By Operator [GBY_1699] (rows=121728 width=19) + Group By Operator [GBY_1321] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Union 73 [SIMPLE_EDGE] - <-Reducer 72 [CONTAINS] vectorized - Reduce Output Operator [RS_1821] + <-Union 28 [SIMPLE_EDGE] + <-Reducer 27 [CONTAINS] vectorized + Reduce Output Operator [RS_1391] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_1820] (rows=121728 width=19) + Group By Operator [GBY_1390] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(_col3)"],keys:_col0, _col1, _col2 - Group By Operator [GBY_1819] (rows=121728 width=19) + Group By Operator [GBY_1389] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Reducer 71 [SIMPLE_EDGE] - SHUFFLE [RS_111] + <-Reducer 26 [SIMPLE_EDGE] + SHUFFLE [RS_29] PartitionCols:_col0, _col1, _col2 - Please refer to the previous Group By Operator [GBY_110] - <-Reducer 84 [CONTAINS] vectorized - Reduce Output Operator [RS_1835] + Please refer to the previous Group By Operator [GBY_28] + <-Reducer 39 [CONTAINS] vectorized + Reduce Output Operator [RS_1405] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_1834] (rows=121728 width=19) + Group By Operator [GBY_1404] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(_col3)"],keys:_col0, _col1, _col2 - Group By Operator [GBY_1833] (rows=121728 width=19) + Group By Operator [GBY_1403] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Reducer 83 [SIMPLE_EDGE] - SHUFFLE [RS_131] + <-Reducer 38 [SIMPLE_EDGE] + SHUFFLE [RS_49] PartitionCols:_col0, _col1, _col2 - Please refer to the previous Group By Operator [GBY_130] - <-Reducer 88 [CONTAINS] vectorized - Reduce Output Operator [RS_1849] + Please refer to the previous Group By Operator [GBY_48] + <-Reducer 43 [CONTAINS] vectorized + Reduce Output Operator [RS_1419] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_1848] (rows=121728 width=19) + Group By Operator [GBY_1418] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(_col3)"],keys:_col0, _col1, _col2 - Group By Operator [GBY_1847] (rows=121728 width=19) + Group By Operator [GBY_1417] (rows=121728 width=19) Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2 - <-Reducer 87 [SIMPLE_EDGE] - SHUFFLE [RS_152] + <-Reducer 42 [SIMPLE_EDGE] + SHUFFLE [RS_70] PartitionCols:_col0, _col1, _col2 - Please refer to the previous Group By Operator [GBY_151] + Please refer to the previous Group By Operator [GBY_69] + <-Reducer 3 [ONE_TO_ONE_EDGE] + FORWARD [RS_92] + PartitionCols:_col1 + Merge Join Operator [MERGEJOIN_1123] (rows=15062131 width=15) + Conds:RS_87._col1=RS_1312._col0(Inner),Output:["_col1","_col2","_col3","_col6","_col7","_col8"] + <-Map 24 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1312] + PartitionCols:_col0 + Select Operator [SEL_1303] (rows=462000 width=15) + Output:["_col0","_col1","_col2","_col3"] + Filter Operator [FIL_1294] (rows=462000 width=15) + predicate:i_item_sk is not null + Please refer to the previous TableScan [TS_6] + <-Reducer 2 [SIMPLE_EDGE] + SHUFFLE [RS_87] + PartitionCols:_col1 + Merge Join Operator [MERGEJOIN_1122] (rows=15062131 width=4) + Conds:RS_1293._col0=RS_1277._col0(Inner),Output:["_col1","_col2","_col3"] + <-Map 10 [SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1277] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1276] + <-Map 1 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1293] + PartitionCols:_col0 + Select Operator [SEL_1292] (rows=550076554 width=118) + Output:["_col0","_col1","_col2","_col3"] + Filter Operator [FIL_1291] (rows=550076554 width=118) + predicate:((ss_sold_date_sk BETWEEN DynamicValue(RS_85_date_dim_d_date_sk_min) AND DynamicValue(RS_85_date_dim_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, DynamicValue(RS_85_date_dim_d_date_sk_bloom_filter))) and ss_item_sk is not null and ss_sold_date_sk is not null) + TableScan [TS_0] (rows=575995635 width=118) + default@store_sales,store_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ss_sold_date_sk","ss_item_sk","ss_quantity","ss_list_price"] + <-Reducer 11 [BROADCAST_EDGE] vectorized + BROADCAST [RS_1290] + Group By Operator [GBY_1289] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] + <-Map 10 [CUSTOM_SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1286] + Group By Operator [GBY_1283] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] + Select Operator [SEL_1278] (rows=50 width=4) + Output:["_col0"] + Please refer to the previous Select Operator [SEL_1276] + <-Reducer 56 [CUSTOM_SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1329] + Select Operator [SEL_1328] (rows=1 width=112) + Output:["_col0"] + Group By Operator [GBY_1327] (rows=1 width=120) + Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)","count(VALUE._col1)"] + <-Union 55 [CUSTOM_SIMPLE_EDGE] + <-Reducer 54 [CONTAINS] + Reduce Output Operator [RS_1226] + Group By Operator [GBY_1225] (rows=1 width=120) + Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] + Select Operator [SEL_1224] (rows=26270325 width=44) + Output:["_col0"] + Select Operator [SEL_1222] (rows=14736682 width=0) + Output:["_col0","_col1"] + Merge Join Operator [MERGEJOIN_1221] (rows=14736682 width=0) + Conds:RS_1430._col0=RS_1372._col0(Inner),Output:["_col1","_col2"] + <-Map 48 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1372] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1365] + <-Map 66 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1430] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1429] + <-Reducer 68 [CONTAINS] + Reduce Output Operator [RS_1244] + Group By Operator [GBY_1243] (rows=1 width=120) + Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] + Select Operator [SEL_1242] (rows=26270325 width=44) + Output:["_col0"] + Select Operator [SEL_1240] (rows=7676736 width=94) + Output:["_col0","_col1"] + Merge Join Operator [MERGEJOIN_1239] (rows=7676736 width=94) + Conds:RS_1445._col0=RS_1435._col0(Inner),Output:["_col1","_col2"] + <-Map 71 [SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1435] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1434] + <-Map 67 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1445] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1444] + <-Reducer 74 [CONTAINS] + Reduce Output Operator [RS_1262] + Group By Operator [GBY_1261] (rows=1 width=120) + Output:["_col0","_col1"],aggregations:["sum(_col0)","count(_col0)"] + Select Operator [SEL_1260] (rows=26270325 width=44) + Output:["_col0"] + Select Operator [SEL_1258] (rows=3856907 width=114) + Output:["_col0","_col1"] + Merge Join Operator [MERGEJOIN_1257] (rows=3856907 width=114) + Conds:RS_1460._col0=RS_1450._col0(Inner),Output:["_col1","_col2"] + <-Map 77 [SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_1450] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1449] + <-Map 73 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_1460] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_1459] diff --git a/ql/src/test/results/clientpositive/spark/subquery_scalar.q.out b/ql/src/test/results/clientpositive/spark/subquery_scalar.q.out index e204a01333..533af70af5 100644 --- a/ql/src/test/results/clientpositive/spark/subquery_scalar.q.out +++ b/ql/src/test/results/clientpositive/spark/subquery_scalar.q.out @@ -7052,3 +7052,88 @@ STAGE PLANS: Processor Tree: ListSink +PREHOOK: query: CREATE TABLE `store_sales`( + `ss_sold_date_sk` int, + `ss_quantity` int, + `ss_list_price` decimal(7,2)) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@store_sales +POSTHOOK: query: CREATE TABLE `store_sales`( + `ss_sold_date_sk` int, + `ss_quantity` int, + `ss_list_price` decimal(7,2)) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@store_sales +PREHOOK: query: CREATE TABLE `date_dim`( + `d_date_sk` int, + `d_year` int) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@date_dim +POSTHOOK: query: CREATE TABLE `date_dim`( + `d_date_sk` int, + `d_year` int) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@date_dim +Warning: Shuffle Join JOIN[19][tables = [$hdt$_0, $hdt$_1]] in Work 'Reducer 2' is a cross product +PREHOOK: query: explain cbo with avg_sales as + (select avg(quantity*list_price) average_sales + from (select ss_quantity quantity + ,ss_list_price list_price + from store_sales + ,date_dim + where ss_sold_date_sk = d_date_sk + and d_year between 1999 and 2001 ) x) +select * from store_sales where ss_list_price > (select average_sales from avg_sales) +PREHOOK: type: QUERY +PREHOOK: Input: default@date_dim +PREHOOK: Input: default@store_sales +#### A masked pattern was here #### +POSTHOOK: query: explain cbo with avg_sales as + (select avg(quantity*list_price) average_sales + from (select ss_quantity quantity + ,ss_list_price list_price + from store_sales + ,date_dim + where ss_sold_date_sk = d_date_sk + and d_year between 1999 and 2001 ) x) +select * from store_sales where ss_list_price > (select average_sales from avg_sales) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@date_dim +POSTHOOK: Input: default@store_sales +#### A masked pattern was here #### +CBO PLAN: +HiveProject(ss_sold_date_sk=[$0], ss_quantity=[$1], ss_list_price=[$2]) + HiveJoin(condition=[>($2, $3)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveProject(ss_sold_date_sk=[$0], ss_quantity=[$1], ss_list_price=[$2]) + HiveTableScan(table=[[default, store_sales]], table:alias=[store_sales]) + HiveProject($f0=[/($0, $1)]) + HiveAggregate(group=[{}], agg#0=[sum($0)], agg#1=[count($0)]) + HiveProject($f0=[*(CAST($1):DECIMAL(10, 0), $2)]) + HiveJoin(condition=[=($0, $3)], joinType=[inner], algorithm=[none], cost=[not available]) + HiveProject(ss_sold_date_sk=[$0], ss_quantity=[$1], ss_list_price=[$2]) + HiveFilter(condition=[IS NOT NULL($0)]) + HiveTableScan(table=[[default, store_sales]], table:alias=[store_sales]) + HiveProject(d_date_sk=[$0]) + HiveFilter(condition=[AND(BETWEEN(false, $1, 1999, 2001), IS NOT NULL($0))]) + HiveTableScan(table=[[default, date_dim]], table:alias=[date_dim]) + +PREHOOK: query: DROP TABLE store_sales +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@store_sales +PREHOOK: Output: default@store_sales +POSTHOOK: query: DROP TABLE store_sales +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@store_sales +POSTHOOK: Output: default@store_sales +PREHOOK: query: DROP TABLE date_dim +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@date_dim +PREHOOK: Output: default@date_dim +POSTHOOK: query: DROP TABLE date_dim +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@date_dim +POSTHOOK: Output: default@date_dim