hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject [33/74] [abbrv] [partial] hive git commit: HIVE-16811 : Estimate statistics in absence of stats (Vineet Garg, reviewed by Ashutosh Chauhan)
Date Fri, 08 Sep 2017 06:35:25 GMT
http://git-wip-us.apache.org/repos/asf/hive/blob/8f7c5788/ql/src/test/results/clientpositive/llap/dynamic_semijoin_reduction_3.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/dynamic_semijoin_reduction_3.q.out b/ql/src/test/results/clientpositive/llap/dynamic_semijoin_reduction_3.q.out
index 7f837cc..adc2415 100644
--- a/ql/src/test/results/clientpositive/llap/dynamic_semijoin_reduction_3.q.out
+++ b/ql/src/test/results/clientpositive/llap/dynamic_semijoin_reduction_3.q.out
@@ -54,15 +54,15 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: t
-                  Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                   Filter Operator
                     predicate: (a BETWEEN DynamicValue(RS_3_s_a_min) AND DynamicValue(RS_3_s_a_max)
and in_bloom_filter(a, DynamicValue(RS_3_s_a_bloom_filter))) (type: boolean)
-                    Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                    Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                     Reduce Output Operator
                       key expressions: a (type: int)
                       sort order: +
                       Map-reduce partition columns: a (type: int)
-                      Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                      Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                       value expressions: ROW__ID (type: struct<transactionid:bigint,bucketid:int,rowid:bigint>)
             Execution mode: llap
             LLAP IO: may be used (ACID table)
@@ -70,25 +70,25 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: s
-                  Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                   Reduce Output Operator
                     key expressions: a (type: int)
                     sort order: +
                     Map-reduce partition columns: a (type: int)
-                    Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                    Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                     value expressions: b (type: int)
                   Select Operator
                     expressions: a (type: int)
                     outputColumnNames: _col0
-                    Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                    Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                     Group By Operator
                       aggregations: min(_col0), max(_col0), bloom_filter(_col0, expectedEntries=2)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
-                      Statistics: Num rows: 1 Data size: 12 Basic stats: COMPLETE Column
stats: NONE
+                      Statistics: Num rows: 1 Data size: 20 Basic stats: COMPLETE Column
stats: NONE
                       Reduce Output Operator
                         sort order: 
-                        Statistics: Num rows: 1 Data size: 12 Basic stats: COMPLETE Column
stats: NONE
+                        Statistics: Num rows: 1 Data size: 20 Basic stats: COMPLETE Column
stats: NONE
                         value expressions: _col0 (type: int), _col1 (type: int), _col2 (type:
binary)
             Execution mode: llap
             LLAP IO: all inputs
@@ -102,62 +102,62 @@ STAGE PLANS:
                   0 a (type: int)
                   1 a (type: int)
                 outputColumnNames: _col0, _col4, _col5, _col6
-                Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                 Filter Operator
                   predicate: ((_col5 > 8) and (_col0 = _col5)) (type: boolean)
-                  Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                   Select Operator
                     expressions: _col4 (type: struct<transactionid:bigint,bucketid:int,rowid:bigint>)
                     outputColumnNames: _col0
-                    Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                    Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                     Reduce Output Operator
                       key expressions: _col0 (type: struct<transactionid:bigint,bucketid:int,rowid:bigint>)
                       sort order: +
                       Map-reduce partition columns: UDFToInteger(_col0) (type: int)
-                      Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                      Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                 Filter Operator
                   predicate: ((_col5 <= 8) and (_col0 = _col5)) (type: boolean)
-                  Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                   Select Operator
                     expressions: _col4 (type: struct<transactionid:bigint,bucketid:int,rowid:bigint>),
_col0 (type: int)
                     outputColumnNames: _col0, _col1
-                    Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                    Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                     Reduce Output Operator
                       key expressions: _col0 (type: struct<transactionid:bigint,bucketid:int,rowid:bigint>)
                       sort order: +
                       Map-reduce partition columns: UDFToInteger(_col0) (type: int)
-                      Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                      Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                       value expressions: _col1 (type: int)
                 Filter Operator
                   predicate: (_col0 = _col5) (type: boolean)
-                  Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                   Select Operator
                     expressions: _col4 (type: struct<transactionid:bigint,bucketid:int,rowid:bigint>)
                     outputColumnNames: _col4
-                    Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                    Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                     Group By Operator
                       aggregations: count()
                       keys: _col4 (type: struct<transactionid:bigint,bucketid:int,rowid:bigint>)
                       mode: hash
                       outputColumnNames: _col0, _col1
-                      Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                      Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: struct<transactionid:bigint,bucketid:int,rowid:bigint>)
                         sort order: +
                         Map-reduce partition columns: _col0 (type: struct<transactionid:bigint,bucketid:int,rowid:bigint>)
-                        Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column
stats: NONE
+                        Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column
stats: NONE
                         value expressions: _col1 (type: bigint)
                 Filter Operator
                   predicate: _col0 is null (type: boolean)
-                  Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                   Select Operator
                     expressions: _col5 (type: int), _col6 (type: int)
                     outputColumnNames: _col0, _col1
-                    Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                    Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                     Reduce Output Operator
                       sort order: 
                       Map-reduce partition columns: _col0 (type: int)
-                      Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                      Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                       value expressions: _col0 (type: int), _col1 (type: int)
         Reducer 3 
             Execution mode: llap
@@ -165,10 +165,10 @@ STAGE PLANS:
               Select Operator
                 expressions: KEY.reducesinkkey0 (type: struct<transactionid:bigint,bucketid:int,rowid:bigint>)
                 outputColumnNames: _col0
-                Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                 File Output Operator
                   compressed: false
-                  Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                   table:
                       input format: org.apache.hadoop.hive.ql.io.orc.OrcInputFormat
                       output format: org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat
@@ -181,10 +181,10 @@ STAGE PLANS:
               Select Operator
                 expressions: KEY.reducesinkkey0 (type: struct<transactionid:bigint,bucketid:int,rowid:bigint>),
VALUE._col0 (type: int), 7 (type: int)
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                 File Output Operator
                   compressed: false
-                  Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                   table:
                       input format: org.apache.hadoop.hive.ql.io.orc.OrcInputFormat
                       output format: org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat
@@ -199,17 +199,17 @@ STAGE PLANS:
                 keys: KEY._col0 (type: struct<transactionid:bigint,bucketid:int,rowid:bigint>)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1
-                Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                 Filter Operator
                   predicate: (_col1 > 1) (type: boolean)
-                  Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                   Select Operator
                     expressions: cardinality_violation(_col0) (type: int)
                     outputColumnNames: _col0
-                    Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                    Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                     File Output Operator
                       compressed: false
-                      Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                      Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                       table:
                           input format: org.apache.hadoop.mapred.TextInputFormat
                           output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
@@ -221,10 +221,10 @@ STAGE PLANS:
               Select Operator
                 expressions: VALUE._col0 (type: int), VALUE._col1 (type: int)
                 outputColumnNames: _col0, _col1
-                Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                 File Output Operator
                   compressed: false
-                  Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                   table:
                       input format: org.apache.hadoop.hive.ql.io.orc.OrcInputFormat
                       output format: org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat
@@ -238,10 +238,10 @@ STAGE PLANS:
                 aggregations: min(VALUE._col0), max(VALUE._col1), bloom_filter(VALUE._col2,
expectedEntries=2)
                 mode: final
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 1 Data size: 12 Basic stats: COMPLETE Column stats:
NONE
+                Statistics: Num rows: 1 Data size: 20 Basic stats: COMPLETE Column stats:
NONE
                 Reduce Output Operator
                   sort order: 
-                  Statistics: Num rows: 1 Data size: 12 Basic stats: COMPLETE Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 20 Basic stats: COMPLETE Column stats:
NONE
                   value expressions: _col0 (type: int), _col1 (type: int), _col2 (type: binary)
 
   Stage: Stage-5
@@ -326,40 +326,40 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: t
-                  Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                   Filter Operator
                     predicate: (a BETWEEN DynamicValue(RS_3_s_a_min) AND DynamicValue(RS_3_s_a_max)
and in_bloom_filter(a, DynamicValue(RS_3_s_a_bloom_filter))) (type: boolean)
-                    Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                    Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                     Reduce Output Operator
                       key expressions: a (type: int)
                       sort order: +
                       Map-reduce partition columns: a (type: int)
-                      Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                      Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
             Execution mode: llap
             LLAP IO: may be used (ACID table)
         Map 4 
             Map Operator Tree:
                 TableScan
                   alias: s
-                  Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                   Reduce Output Operator
                     key expressions: a (type: int)
                     sort order: +
                     Map-reduce partition columns: a (type: int)
-                    Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                    Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                     value expressions: b (type: int)
                   Select Operator
                     expressions: a (type: int)
                     outputColumnNames: _col0
-                    Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                    Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                     Group By Operator
                       aggregations: min(_col0), max(_col0), bloom_filter(_col0, expectedEntries=2)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
-                      Statistics: Num rows: 1 Data size: 12 Basic stats: COMPLETE Column
stats: NONE
+                      Statistics: Num rows: 1 Data size: 20 Basic stats: COMPLETE Column
stats: NONE
                       Reduce Output Operator
                         sort order: 
-                        Statistics: Num rows: 1 Data size: 12 Basic stats: COMPLETE Column
stats: NONE
+                        Statistics: Num rows: 1 Data size: 20 Basic stats: COMPLETE Column
stats: NONE
                         value expressions: _col0 (type: int), _col1 (type: int), _col2 (type:
binary)
             Execution mode: llap
             LLAP IO: all inputs
@@ -373,18 +373,18 @@ STAGE PLANS:
                   0 a (type: int)
                   1 a (type: int)
                 outputColumnNames: _col0, _col5, _col6
-                Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                 Filter Operator
                   predicate: _col0 is null (type: boolean)
-                  Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                   Select Operator
                     expressions: _col5 (type: int), _col6 (type: int)
                     outputColumnNames: _col0, _col1
-                    Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                    Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                     Reduce Output Operator
                       sort order: 
                       Map-reduce partition columns: _col0 (type: int)
-                      Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                      Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                       value expressions: _col0 (type: int), _col1 (type: int)
         Reducer 3 
             Execution mode: llap
@@ -392,10 +392,10 @@ STAGE PLANS:
               Select Operator
                 expressions: VALUE._col0 (type: int), VALUE._col1 (type: int)
                 outputColumnNames: _col0, _col1
-                Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                 File Output Operator
                   compressed: false
-                  Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                   table:
                       input format: org.apache.hadoop.hive.ql.io.orc.OrcInputFormat
                       output format: org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat
@@ -409,10 +409,10 @@ STAGE PLANS:
                 aggregations: min(VALUE._col0), max(VALUE._col1), bloom_filter(VALUE._col2,
expectedEntries=2)
                 mode: final
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 1 Data size: 12 Basic stats: COMPLETE Column stats:
NONE
+                Statistics: Num rows: 1 Data size: 20 Basic stats: COMPLETE Column stats:
NONE
                 Reduce Output Operator
                   sort order: 
-                  Statistics: Num rows: 1 Data size: 12 Basic stats: COMPLETE Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 20 Basic stats: COMPLETE Column stats:
NONE
                   value expressions: _col0 (type: int), _col1 (type: int), _col2 (type: binary)
 
   Stage: Stage-2
@@ -482,32 +482,32 @@ STAGE PLANS:
                 TableScan
                   alias: nonacidorctbl
                   filterExpr: (a > 0) (type: boolean)
-                  Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                   Filter Operator
                     predicate: (a > 0) (type: boolean)
-                    Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                    Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                     Select Operator
                       expressions: a (type: int), b (type: int)
                       outputColumnNames: _col0, _col1
-                      Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                      Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: int)
                         sort order: +
                         Map-reduce partition columns: _col0 (type: int)
-                        Statistics: Num rows: 2 Data size: 0 Basic stats: PARTIAL Column
stats: NONE
+                        Statistics: Num rows: 2 Data size: 16 Basic stats: COMPLETE Column
stats: NONE
                         value expressions: _col1 (type: int)
                       Select Operator
                         expressions: _col0 (type: int)
                         outputColumnNames: _col0
-                        Statistics: Num rows: 2 Data size: 0 Basic stats: PARTIAL Column
stats: NONE
+                        Statistics: Num rows: 2 Data size: 16 Basic stats: COMPLETE Column
stats: NONE
                         Group By Operator
                           aggregations: min(_col0), max(_col0), bloom_filter(_col0, expectedEntries=4)
                           mode: hash
                           outputColumnNames: _col0, _col1, _col2
-                          Statistics: Num rows: 1 Data size: 12 Basic stats: COMPLETE Column
stats: NONE
+                          Statistics: Num rows: 1 Data size: 20 Basic stats: COMPLETE Column
stats: NONE
                           Reduce Output Operator
                             sort order: 
-                            Statistics: Num rows: 1 Data size: 12 Basic stats: COMPLETE Column
stats: NONE
+                            Statistics: Num rows: 1 Data size: 20 Basic stats: COMPLETE Column
stats: NONE
                             value expressions: _col0 (type: int), _col1 (type: int), _col2
(type: binary)
             Execution mode: llap
             LLAP IO: all inputs
@@ -515,15 +515,15 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: t
-                  Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                   Filter Operator
                     predicate: (a BETWEEN DynamicValue(RS_10_nonacidorctbl__col0_min) AND
DynamicValue(RS_10_nonacidorctbl__col0_max) and in_bloom_filter(a, DynamicValue(RS_10_nonacidorctbl__col0_bloom_filter)))
(type: boolean)
-                    Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                    Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                     Reduce Output Operator
                       key expressions: a (type: int)
                       sort order: +
                       Map-reduce partition columns: a (type: int)
-                      Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                      Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats:
NONE
                       value expressions: ROW__ID (type: struct<transactionid:bigint,bucketid:int,rowid:bigint>)
             Execution mode: llap
             LLAP IO: may be used (ACID table)
@@ -532,32 +532,32 @@ STAGE PLANS:
                 TableScan
                   alias: nonacidorctbl
                   filterExpr: (b > 0) (type: boolean)
-                  Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                   Filter Operator
                     predicate: (b > 0) (type: boolean)
-                    Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                    Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                     Select Operator
                       expressions: a (type: int), b (type: int)
                       outputColumnNames: _col0, _col1
-                      Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                      Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: int)
                         sort order: +
                         Map-reduce partition columns: _col0 (type: int)
-                        Statistics: Num rows: 2 Data size: 0 Basic stats: PARTIAL Column
stats: NONE
+                        Statistics: Num rows: 2 Data size: 16 Basic stats: COMPLETE Column
stats: NONE
                         value expressions: _col1 (type: int)
                       Select Operator
                         expressions: _col0 (type: int)
                         outputColumnNames: _col0
-                        Statistics: Num rows: 2 Data size: 0 Basic stats: PARTIAL Column
stats: NONE
+                        Statistics: Num rows: 2 Data size: 16 Basic stats: COMPLETE Column
stats: NONE
                         Group By Operator
                           aggregations: min(_col0), max(_col0), bloom_filter(_col0, expectedEntries=4)
                           mode: hash
                           outputColumnNames: _col0, _col1, _col2
-                          Statistics: Num rows: 1 Data size: 12 Basic stats: COMPLETE Column
stats: NONE
+                          Statistics: Num rows: 1 Data size: 20 Basic stats: COMPLETE Column
stats: NONE
                           Reduce Output Operator
                             sort order: 
-                            Statistics: Num rows: 1 Data size: 12 Basic stats: COMPLETE Column
stats: NONE
+                            Statistics: Num rows: 1 Data size: 20 Basic stats: COMPLETE Column
stats: NONE
                             value expressions: _col0 (type: int), _col1 (type: int), _col2
(type: binary)
             Execution mode: llap
             LLAP IO: all inputs
@@ -571,62 +571,62 @@ STAGE PLANS:
                   0 a (type: int)
                   1 _col0 (type: int)
                 outputColumnNames: _col0, _col4, _col5, _col6
-                Statistics: Num rows: 2 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                Statistics: Num rows: 2 Data size: 17 Basic stats: COMPLETE Column stats:
NONE
                 Filter Operator
                   predicate: ((_col5 > 8) and (_col0 = _col5)) (type: boolean)
-                  Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                   Select Operator
                     expressions: _col4 (type: struct<transactionid:bigint,bucketid:int,rowid:bigint>)
                     outputColumnNames: _col0
-                    Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                    Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                     Reduce Output Operator
                       key expressions: _col0 (type: struct<transactionid:bigint,bucketid:int,rowid:bigint>)
                       sort order: +
                       Map-reduce partition columns: UDFToInteger(_col0) (type: int)
-                      Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                      Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                 Filter Operator
                   predicate: ((_col5 <= 8) and (_col0 = _col5)) (type: boolean)
-                  Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                   Select Operator
                     expressions: _col4 (type: struct<transactionid:bigint,bucketid:int,rowid:bigint>),
_col0 (type: int)
                     outputColumnNames: _col0, _col1
-                    Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                    Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                     Reduce Output Operator
                       key expressions: _col0 (type: struct<transactionid:bigint,bucketid:int,rowid:bigint>)
                       sort order: +
                       Map-reduce partition columns: UDFToInteger(_col0) (type: int)
-                      Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                      Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                       value expressions: _col1 (type: int)
                 Filter Operator
                   predicate: (_col0 = _col5) (type: boolean)
-                  Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                   Select Operator
                     expressions: _col4 (type: struct<transactionid:bigint,bucketid:int,rowid:bigint>)
                     outputColumnNames: _col4
-                    Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                    Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                     Group By Operator
                       aggregations: count()
                       keys: _col4 (type: struct<transactionid:bigint,bucketid:int,rowid:bigint>)
                       mode: hash
                       outputColumnNames: _col0, _col1
-                      Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                      Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: struct<transactionid:bigint,bucketid:int,rowid:bigint>)
                         sort order: +
                         Map-reduce partition columns: _col0 (type: struct<transactionid:bigint,bucketid:int,rowid:bigint>)
-                        Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column
stats: NONE
+                        Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column
stats: NONE
                         value expressions: _col1 (type: bigint)
                 Filter Operator
                   predicate: _col0 is null (type: boolean)
-                  Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                   Select Operator
                     expressions: _col5 (type: int), _col6 (type: int)
                     outputColumnNames: _col0, _col1
-                    Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                    Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                     Reduce Output Operator
                       sort order: 
                       Map-reduce partition columns: _col0 (type: int)
-                      Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                      Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                       value expressions: _col0 (type: int), _col1 (type: int)
         Reducer 4 
             Execution mode: llap
@@ -634,10 +634,10 @@ STAGE PLANS:
               Select Operator
                 expressions: KEY.reducesinkkey0 (type: struct<transactionid:bigint,bucketid:int,rowid:bigint>)
                 outputColumnNames: _col0
-                Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                 File Output Operator
                   compressed: false
-                  Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                   table:
                       input format: org.apache.hadoop.hive.ql.io.orc.OrcInputFormat
                       output format: org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat
@@ -650,10 +650,10 @@ STAGE PLANS:
               Select Operator
                 expressions: KEY.reducesinkkey0 (type: struct<transactionid:bigint,bucketid:int,rowid:bigint>),
VALUE._col0 (type: int), 7 (type: int)
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                 File Output Operator
                   compressed: false
-                  Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                   table:
                       input format: org.apache.hadoop.hive.ql.io.orc.OrcInputFormat
                       output format: org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat
@@ -668,17 +668,17 @@ STAGE PLANS:
                 keys: KEY._col0 (type: struct<transactionid:bigint,bucketid:int,rowid:bigint>)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1
-                Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                 Filter Operator
                   predicate: (_col1 > 1) (type: boolean)
-                  Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                   Select Operator
                     expressions: cardinality_violation(_col0) (type: int)
                     outputColumnNames: _col0
-                    Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                    Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                     File Output Operator
                       compressed: false
-                      Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                      Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                       table:
                           input format: org.apache.hadoop.mapred.TextInputFormat
                           output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
@@ -690,10 +690,10 @@ STAGE PLANS:
               Select Operator
                 expressions: VALUE._col0 (type: int), VALUE._col1 (type: int)
                 outputColumnNames: _col0, _col1
-                Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                 File Output Operator
                   compressed: false
-                  Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
                   table:
                       input format: org.apache.hadoop.hive.ql.io.orc.OrcInputFormat
                       output format: org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat
@@ -707,10 +707,10 @@ STAGE PLANS:
                 aggregations: min(VALUE._col0), max(VALUE._col1), bloom_filter(VALUE._col2,
expectedEntries=4)
                 mode: final
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 1 Data size: 12 Basic stats: COMPLETE Column stats:
NONE
+                Statistics: Num rows: 1 Data size: 20 Basic stats: COMPLETE Column stats:
NONE
                 Reduce Output Operator
                   sort order: 
-                  Statistics: Num rows: 1 Data size: 12 Basic stats: COMPLETE Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 20 Basic stats: COMPLETE Column stats:
NONE
                   value expressions: _col0 (type: int), _col1 (type: int), _col2 (type: binary)
         Union 2 
             Vertex: Union 2

http://git-wip-us.apache.org/repos/asf/hive/blob/8f7c5788/ql/src/test/results/clientpositive/llap/dynamic_semijoin_reduction_sw.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/dynamic_semijoin_reduction_sw.q.out b/ql/src/test/results/clientpositive/llap/dynamic_semijoin_reduction_sw.q.out
index 68ea269..db657f8 100644
--- a/ql/src/test/results/clientpositive/llap/dynamic_semijoin_reduction_sw.q.out
+++ b/ql/src/test/results/clientpositive/llap/dynamic_semijoin_reduction_sw.q.out
@@ -319,49 +319,49 @@ STAGE PLANS:
                 TableScan
                   alias: srcpart_small
                   filterExpr: key1 is not null (type: boolean)
-                  Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 184 Basic stats: COMPLETE Column stats:
NONE
                   Filter Operator
                     predicate: key1 is not null (type: boolean)
-                    Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
+                    Statistics: Num rows: 1 Data size: 184 Basic stats: COMPLETE Column stats:
NONE
                     Select Operator
                       expressions: key1 (type: string)
                       outputColumnNames: _col0
-                      Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats:
NONE
+                      Statistics: Num rows: 1 Data size: 184 Basic stats: COMPLETE Column
stats: NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: string)
                         sort order: +
                         Map-reduce partition columns: _col0 (type: string)
-                        Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column
stats: NONE
+                        Statistics: Num rows: 1 Data size: 184 Basic stats: COMPLETE Column
stats: NONE
                       Select Operator
                         expressions: _col0 (type: string)
                         outputColumnNames: _col0
-                        Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column
stats: NONE
+                        Statistics: Num rows: 1 Data size: 184 Basic stats: COMPLETE Column
stats: NONE
                         Group By Operator
                           aggregations: min(_col0), max(_col0), bloom_filter(_col0, expectedEntries=2)
                           mode: hash
                           outputColumnNames: _col0, _col1, _col2
-                          Statistics: Num rows: 1 Data size: 552 Basic stats: COMPLETE Column
stats: NONE
+                          Statistics: Num rows: 1 Data size: 736 Basic stats: COMPLETE Column
stats: NONE
                           Reduce Output Operator
                             sort order: 
-                            Statistics: Num rows: 1 Data size: 552 Basic stats: COMPLETE
Column stats: NONE
+                            Statistics: Num rows: 1 Data size: 736 Basic stats: COMPLETE
Column stats: NONE
                             value expressions: _col0 (type: string), _col1 (type: string),
_col2 (type: binary)
                       Reduce Output Operator
                         key expressions: _col0 (type: string)
                         sort order: +
                         Map-reduce partition columns: _col0 (type: string)
-                        Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column
stats: NONE
+                        Statistics: Num rows: 1 Data size: 184 Basic stats: COMPLETE Column
stats: NONE
                       Select Operator
                         expressions: _col0 (type: string)
                         outputColumnNames: _col0
-                        Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column
stats: NONE
+                        Statistics: Num rows: 1 Data size: 184 Basic stats: COMPLETE Column
stats: NONE
                         Group By Operator
                           aggregations: min(_col0), max(_col0), bloom_filter(_col0, expectedEntries=2)
                           mode: hash
                           outputColumnNames: _col0, _col1, _col2
-                          Statistics: Num rows: 1 Data size: 552 Basic stats: COMPLETE Column
stats: NONE
+                          Statistics: Num rows: 1 Data size: 736 Basic stats: COMPLETE Column
stats: NONE
                           Reduce Output Operator
                             sort order: 
-                            Statistics: Num rows: 1 Data size: 552 Basic stats: COMPLETE
Column stats: NONE
+                            Statistics: Num rows: 1 Data size: 736 Basic stats: COMPLETE
Column stats: NONE
                             value expressions: _col0 (type: string), _col1 (type: string),
_col2 (type: binary)
             Execution mode: llap
             LLAP IO: all inputs
@@ -445,14 +445,14 @@ STAGE PLANS:
                 aggregations: min(VALUE._col0), max(VALUE._col1), bloom_filter(VALUE._col2,
expectedEntries=2)
                 mode: final
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 1 Data size: 552 Basic stats: COMPLETE Column stats:
NONE
+                Statistics: Num rows: 1 Data size: 736 Basic stats: COMPLETE Column stats:
NONE
                 Reduce Output Operator
                   sort order: 
-                  Statistics: Num rows: 1 Data size: 552 Basic stats: COMPLETE Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 736 Basic stats: COMPLETE Column stats:
NONE
                   value expressions: _col0 (type: string), _col1 (type: string), _col2 (type:
binary)
                 Reduce Output Operator
                   sort order: 
-                  Statistics: Num rows: 1 Data size: 552 Basic stats: COMPLETE Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 736 Basic stats: COMPLETE Column stats:
NONE
                   value expressions: _col0 (type: string), _col1 (type: string), _col2 (type:
binary)
         Reducer 8 
             Execution mode: llap
@@ -476,14 +476,14 @@ STAGE PLANS:
                 aggregations: min(VALUE._col0), max(VALUE._col1), bloom_filter(VALUE._col2,
expectedEntries=2)
                 mode: final
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 1 Data size: 552 Basic stats: COMPLETE Column stats:
NONE
+                Statistics: Num rows: 1 Data size: 736 Basic stats: COMPLETE Column stats:
NONE
                 Reduce Output Operator
                   sort order: 
-                  Statistics: Num rows: 1 Data size: 552 Basic stats: COMPLETE Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 736 Basic stats: COMPLETE Column stats:
NONE
                   value expressions: _col0 (type: string), _col1 (type: string), _col2 (type:
binary)
                 Reduce Output Operator
                   sort order: 
-                  Statistics: Num rows: 1 Data size: 552 Basic stats: COMPLETE Column stats:
NONE
+                  Statistics: Num rows: 1 Data size: 736 Basic stats: COMPLETE Column stats:
NONE
                   value expressions: _col0 (type: string), _col1 (type: string), _col2 (type:
binary)
 
   Stage: Stage-0


Mime
View raw message