hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hashut...@apache.org
Subject hive git commit: Addendum for HIVE-12181
Date Thu, 11 Aug 2016 04:41:38 GMT
Repository: hive
Updated Branches:
  refs/heads/master 9a798130e -> 546fe8775


Addendum for HIVE-12181


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/546fe877
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/546fe877
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/546fe877

Branch: refs/heads/master
Commit: 546fe87751703cb6e9f8a02e238fe8cbf21e9882
Parents: 9a79813
Author: Ashutosh Chauhan <hashutosh@apache.org>
Authored: Wed Aug 10 21:41:21 2016 -0700
Committer: Ashutosh Chauhan <hashutosh@apache.org>
Committed: Wed Aug 10 21:41:21 2016 -0700

----------------------------------------------------------------------
 .../clientpositive/tez/explainuser_2.q.out      | 445 +++++++++----------
 .../clientpositive/tez/load_dyn_part1.q.out     |  14 +-
 2 files changed, 228 insertions(+), 231 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/546fe877/ql/src/test/results/clientpositive/tez/explainuser_2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/tez/explainuser_2.q.out b/ql/src/test/results/clientpositive/tez/explainuser_2.q.out
index ac1b211..44a6924 100644
--- a/ql/src/test/results/clientpositive/tez/explainuser_2.q.out
+++ b/ql/src/test/results/clientpositive/tez/explainuser_2.q.out
@@ -286,143 +286,141 @@ POSTHOOK: type: QUERY
 Plan optimized by CBO.
 
 Vertex dependency in root stage
-Reducer 10 <- Map 14 (SIMPLE_EDGE), Reducer 9 (SIMPLE_EDGE)
-Reducer 11 <- Reducer 10 (SIMPLE_EDGE), Reducer 16 (SIMPLE_EDGE)
-Reducer 16 <- Map 15 (SIMPLE_EDGE), Map 17 (SIMPLE_EDGE)
-Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 6 (SIMPLE_EDGE)
-Reducer 3 <- Reducer 11 (SIMPLE_EDGE), Reducer 2 (SIMPLE_EDGE)
-Reducer 4 <- Reducer 3 (SIMPLE_EDGE)
-Reducer 5 <- Reducer 4 (SIMPLE_EDGE)
-Reducer 8 <- Map 12 (SIMPLE_EDGE), Map 7 (SIMPLE_EDGE)
-Reducer 9 <- Map 13 (SIMPLE_EDGE), Reducer 8 (SIMPLE_EDGE)
+Reducer 10 <- Reducer 9 (SIMPLE_EDGE)
+Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 11 (SIMPLE_EDGE)
+Reducer 3 <- Map 12 (SIMPLE_EDGE), Reducer 2 (SIMPLE_EDGE)
+Reducer 4 <- Map 13 (SIMPLE_EDGE), Reducer 3 (SIMPLE_EDGE)
+Reducer 5 <- Map 14 (SIMPLE_EDGE), Reducer 4 (SIMPLE_EDGE)
+Reducer 6 <- Map 15 (SIMPLE_EDGE), Reducer 5 (SIMPLE_EDGE)
+Reducer 7 <- Map 16 (SIMPLE_EDGE), Reducer 6 (SIMPLE_EDGE)
+Reducer 8 <- Map 17 (SIMPLE_EDGE), Reducer 7 (SIMPLE_EDGE)
+Reducer 9 <- Reducer 8 (SIMPLE_EDGE)
 
 Stage-0
   Fetch Operator
     limit:100
     Stage-1
-      Reducer 5
-      File Output Operator [FS_55]
-        Limit [LIM_54] (rows=24 width=285)
+      Reducer 10
+      File Output Operator [FS_53]
+        Limit [LIM_52] (rows=100 width=18)
           Number of rows:100
-          Select Operator [SEL_53] (rows=24 width=285)
+          Select Operator [SEL_51] (rows=550 width=18)
             Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-          <-Reducer 4 [SIMPLE_EDGE]
-            SHUFFLE [RS_52]
-              Group By Operator [GBY_50] (rows=24 width=285)
+          <-Reducer 9 [SIMPLE_EDGE]
+            SHUFFLE [RS_50]
+              Group By Operator [GBY_48] (rows=550 width=18)
                 Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["count(VALUE._col0)","count(VALUE._col1)","count(VALUE._col2)"],keys:KEY._col0,
KEY._col1, KEY._col2
-              <-Reducer 3 [SIMPLE_EDGE]
-                SHUFFLE [RS_49]
+              <-Reducer 8 [SIMPLE_EDGE]
+                SHUFFLE [RS_47]
                   PartitionCols:_col0, _col1, _col2
-                  Group By Operator [GBY_48] (rows=24 width=285)
-                    Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["count(_col13)","count(_col21)","count(_col3)"],keys:_col12,
_col20, _col2
-                    Select Operator [SEL_47] (rows=650 width=534)
-                      Output:["_col12","_col20","_col2","_col13","_col21","_col3"]
-                      Merge Join Operator [MERGEJOIN_97] (rows=650 width=534)
-                        Conds:RS_44._col1, _col3=RS_45._col15, _col17(Inner),Output:["_col2","_col3","_col12","_col13","_col20","_col21"]
-                      <-Reducer 11 [SIMPLE_EDGE]
-                        SHUFFLE [RS_45]
-                          PartitionCols:_col15, _col17
-                          Select Operator [SEL_40] (rows=190 width=447)
-                            Output:["_col14","_col15","_col17","_col6","_col7"]
-                            Merge Join Operator [MERGEJOIN_96] (rows=190 width=447)
-                              Conds:RS_37._col6, _col4=RS_38._col4, _col2(Inner),Output:["_col2","_col3","_col14","_col15","_col17"]
-                            <-Reducer 10 [SIMPLE_EDGE]
-                              SHUFFLE [RS_37]
-                                PartitionCols:_col6, _col4
-                                Merge Join Operator [MERGEJOIN_94] (rows=40 width=352)
-                                  Conds:RS_34._col3=RS_35._col1(Inner),Output:["_col2","_col3","_col4","_col6"]
-                                <-Map 14 [SIMPLE_EDGE]
-                                  SHUFFLE [RS_35]
-                                    PartitionCols:_col1
-                                    Select Operator [SEL_17] (rows=2 width=180)
-                                      Output:["_col1"]
-                                      Filter Operator [FIL_88] (rows=2 width=175)
-                                        predicate:((key = 'src1key') and value is not null)
-                                        TableScan [TS_15] (rows=25 width=175)
-                                          default@src1,src1,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
-                                <-Reducer 9 [SIMPLE_EDGE]
-                                  SHUFFLE [RS_34]
-                                    PartitionCols:_col3
-                                    Merge Join Operator [MERGEJOIN_93] (rows=40 width=352)
-                                      Conds:RS_31._col2=RS_32._col0(Inner),Output:["_col2","_col3","_col4","_col6"]
-                                    <-Map 13 [SIMPLE_EDGE]
-                                      SHUFFLE [RS_32]
-                                        PartitionCols:_col0
-                                        Select Operator [SEL_14] (rows=2 width=178)
-                                          Output:["_col0"]
-                                          Filter Operator [FIL_87] (rows=2 width=178)
-                                            predicate:((value = 'd1value') and key is not
null)
-                                            TableScan [TS_12] (rows=500 width=178)
-                                              default@src,d1,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
-                                    <-Reducer 8 [SIMPLE_EDGE]
-                                      SHUFFLE [RS_31]
-                                        PartitionCols:_col2
-                                        Merge Join Operator [MERGEJOIN_92] (rows=40 width=352)
-                                          Conds:RS_28._col1=RS_29._col3(Inner),Output:["_col2","_col3","_col4","_col6"]
-                                        <-Map 12 [SIMPLE_EDGE]
-                                          SHUFFLE [RS_29]
-                                            PartitionCols:_col3
-                                            Select Operator [SEL_11] (rows=8 width=531)
-                                              Output:["_col0","_col1","_col2","_col3","_col4"]
-                                              Filter Operator [FIL_86] (rows=8 width=534)
-                                                predicate:((v3 = 'ssv3') and k2 is not null
and k3 is not null and k1 is not null and v1 is not null and v2 is not null)
-                                                TableScan [TS_9] (rows=85 width=534)
-                                                  default@ss,ss,Tbl:COMPLETE,Col:COMPLETE,Output:["k1","v1","k2","v2","k3","v3"]
-                                        <-Map 7 [SIMPLE_EDGE]
-                                          SHUFFLE [RS_28]
-                                            PartitionCols:_col1
-                                            Select Operator [SEL_8] (rows=10 width=185)
-                                              Output:["_col1"]
-                                              Filter Operator [FIL_85] (rows=10 width=178)
-                                                predicate:((key = 'srcpartkey') and value
is not null)
-                                                TableScan [TS_6] (rows=2000 width=178)
-                                                  default@srcpart,srcpart,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
-                            <-Reducer 16 [SIMPLE_EDGE]
-                              SHUFFLE [RS_38]
-                                PartitionCols:_col4, _col2
-                                Merge Join Operator [MERGEJOIN_95] (rows=19 width=356)
-                                  Conds:RS_24._col0=RS_25._col0(Inner),Output:["_col2","_col3","_col4","_col5"]
-                                <-Map 15 [SIMPLE_EDGE]
-                                  SHUFFLE [RS_24]
-                                    PartitionCols:_col0
-                                    Select Operator [SEL_20] (rows=8 width=531)
-                                      Output:["_col0","_col2","_col3","_col4","_col5"]
-                                      Filter Operator [FIL_89] (rows=8 width=534)
-                                        predicate:((v1 = 'srv1') and k2 is not null and k3
is not null and v2 is not null and v3 is not null and k1 is not null)
-                                        TableScan [TS_18] (rows=85 width=534)
-                                          default@sr,sr,Tbl:COMPLETE,Col:COMPLETE,Output:["k1","v1","k2","v2","k3","v3"]
-                                <-Map 17 [SIMPLE_EDGE]
-                                  SHUFFLE [RS_25]
-                                    PartitionCols:_col0
-                                    Select Operator [SEL_23] (rows=500 width=178)
-                                      Output:["_col0"]
-                                      Filter Operator [FIL_90] (rows=500 width=178)
-                                        predicate:((value) IN ('2000Q1', '2000Q2', '2000Q3')
and key is not null)
-                                        TableScan [TS_21] (rows=500 width=178)
-                                          default@src,d2,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
-                      <-Reducer 2 [SIMPLE_EDGE]
-                        SHUFFLE [RS_44]
-                          PartitionCols:_col1, _col3
-                          Merge Join Operator [MERGEJOIN_91] (rows=414 width=269)
-                            Conds:RS_41._col0=RS_42._col0(Inner),Output:["_col1","_col2","_col3"]
-                          <-Map 1 [SIMPLE_EDGE]
-                            SHUFFLE [RS_41]
-                              PartitionCols:_col0
-                              Select Operator [SEL_2] (rows=170 width=356)
-                                Output:["_col0","_col1","_col2","_col3"]
-                                Filter Operator [FIL_83] (rows=170 width=356)
-                                  predicate:(v2 is not null and v3 is not null and k1 is
not null)
-                                  TableScan [TS_0] (rows=170 width=356)
-                                    default@cs,cs,Tbl:COMPLETE,Col:COMPLETE,Output:["k1","v2","k3","v3"]
-                          <-Map 6 [SIMPLE_EDGE]
-                            SHUFFLE [RS_42]
-                              PartitionCols:_col0
-                              Select Operator [SEL_5] (rows=500 width=178)
-                                Output:["_col0"]
-                                Filter Operator [FIL_84] (rows=500 width=178)
-                                  predicate:((value) IN ('2000Q1', '2000Q2', '2000Q3') and
key is not null)
-                                  TableScan [TS_3] (rows=500 width=178)
-                                    default@src,d3,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
+                  Group By Operator [GBY_46] (rows=1100 width=18)
+                    Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["count(_col1)","count(_col9)","count(_col15)"],keys:_col0,
_col8, _col14
+                    Select Operator [SEL_45] (rows=1100 width=18)
+                      Output:["_col0","_col8","_col14","_col1","_col9","_col15"]
+                      Merge Join Operator [MERGEJOIN_103] (rows=1100 width=18)
+                        Conds:RS_42._col3=RS_43._col1(Inner),Output:["_col0","_col1","_col8","_col9","_col14","_col15"]
+                      <-Map 17 [SIMPLE_EDGE]
+                        SHUFFLE [RS_43]
+                          PartitionCols:_col1
+                          Select Operator [SEL_23] (rows=1000 width=18)
+                            Output:["_col1"]
+                            Filter Operator [FIL_96] (rows=1000 width=18)
+                              predicate:((key = 'srcpartkey') and value is not null)
+                              TableScan [TS_21] (rows=2000 width=18)
+                                default@srcpart,srcpart,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
+                      <-Reducer 7 [SIMPLE_EDGE]
+                        SHUFFLE [RS_42]
+                          PartitionCols:_col3
+                          Merge Join Operator [MERGEJOIN_102] (rows=129 width=625)
+                            Conds:RS_39._col1=RS_40._col1(Inner),Output:["_col0","_col1","_col3","_col8","_col9","_col14","_col15"]
+                          <-Map 16 [SIMPLE_EDGE]
+                            SHUFFLE [RS_40]
+                              PartitionCols:_col1
+                              Select Operator [SEL_20] (rows=2 width=180)
+                                Output:["_col1"]
+                                Filter Operator [FIL_95] (rows=2 width=175)
+                                  predicate:((key = 'src1key') and value is not null)
+                                  TableScan [TS_18] (rows=25 width=175)
+                                    default@src1,src1,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
+                          <-Reducer 6 [SIMPLE_EDGE]
+                            SHUFFLE [RS_39]
+                              PartitionCols:_col1
+                              Merge Join Operator [MERGEJOIN_101] (rows=129 width=625)
+                                Conds:RS_36._col12=RS_37._col0(Inner),Output:["_col0","_col1","_col3","_col8","_col9","_col14","_col15"]
+                              <-Map 15 [SIMPLE_EDGE]
+                                SHUFFLE [RS_37]
+                                  PartitionCols:_col0
+                                  Select Operator [SEL_17] (rows=500 width=178)
+                                    Output:["_col0"]
+                                    Filter Operator [FIL_94] (rows=500 width=178)
+                                      predicate:((value) IN ('2000Q1', '2000Q2', '2000Q3')
and key is not null)
+                                      TableScan [TS_15] (rows=500 width=178)
+                                        default@src,d3,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
+                              <-Reducer 5 [SIMPLE_EDGE]
+                                SHUFFLE [RS_36]
+                                  PartitionCols:_col12
+                                  Merge Join Operator [MERGEJOIN_100] (rows=53 width=712)
+                                    Conds:RS_33._col6=RS_34._col0(Inner),Output:["_col0","_col1","_col3","_col8","_col9","_col12","_col14","_col15"]
+                                  <-Map 14 [SIMPLE_EDGE]
+                                    SHUFFLE [RS_34]
+                                      PartitionCols:_col0
+                                      Select Operator [SEL_14] (rows=500 width=178)
+                                        Output:["_col0"]
+                                        Filter Operator [FIL_93] (rows=500 width=178)
+                                          predicate:((value) IN ('2000Q1', '2000Q2', '2000Q3')
and key is not null)
+                                          TableScan [TS_12] (rows=500 width=178)
+                                            default@src,d2,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
+                                  <-Reducer 4 [SIMPLE_EDGE]
+                                    SHUFFLE [RS_33]
+                                      PartitionCols:_col6
+                                      Merge Join Operator [MERGEJOIN_99] (rows=22 width=799)
+                                        Conds:RS_30._col0=RS_31._col0(Inner),Output:["_col0","_col1","_col3","_col6","_col8","_col9","_col12","_col14","_col15"]
+                                      <-Map 13 [SIMPLE_EDGE]
+                                        SHUFFLE [RS_31]
+                                          PartitionCols:_col0
+                                          Select Operator [SEL_11] (rows=2 width=178)
+                                            Output:["_col0"]
+                                            Filter Operator [FIL_92] (rows=2 width=178)
+                                              predicate:((value = 'd1value') and key is not
null)
+                                              TableScan [TS_9] (rows=500 width=178)
+                                                default@src,d1,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
+                                      <-Reducer 3 [SIMPLE_EDGE]
+                                        SHUFFLE [RS_30]
+                                          PartitionCols:_col0
+                                          Merge Join Operator [MERGEJOIN_98] (rows=22 width=799)
+                                            Conds:RS_27._col9, _col11=RS_28._col1, _col3(Inner),Output:["_col0","_col1","_col3","_col6","_col8","_col9","_col12","_col14","_col15"]
+                                          <-Map 12 [SIMPLE_EDGE]
+                                            SHUFFLE [RS_28]
+                                              PartitionCols:_col1, _col3
+                                              Select Operator [SEL_8] (rows=170 width=356)
+                                                Output:["_col0","_col1","_col2","_col3"]
+                                                Filter Operator [FIL_91] (rows=170 width=356)
+                                                  predicate:(v2 is not null and v3 is not
null and k1 is not null)
+                                                  TableScan [TS_6] (rows=170 width=356)
+                                                    default@cs,cs,Tbl:COMPLETE,Col:COMPLETE,Output:["k1","v2","k3","v3"]
+                                          <-Reducer 2 [SIMPLE_EDGE]
+                                            SHUFFLE [RS_27]
+                                              PartitionCols:_col9, _col11
+                                              Merge Join Operator [MERGEJOIN_97] (rows=16
width=625)
+                                                Conds:RS_24._col2, _col4=RS_25._col2, _col4(Inner),Output:["_col0","_col1","_col3","_col6","_col8","_col9","_col11"]
+                                              <-Map 1 [SIMPLE_EDGE]
+                                                SHUFFLE [RS_24]
+                                                  PartitionCols:_col2, _col4
+                                                  Select Operator [SEL_2] (rows=8 width=531)
+                                                    Output:["_col0","_col1","_col2","_col3","_col4"]
+                                                    Filter Operator [FIL_89] (rows=8 width=534)
+                                                      predicate:((v3 = 'ssv3') and k2 is
not null and k3 is not null and k1 is not null and v1 is not null and v2 is not null)
+                                                      TableScan [TS_0] (rows=85 width=534)
+                                                        default@ss,ss,Tbl:COMPLETE,Col:COMPLETE,Output:["k1","v1","k2","v2","k3","v3"]
+                                              <-Map 11 [SIMPLE_EDGE]
+                                                SHUFFLE [RS_25]
+                                                  PartitionCols:_col2, _col4
+                                                  Select Operator [SEL_5] (rows=8 width=531)
+                                                    Output:["_col0","_col2","_col3","_col4","_col5"]
+                                                    Filter Operator [FIL_90] (rows=8 width=534)
+                                                      predicate:((v1 = 'srv1') and k2 is
not null and k3 is not null and v2 is not null and v3 is not null and k1 is not null)
+                                                      TableScan [TS_3] (rows=85 width=534)
+                                                        default@sr,sr,Tbl:COMPLETE,Col:COMPLETE,Output:["k1","v1","k2","v2","k3","v3"]
 
 PREHOOK: query: explain
 SELECT x.key, z.value, y.value
@@ -1022,118 +1020,117 @@ POSTHOOK: type: QUERY
 Plan optimized by CBO.
 
 Vertex dependency in root stage
-Map 10 <- Map 9 (BROADCAST_EDGE)
-Map 2 <- Map 1 (BROADCAST_EDGE)
-Map 3 <- Map 10 (BROADCAST_EDGE), Map 2 (BROADCAST_EDGE), Map 6 (BROADCAST_EDGE), Map
7 (BROADCAST_EDGE), Map 8 (BROADCAST_EDGE)
-Reducer 4 <- Map 3 (SIMPLE_EDGE)
-Reducer 5 <- Reducer 4 (SIMPLE_EDGE)
+Map 1 <- Map 2 (BROADCAST_EDGE)
+Map 3 <- Map 1 (BROADCAST_EDGE)
+Map 4 <- Map 3 (BROADCAST_EDGE), Map 5 (BROADCAST_EDGE), Map 6 (BROADCAST_EDGE), Map 7
(BROADCAST_EDGE)
+Map 8 <- Map 4 (BROADCAST_EDGE)
+Reducer 10 <- Reducer 9 (SIMPLE_EDGE)
+Reducer 9 <- Map 8 (SIMPLE_EDGE)
 
 Stage-0
   Fetch Operator
     limit:100
     Stage-1
-      Reducer 5
-      File Output Operator [FS_55]
-        Limit [LIM_54] (rows=100 width=10)
+      Reducer 10
+      File Output Operator [FS_53]
+        Limit [LIM_52] (rows=100 width=10)
           Number of rows:100
-          Select Operator [SEL_53] (rows=805 width=10)
+          Select Operator [SEL_51] (rows=550 width=10)
             Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-          <-Reducer 4 [SIMPLE_EDGE]
-            SHUFFLE [RS_52]
-              Group By Operator [GBY_50] (rows=805 width=10)
+          <-Reducer 9 [SIMPLE_EDGE]
+            SHUFFLE [RS_50]
+              Group By Operator [GBY_48] (rows=550 width=10)
                 Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["count(VALUE._col0)","count(VALUE._col1)","count(VALUE._col2)"],keys:KEY._col0,
KEY._col1, KEY._col2
-              <-Map 3 [SIMPLE_EDGE]
-                SHUFFLE [RS_49]
+              <-Map 8 [SIMPLE_EDGE]
+                SHUFFLE [RS_47]
                   PartitionCols:_col0, _col1, _col2
-                  Group By Operator [GBY_48] (rows=1610 width=10)
-                    Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["count(_col13)","count(_col21)","count(_col3)"],keys:_col12,
_col20, _col2
-                    Select Operator [SEL_47] (rows=1610 width=10)
-                      Output:["_col12","_col20","_col2","_col13","_col21","_col3"]
-                      Map Join Operator [MAPJOIN_97] (rows=1610 width=10)
-                        Conds:RS_44._col1, _col3=SEL_40._col15, _col17(Inner),HybridGraceHashJoin:true,Output:["_col2","_col3","_col12","_col13","_col20","_col21"]
-                      <-Map 2 [BROADCAST_EDGE]
-                        BROADCAST [RS_44]
-                          PartitionCols:_col1, _col3
-                          Map Join Operator [MAPJOIN_91] (rows=275 width=10)
-                            Conds:RS_41._col0=SEL_5._col0(Inner),HybridGraceHashJoin:true,Output:["_col1","_col2","_col3"]
-                          <-Map 1 [BROADCAST_EDGE]
-                            BROADCAST [RS_41]
-                              PartitionCols:_col0
-                              Select Operator [SEL_2] (rows=170 width=34)
-                                Output:["_col0","_col1","_col2","_col3"]
-                                Filter Operator [FIL_83] (rows=170 width=34)
-                                  predicate:(v2 is not null and v3 is not null and k1 is
not null)
-                                  TableScan [TS_0] (rows=170 width=34)
-                                    default@cs,cs,Tbl:COMPLETE,Col:NONE,Output:["k1","v2","k3","v3"]
-                          <-Select Operator [SEL_5] (rows=250 width=10)
-                              Output:["_col0"]
-                              Filter Operator [FIL_84] (rows=250 width=10)
-                                predicate:((value) IN ('2000Q1', '2000Q2', '2000Q3') and
key is not null)
-                                TableScan [TS_3] (rows=500 width=10)
-                                  default@src,d3,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
-                      <-Select Operator [SEL_40] (rows=1464 width=10)
-                          Output:["_col14","_col15","_col17","_col6","_col7"]
-                          Map Join Operator [MAPJOIN_96] (rows=1464 width=10)
-                            Conds:MAPJOIN_94._col6, _col4=RS_38._col4, _col2(Inner),HybridGraceHashJoin:true,Output:["_col2","_col3","_col14","_col15","_col17"]
-                          <-Map 10 [BROADCAST_EDGE]
-                            BROADCAST [RS_38]
-                              PartitionCols:_col4, _col2
-                              Map Join Operator [MAPJOIN_95] (rows=275 width=10)
-                                Conds:RS_24._col0=SEL_23._col0(Inner),HybridGraceHashJoin:true,Output:["_col2","_col3","_col4","_col5"]
-                              <-Map 9 [BROADCAST_EDGE]
-                                BROADCAST [RS_24]
-                                  PartitionCols:_col0
-                                  Select Operator [SEL_20] (rows=42 width=34)
-                                    Output:["_col0","_col2","_col3","_col4","_col5"]
-                                    Filter Operator [FIL_89] (rows=42 width=34)
-                                      predicate:((v1 = 'srv1') and k2 is not null and k3
is not null and v2 is not null and v3 is not null and k1 is not null)
-                                      TableScan [TS_18] (rows=85 width=34)
-                                        default@sr,sr,Tbl:COMPLETE,Col:NONE,Output:["k1","v1","k2","v2","k3","v3"]
-                              <-Select Operator [SEL_23] (rows=250 width=10)
+                  Group By Operator [GBY_46] (rows=1100 width=10)
+                    Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["count(_col1)","count(_col9)","count(_col15)"],keys:_col0,
_col8, _col14
+                    Select Operator [SEL_45] (rows=1100 width=10)
+                      Output:["_col0","_col8","_col14","_col1","_col9","_col15"]
+                      Map Join Operator [MAPJOIN_103] (rows=1100 width=10)
+                        Conds:RS_42._col3=SEL_23._col1(Inner),HybridGraceHashJoin:true,Output:["_col0","_col1","_col8","_col9","_col14","_col15"]
+                      <-Map 4 [BROADCAST_EDGE]
+                        BROADCAST [RS_42]
+                          PartitionCols:_col3
+                          Map Join Operator [MAPJOIN_102] (rows=365 width=10)
+                            Conds:MAPJOIN_101._col1=RS_40._col1(Inner),HybridGraceHashJoin:true,Output:["_col0","_col1","_col3","_col8","_col9","_col14","_col15"]
+                          <-Map 7 [BROADCAST_EDGE]
+                            BROADCAST [RS_40]
+                              PartitionCols:_col1
+                              Select Operator [SEL_20] (rows=12 width=7)
+                                Output:["_col1"]
+                                Filter Operator [FIL_95] (rows=12 width=7)
+                                  predicate:((key = 'src1key') and value is not null)
+                                  TableScan [TS_18] (rows=25 width=7)
+                                    default@src1,src1,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
+                          <-Map Join Operator [MAPJOIN_101] (rows=332 width=10)
+                              Conds:MAPJOIN_100._col12=RS_37._col0(Inner),HybridGraceHashJoin:true,Output:["_col0","_col1","_col3","_col8","_col9","_col14","_col15"]
+                            <-Map 6 [BROADCAST_EDGE]
+                              BROADCAST [RS_37]
+                                PartitionCols:_col0
+                                Select Operator [SEL_17] (rows=250 width=10)
                                   Output:["_col0"]
-                                  Filter Operator [FIL_90] (rows=250 width=10)
+                                  Filter Operator [FIL_94] (rows=250 width=10)
                                     predicate:((value) IN ('2000Q1', '2000Q2', '2000Q3')
and key is not null)
-                                    TableScan [TS_21] (rows=500 width=10)
-                                      default@src,d2,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
-                          <-Map Join Operator [MAPJOIN_94] (rows=1331 width=10)
-                              Conds:MAPJOIN_93._col3=RS_35._col1(Inner),HybridGraceHashJoin:true,Output:["_col2","_col3","_col4","_col6"]
-                            <-Map 8 [BROADCAST_EDGE]
-                              BROADCAST [RS_35]
-                                PartitionCols:_col1
-                                Select Operator [SEL_17] (rows=12 width=7)
-                                  Output:["_col1"]
-                                  Filter Operator [FIL_88] (rows=12 width=7)
-                                    predicate:((key = 'src1key') and value is not null)
-                                    TableScan [TS_15] (rows=25 width=7)
-                                      default@src1,src1,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
-                            <-Map Join Operator [MAPJOIN_93] (rows=1210 width=10)
-                                Conds:MAPJOIN_92._col2=RS_32._col0(Inner),HybridGraceHashJoin:true,Output:["_col2","_col3","_col4","_col6"]
-                              <-Map 7 [BROADCAST_EDGE]
-                                BROADCAST [RS_32]
+                                    TableScan [TS_15] (rows=500 width=10)
+                                      default@src,d3,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
+                            <-Map Join Operator [MAPJOIN_100] (rows=302 width=10)
+                                Conds:MAPJOIN_99._col6=RS_34._col0(Inner),HybridGraceHashJoin:true,Output:["_col0","_col1","_col3","_col8","_col9","_col12","_col14","_col15"]
+                              <-Map 5 [BROADCAST_EDGE]
+                                BROADCAST [RS_34]
                                   PartitionCols:_col0
                                   Select Operator [SEL_14] (rows=250 width=10)
                                     Output:["_col0"]
-                                    Filter Operator [FIL_87] (rows=250 width=10)
-                                      predicate:((value = 'd1value') and key is not null)
+                                    Filter Operator [FIL_93] (rows=250 width=10)
+                                      predicate:((value) IN ('2000Q1', '2000Q2', '2000Q3')
and key is not null)
                                       TableScan [TS_12] (rows=500 width=10)
+                                        default@src,d2,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
+                              <-Map Join Operator [MAPJOIN_99] (rows=275 width=10)
+                                  Conds:RS_30._col0=SEL_11._col0(Inner),HybridGraceHashJoin:true,Output:["_col0","_col1","_col3","_col6","_col8","_col9","_col12","_col14","_col15"]
+                                <-Map 3 [BROADCAST_EDGE]
+                                  BROADCAST [RS_30]
+                                    PartitionCols:_col0
+                                    Map Join Operator [MAPJOIN_98] (rows=187 width=34)
+                                      Conds:RS_27._col9, _col11=SEL_8._col1, _col3(Inner),HybridGraceHashJoin:true,Output:["_col0","_col1","_col3","_col6","_col8","_col9","_col12","_col14","_col15"]
+                                    <-Map 1 [BROADCAST_EDGE]
+                                      BROADCAST [RS_27]
+                                        PartitionCols:_col9, _col11
+                                        Map Join Operator [MAPJOIN_97] (rows=46 width=34)
+                                          Conds:SEL_2._col2, _col4=RS_25._col2, _col4(Inner),HybridGraceHashJoin:true,Output:["_col0","_col1","_col3","_col6","_col8","_col9","_col11"]
+                                        <-Map 2 [BROADCAST_EDGE]
+                                          BROADCAST [RS_25]
+                                            PartitionCols:_col2, _col4
+                                            Select Operator [SEL_5] (rows=42 width=34)
+                                              Output:["_col0","_col2","_col3","_col4","_col5"]
+                                              Filter Operator [FIL_90] (rows=42 width=34)
+                                                predicate:((v1 = 'srv1') and k2 is not null
and k3 is not null and v2 is not null and v3 is not null and k1 is not null)
+                                                TableScan [TS_3] (rows=85 width=34)
+                                                  default@sr,sr,Tbl:COMPLETE,Col:NONE,Output:["k1","v1","k2","v2","k3","v3"]
+                                        <-Select Operator [SEL_2] (rows=42 width=34)
+                                            Output:["_col0","_col1","_col2","_col3","_col4"]
+                                            Filter Operator [FIL_89] (rows=42 width=34)
+                                              predicate:((v3 = 'ssv3') and k2 is not null
and k3 is not null and k1 is not null and v1 is not null and v2 is not null)
+                                              TableScan [TS_0] (rows=85 width=34)
+                                                default@ss,ss,Tbl:COMPLETE,Col:NONE,Output:["k1","v1","k2","v2","k3","v3"]
+                                    <-Select Operator [SEL_8] (rows=170 width=34)
+                                        Output:["_col0","_col1","_col2","_col3"]
+                                        Filter Operator [FIL_91] (rows=170 width=34)
+                                          predicate:(v2 is not null and v3 is not null and
k1 is not null)
+                                          TableScan [TS_6] (rows=170 width=34)
+                                            default@cs,cs,Tbl:COMPLETE,Col:NONE,Output:["k1","v2","k3","v3"]
+                                <-Select Operator [SEL_11] (rows=250 width=10)
+                                    Output:["_col0"]
+                                    Filter Operator [FIL_92] (rows=250 width=10)
+                                      predicate:((value = 'd1value') and key is not null)
+                                      TableScan [TS_9] (rows=500 width=10)
                                         default@src,d1,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
-                              <-Map Join Operator [MAPJOIN_92] (rows=1100 width=10)
-                                  Conds:SEL_8._col1=RS_29._col3(Inner),HybridGraceHashJoin:true,Output:["_col2","_col3","_col4","_col6"]
-                                <-Map 6 [BROADCAST_EDGE]
-                                  BROADCAST [RS_29]
-                                    PartitionCols:_col3
-                                    Select Operator [SEL_11] (rows=42 width=34)
-                                      Output:["_col0","_col1","_col2","_col3","_col4"]
-                                      Filter Operator [FIL_86] (rows=42 width=34)
-                                        predicate:((v3 = 'ssv3') and k2 is not null and k3
is not null and k1 is not null and v1 is not null and v2 is not null)
-                                        TableScan [TS_9] (rows=85 width=34)
-                                          default@ss,ss,Tbl:COMPLETE,Col:NONE,Output:["k1","v1","k2","v2","k3","v3"]
-                                <-Select Operator [SEL_8] (rows=1000 width=10)
-                                    Output:["_col1"]
-                                    Filter Operator [FIL_85] (rows=1000 width=10)
-                                      predicate:((key = 'srcpartkey') and value is not null)
-                                      TableScan [TS_6] (rows=2000 width=10)
-                                        default@srcpart,srcpart,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
+                      <-Select Operator [SEL_23] (rows=1000 width=10)
+                          Output:["_col1"]
+                          Filter Operator [FIL_96] (rows=1000 width=10)
+                            predicate:((key = 'srcpartkey') and value is not null)
+                            TableScan [TS_21] (rows=2000 width=10)
+                              default@srcpart,srcpart,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
 
 PREHOOK: query: explain
 SELECT x.key, z.value, y.value

http://git-wip-us.apache.org/repos/asf/hive/blob/546fe877/ql/src/test/results/clientpositive/tez/load_dyn_part1.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/tez/load_dyn_part1.q.out b/ql/src/test/results/clientpositive/tez/load_dyn_part1.q.out
index 6ad9d70..b1b3f36 100644
--- a/ql/src/test/results/clientpositive/tez/load_dyn_part1.q.out
+++ b/ql/src/test/results/clientpositive/tez/load_dyn_part1.q.out
@@ -73,17 +73,17 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart
-                  Statistics: Num rows: 2000 Data size: 1092000 Basic stats: COMPLETE Column
stats: COMPLETE
+                  Statistics: Num rows: 2000 Data size: 757248 Basic stats: COMPLETE Column
stats: PARTIAL
                   Filter Operator
                     predicate: (ds <= '2008-04-08') (type: boolean)
-                    Statistics: Num rows: 666 Data size: 363636 Basic stats: COMPLETE Column
stats: COMPLETE
+                    Statistics: Num rows: 666 Data size: 245088 Basic stats: COMPLETE Column
stats: PARTIAL
                     Select Operator
                       expressions: key (type: string), value (type: string), ds (type: string),
hr (type: string)
                       outputColumnNames: _col0, _col1, _col2, _col3
-                      Statistics: Num rows: 666 Data size: 363636 Basic stats: COMPLETE Column
stats: COMPLETE
+                      Statistics: Num rows: 666 Data size: 245088 Basic stats: COMPLETE Column
stats: PARTIAL
                       File Output Operator
                         compressed: false
-                        Statistics: Num rows: 666 Data size: 363636 Basic stats: COMPLETE
Column stats: COMPLETE
+                        Statistics: Num rows: 666 Data size: 245088 Basic stats: COMPLETE
Column stats: PARTIAL
                         table:
                             input format: org.apache.hadoop.mapred.TextInputFormat
                             output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
@@ -91,14 +91,14 @@ STAGE PLANS:
                             name: default.nzhang_part1
                   Filter Operator
                     predicate: (ds > '2008-04-08') (type: boolean)
-                    Statistics: Num rows: 666 Data size: 363636 Basic stats: COMPLETE Column
stats: COMPLETE
+                    Statistics: Num rows: 666 Data size: 245088 Basic stats: COMPLETE Column
stats: PARTIAL
                     Select Operator
                       expressions: key (type: string), value (type: string), hr (type: string)
                       outputColumnNames: _col0, _col1, _col2
-                      Statistics: Num rows: 666 Data size: 241092 Basic stats: COMPLETE Column
stats: COMPLETE
+                      Statistics: Num rows: 666 Data size: 122544 Basic stats: COMPLETE Column
stats: PARTIAL
                       File Output Operator
                         compressed: false
-                        Statistics: Num rows: 666 Data size: 241092 Basic stats: COMPLETE
Column stats: COMPLETE
+                        Statistics: Num rows: 666 Data size: 122544 Basic stats: COMPLETE
Column stats: PARTIAL
                         table:
                             input format: org.apache.hadoop.mapred.TextInputFormat
                             output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat


Mime
View raw message