You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2017/04/13 20:50:19 UTC

[14/26] hive git commit: HIVE-15708 : Upgrade calcite version to 1.12 (Remus Rusanu via Ashutosh Chauhan)

http://git-wip-us.apache.org/repos/asf/hive/blob/be59e024/ql/src/test/results/clientpositive/perf/query13.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query13.q.out b/ql/src/test/results/clientpositive/perf/query13.q.out
index 941a3a1..d67abe2 100644
--- a/ql/src/test/results/clientpositive/perf/query13.q.out
+++ b/ql/src/test/results/clientpositive/perf/query13.q.out
@@ -109,109 +109,105 @@ POSTHOOK: type: QUERY
 Plan optimized by CBO.
 
 Vertex dependency in root stage
-Reducer 2 <- Map 1 (SIMPLE_EDGE), Reducer 8 (SIMPLE_EDGE)
-Reducer 3 <- Reducer 2 (CUSTOM_SIMPLE_EDGE)
-Reducer 5 <- Map 4 (SIMPLE_EDGE), Map 9 (SIMPLE_EDGE)
-Reducer 6 <- Map 10 (SIMPLE_EDGE), Reducer 5 (SIMPLE_EDGE)
-Reducer 7 <- Map 11 (SIMPLE_EDGE), Reducer 6 (SIMPLE_EDGE)
-Reducer 8 <- Map 12 (SIMPLE_EDGE), Reducer 7 (SIMPLE_EDGE)
+Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 8 (SIMPLE_EDGE)
+Reducer 3 <- Map 9 (SIMPLE_EDGE), Reducer 2 (SIMPLE_EDGE)
+Reducer 4 <- Map 10 (SIMPLE_EDGE), Reducer 3 (SIMPLE_EDGE)
+Reducer 5 <- Map 11 (SIMPLE_EDGE), Reducer 4 (SIMPLE_EDGE)
+Reducer 6 <- Map 12 (SIMPLE_EDGE), Reducer 5 (SIMPLE_EDGE)
+Reducer 7 <- Reducer 6 (CUSTOM_SIMPLE_EDGE)
 
 Stage-0
   Fetch Operator
     limit:-1
     Stage-1
-      Reducer 3
-      File Output Operator [FS_43]
-        Group By Operator [GBY_41] (rows=1 width=764)
+      Reducer 7
+      File Output Operator [FS_40]
+        Group By Operator [GBY_38] (rows=1 width=764)
           Output:["_col0","_col1","_col2","_col3"],aggregations:["avg(VALUE._col0)","avg(VALUE._col1)","avg(VALUE._col2)","sum(VALUE._col3)"]
-        <-Reducer 2 [CUSTOM_SIMPLE_EDGE]
-          PARTITION_ONLY_SHUFFLE [RS_40]
-            Group By Operator [GBY_39] (rows=1 width=764)
-              Output:["_col0","_col1","_col2","_col3"],aggregations:["avg(_col7)","avg(_col9)","avg(_col10)","sum(_col10)"]
-              Merge Join Operator [MERGEJOIN_74] (rows=2016666 width=1014)
-                Conds:RS_35._col0=RS_36._col0(Inner),Output:["_col7","_col9","_col10"]
-              <-Map 1 [SIMPLE_EDGE]
-                SHUFFLE [RS_35]
-                  PartitionCols:_col0
-                  Select Operator [SEL_2] (rows=36524 width=1119)
-                    Output:["_col0"]
-                    Filter Operator [FIL_64] (rows=36524 width=1119)
-                      predicate:((d_year = 2001) and d_date_sk is not null)
-                      TableScan [TS_0] (rows=73049 width=1119)
-                        default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year"]
-              <-Reducer 8 [SIMPLE_EDGE]
-                SHUFFLE [RS_36]
-                  PartitionCols:_col0
-                  Select Operator [SEL_34] (rows=1833333 width=1014)
-                    Output:["_col0","_col5","_col7","_col8"]
-                    Filter Operator [FIL_33] (rows=1833333 width=1014)
-                      predicate:(((_col17) IN ('KY', 'GA', 'NM') and _col9 BETWEEN 100 AND 200) or ((_col17) IN ('MT', 'OR', 'IN') and _col9 BETWEEN 150 AND 300) or ((_col17) IN ('WI', 'MO', 'WV') and _col9 BETWEEN 50 AND 250))
-                      Merge Join Operator [MERGEJOIN_73] (rows=11000000 width=1014)
-                        Conds:RS_30._col3=RS_31._col0(Inner),Output:["_col0","_col5","_col7","_col8","_col9","_col17"]
-                      <-Map 12 [SIMPLE_EDGE]
-                        SHUFFLE [RS_31]
-                          PartitionCols:_col0
-                          Select Operator [SEL_29] (rows=10000000 width=1014)
-                            Output:["_col0","_col1"]
-                            Filter Operator [FIL_69] (rows=10000000 width=1014)
-                              predicate:((ca_state) IN ('KY', 'GA', 'NM', 'MT', 'OR', 'IN', 'WI', 'MO', 'WV') and (ca_country = 'United States') and ca_address_sk is not null)
-                              TableScan [TS_27] (rows=40000000 width=1014)
-                                default@customer_address,customer_address,Tbl:COMPLETE,Col:NONE,Output:["ca_address_sk","ca_state","ca_country"]
-                      <-Reducer 7 [SIMPLE_EDGE]
-                        SHUFFLE [RS_30]
-                          PartitionCols:_col3
-                          Select Operator [SEL_26] (rows=3549306 width=88)
-                            Output:["_col0","_col3","_col5","_col7","_col8","_col9"]
-                            Filter Operator [FIL_25] (rows=3549306 width=88)
-                              predicate:(((_col12 = 'M') and (_col13 = '4 yr Degree') and _col6 BETWEEN 100 AND 150 and (_col15 = 3)) or ((_col12 = 'D') and (_col13 = 'Primary') and _col6 BETWEEN 50 AND 100 and (_col15 = 1)) or ((_col12 = 'U') and (_col13 = 'Advanced Degree') and _col6 BETWEEN 150 AND 200 and (_col15 = 1)))
-                              Select Operator [SEL_24] (rows=85183356 width=88)
-                                Output:["_col0","_col3","_col5","_col6","_col7","_col8","_col9","_col12","_col13","_col15"]
-                                Merge Join Operator [MERGEJOIN_72] (rows=85183356 width=88)
-                                  Conds:RS_21._col2=RS_22._col0(Inner),Output:["_col1","_col4","_col6","_col7","_col8","_col9","_col10","_col12","_col14","_col15"]
-                                <-Map 11 [SIMPLE_EDGE]
+        <-Reducer 6 [CUSTOM_SIMPLE_EDGE]
+          PARTITION_ONLY_SHUFFLE [RS_37]
+            Group By Operator [GBY_36] (rows=1 width=764)
+              Output:["_col0","_col1","_col2","_col3"],aggregations:["avg(_col6)","avg(_col8)","avg(_col9)","sum(_col9)"]
+              Select Operator [SEL_35] (rows=715776 width=88)
+                Output:["_col6","_col8","_col9"]
+                Filter Operator [FIL_34] (rows=715776 width=88)
+                  predicate:(((_col19 = 'M') and (_col20 = '4 yr Degree') and _col7 BETWEEN 100 AND 150 and (_col14 = 3)) or ((_col19 = 'D') and (_col20 = 'Primary') and _col7 BETWEEN 50 AND 100 and (_col14 = 1)) or ((_col19 = 'U') and (_col20 = 'Advanced Degree') and _col7 BETWEEN 150 AND 200 and (_col14 = 1)))
+                  Merge Join Operator [MERGEJOIN_71] (rows=17178642 width=88)
+                    Conds:RS_31._col2=RS_32._col0(Inner),Output:["_col6","_col7","_col8","_col9","_col14","_col19","_col20"]
+                  <-Map 12 [SIMPLE_EDGE]
+                    SHUFFLE [RS_32]
+                      PartitionCols:_col0
+                      Select Operator [SEL_17] (rows=1861800 width=385)
+                        Output:["_col0","_col1","_col2"]
+                        Filter Operator [FIL_66] (rows=1861800 width=385)
+                          predicate:(((cd_marital_status = 'M') or (cd_marital_status = 'D') or (cd_marital_status = 'U')) and ((cd_education_status = '4 yr Degree') or (cd_education_status = 'Primary') or (cd_education_status = 'Advanced Degree')) and cd_demo_sk is not null)
+                          TableScan [TS_15] (rows=1861800 width=385)
+                            default@customer_demographics,customer_demographics,Tbl:COMPLETE,Col:NONE,Output:["cd_demo_sk","cd_marital_status","cd_education_status"]
+                  <-Reducer 5 [SIMPLE_EDGE]
+                    SHUFFLE [RS_31]
+                      PartitionCols:_col2
+                      Filter Operator [FIL_30] (rows=15616947 width=88)
+                        predicate:(((_col16) IN ('KY', 'GA', 'NM') and _col10 BETWEEN 100 AND 200) or ((_col16) IN ('MT', 'OR', 'IN') and _col10 BETWEEN 150 AND 300) or ((_col16) IN ('WI', 'MO', 'WV') and _col10 BETWEEN 50 AND 250))
+                        Merge Join Operator [MERGEJOIN_70] (rows=93701693 width=88)
+                          Conds:RS_27._col4=RS_28._col0(Inner),Output:["_col2","_col6","_col7","_col8","_col9","_col10","_col14","_col16"]
+                        <-Map 11 [SIMPLE_EDGE]
+                          SHUFFLE [RS_28]
+                            PartitionCols:_col0
+                            Select Operator [SEL_14] (rows=10000000 width=1014)
+                              Output:["_col0","_col1"]
+                              Filter Operator [FIL_65] (rows=10000000 width=1014)
+                                predicate:((ca_state) IN ('KY', 'GA', 'NM', 'MT', 'OR', 'IN', 'WI', 'MO', 'WV') and (ca_country = 'United States') and ca_address_sk is not null)
+                                TableScan [TS_12] (rows=40000000 width=1014)
+                                  default@customer_address,customer_address,Tbl:COMPLETE,Col:NONE,Output:["ca_address_sk","ca_state","ca_country"]
+                        <-Reducer 4 [SIMPLE_EDGE]
+                          SHUFFLE [RS_27]
+                            PartitionCols:_col4
+                            Merge Join Operator [MERGEJOIN_69] (rows=85183356 width=88)
+                              Conds:RS_24._col3=RS_25._col0(Inner),Output:["_col2","_col4","_col6","_col7","_col8","_col9","_col10","_col14"]
+                            <-Map 10 [SIMPLE_EDGE]
+                              SHUFFLE [RS_25]
+                                PartitionCols:_col0
+                                Select Operator [SEL_11] (rows=7200 width=107)
+                                  Output:["_col0","_col1"]
+                                  Filter Operator [FIL_64] (rows=7200 width=107)
+                                    predicate:(((hd_dep_count = 3) or (hd_dep_count = 1)) and hd_demo_sk is not null)
+                                    TableScan [TS_9] (rows=7200 width=107)
+                                      default@household_demographics,household_demographics,Tbl:COMPLETE,Col:NONE,Output:["hd_demo_sk","hd_dep_count"]
+                            <-Reducer 3 [SIMPLE_EDGE]
+                              SHUFFLE [RS_24]
+                                PartitionCols:_col3
+                                Merge Join Operator [MERGEJOIN_68] (rows=77439413 width=88)
+                                  Conds:RS_21._col1=RS_22._col0(Inner),Output:["_col2","_col3","_col4","_col6","_col7","_col8","_col9","_col10"]
+                                <-Map 9 [SIMPLE_EDGE]
                                   SHUFFLE [RS_22]
                                     PartitionCols:_col0
-                                    Select Operator [SEL_14] (rows=1861800 width=385)
-                                      Output:["_col0","_col1","_col2"]
-                                      Filter Operator [FIL_68] (rows=1861800 width=385)
-                                        predicate:(((cd_marital_status = 'M') or (cd_marital_status = 'D') or (cd_marital_status = 'U')) and ((cd_education_status = '4 yr Degree') or (cd_education_status = 'Primary') or (cd_education_status = 'Advanced Degree')) and cd_demo_sk is not null)
-                                        TableScan [TS_12] (rows=1861800 width=385)
-                                          default@customer_demographics,customer_demographics,Tbl:COMPLETE,Col:NONE,Output:["cd_demo_sk","cd_marital_status","cd_education_status"]
-                                <-Reducer 6 [SIMPLE_EDGE]
+                                    Select Operator [SEL_8] (rows=36524 width=1119)
+                                      Output:["_col0"]
+                                      Filter Operator [FIL_63] (rows=36524 width=1119)
+                                        predicate:((d_year = 2001) and d_date_sk is not null)
+                                        TableScan [TS_6] (rows=73049 width=1119)
+                                          default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year"]
+                                <-Reducer 2 [SIMPLE_EDGE]
                                   SHUFFLE [RS_21]
-                                    PartitionCols:_col2
-                                    Merge Join Operator [MERGEJOIN_71] (rows=77439413 width=88)
-                                      Conds:RS_18._col3=RS_19._col0(Inner),Output:["_col1","_col2","_col4","_col6","_col7","_col8","_col9","_col10","_col12"]
-                                    <-Map 10 [SIMPLE_EDGE]
-                                      SHUFFLE [RS_19]
-                                        PartitionCols:_col0
-                                        Select Operator [SEL_11] (rows=7200 width=107)
-                                          Output:["_col0","_col1"]
-                                          Filter Operator [FIL_67] (rows=7200 width=107)
-                                            predicate:(((hd_dep_count = 3) or (hd_dep_count = 1)) and hd_demo_sk is not null)
-                                            TableScan [TS_9] (rows=7200 width=107)
-                                              default@household_demographics,household_demographics,Tbl:COMPLETE,Col:NONE,Output:["hd_demo_sk","hd_dep_count"]
-                                    <-Reducer 5 [SIMPLE_EDGE]
+                                    PartitionCols:_col1
+                                    Merge Join Operator [MERGEJOIN_67] (rows=70399465 width=88)
+                                      Conds:RS_18._col0=RS_19._col4(Inner),Output:["_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col9","_col10"]
+                                    <-Map 1 [SIMPLE_EDGE]
                                       SHUFFLE [RS_18]
-                                        PartitionCols:_col3
-                                        Merge Join Operator [MERGEJOIN_70] (rows=70399465 width=88)
-                                          Conds:RS_15._col0=RS_16._col4(Inner),Output:["_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col9","_col10"]
-                                        <-Map 4 [SIMPLE_EDGE]
-                                          SHUFFLE [RS_15]
-                                            PartitionCols:_col0
-                                            Select Operator [SEL_5] (rows=1704 width=1910)
-                                              Output:["_col0"]
-                                              Filter Operator [FIL_65] (rows=1704 width=1910)
-                                                predicate:s_store_sk is not null
-                                                TableScan [TS_3] (rows=1704 width=1910)
-                                                  default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk"]
-                                        <-Map 9 [SIMPLE_EDGE]
-                                          SHUFFLE [RS_16]
-                                            PartitionCols:_col4
-                                            Select Operator [SEL_8] (rows=63999513 width=88)
-                                              Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9"]
-                                              Filter Operator [FIL_66] (rows=63999513 width=88)
-                                                predicate:((ss_sales_price BETWEEN 100 AND 150 or ss_sales_price BETWEEN 50 AND 100 or ss_sales_price BETWEEN 150 AND 200) and (ss_net_profit BETWEEN 100 AND 200 or ss_net_profit BETWEEN 150 AND 300 or ss_net_profit BETWEEN 50 AND 250) and ss_store_sk is not null and ss_cdemo_sk is not null and ss_hdemo_sk is not null and ss_addr_sk is not null and ss_sold_date_sk is not null)
-                                                TableScan [TS_6] (rows=575995635 width=88)
-                                                  default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_cdemo_sk","ss_hdemo_sk","ss_addr_sk","ss_store_sk","ss_quantity","ss_sales_price","ss_ext_sales_price","ss_ext_wholesale_cost","ss_net_profit"]
+                                        PartitionCols:_col0
+                                        Select Operator [SEL_2] (rows=1704 width=1910)
+                                          Output:["_col0"]
+                                          Filter Operator [FIL_61] (rows=1704 width=1910)
+                                            predicate:s_store_sk is not null
+                                            TableScan [TS_0] (rows=1704 width=1910)
+                                              default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk"]
+                                    <-Map 8 [SIMPLE_EDGE]
+                                      SHUFFLE [RS_19]
+                                        PartitionCols:_col4
+                                        Select Operator [SEL_5] (rows=63999513 width=88)
+                                          Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9"]
+                                          Filter Operator [FIL_62] (rows=63999513 width=88)
+                                            predicate:((ss_sales_price BETWEEN 100 AND 150 or ss_sales_price BETWEEN 50 AND 100 or ss_sales_price BETWEEN 150 AND 200) and (ss_net_profit BETWEEN 100 AND 200 or ss_net_profit BETWEEN 150 AND 300 or ss_net_profit BETWEEN 50 AND 250) and ss_store_sk is not null and ss_cdemo_sk is not null and ss_hdemo_sk is not null and ss_addr_sk is not null and ss_sold_date_sk is not null)
+                                            TableScan [TS_3] (rows=575995635 width=88)
+                                              default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_cdemo_sk","ss_hdemo_sk","ss_addr_sk","ss_store_sk","ss_quantity","ss_sales_price","ss_ext_sales_price","ss_ext_wholesale_cost","ss_net_profit"]