You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by pr...@apache.org on 2018/02/10 17:22:30 UTC

[01/12] hive git commit: HIVE-18359: Extend grouping set limits from int to long (Prasanth Jayachandran reviewed by Jesus Camacho Rodriguez)

Repository: hive
Updated Branches:
  refs/heads/master 89e75c785 -> ddd4c9aea


http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/spark/groupby_cube1.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/spark/groupby_cube1.q.out b/ql/src/test/results/clientpositive/spark/groupby_cube1.q.out
index fa1480e..71ccea5 100644
--- a/ql/src/test/results/clientpositive/spark/groupby_cube1.q.out
+++ b/ql/src/test/results/clientpositive/spark/groupby_cube1.q.out
@@ -42,21 +42,21 @@ STAGE PLANS:
                     Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: count()
-                      keys: key (type: string), val (type: string), 0 (type: int)
+                      keys: key (type: string), val (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col3 (type: bigint)
         Reducer 2 
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
@@ -107,21 +107,21 @@ STAGE PLANS:
                     Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: count()
-                      keys: key (type: string), val (type: string), 0 (type: int)
+                      keys: key (type: string), val (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col3 (type: bigint)
         Reducer 2 
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
@@ -198,26 +198,26 @@ STAGE PLANS:
                     Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: count()
-                      keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                      keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col3 (type: bigint)
         Reducer 2 
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int), _col3 (type: bigint)
+                  expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint), _col3 (type: bigint)
                   outputColumnNames: _col0, _col1, _col2, _col3
                   Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
                   File Output Operator
@@ -288,20 +288,20 @@ STAGE PLANS:
                     Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: count(DISTINCT val)
-                      keys: key (type: string), 0 (type: int), val (type: string)
+                      keys: key (type: string), 0 (type: bigint), val (type: string)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: string)
+                        key expressions: _col0 (type: string), _col1 (type: bigint), _col2 (type: string)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: bigint)
                         Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
         Reducer 2 
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(DISTINCT KEY._col2:0._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col2
                 Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
@@ -367,12 +367,12 @@ STAGE PLANS:
                     Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: count()
-                      keys: key (type: string), val (type: string), 0 (type: int)
+                      keys: key (type: string), val (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
                         Map-reduce partition columns: rand() (type: double)
                         Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
@@ -381,12 +381,12 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: string), _col1 (type: string)
                   Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
@@ -395,7 +395,7 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
@@ -473,12 +473,12 @@ STAGE PLANS:
                     Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: count(DISTINCT val)
-                      keys: key (type: string), 0 (type: int), val (type: string)
+                      keys: key (type: string), 0 (type: bigint), val (type: string)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: string)
+                        key expressions: _col0 (type: string), _col1 (type: bigint), _col2 (type: string)
                         sort order: +++
                         Map-reduce partition columns: _col0 (type: string)
                         Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
@@ -486,12 +486,12 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(DISTINCT KEY._col2:0._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: bigint)
                   sort order: ++
                   Map-reduce partition columns: _col0 (type: string)
                   Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
@@ -500,7 +500,7 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col2
                 Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
@@ -591,12 +591,12 @@ STAGE PLANS:
                     Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: count(1)
-                      keys: key (type: string), val (type: string), 0 (type: int)
+                      keys: key (type: string), val (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
                         Map-reduce partition columns: rand() (type: double)
                         Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
@@ -612,12 +612,12 @@ STAGE PLANS:
                     Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: sum(1)
-                      keys: key (type: string), val (type: string), 0 (type: int)
+                      keys: key (type: string), val (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
                         Map-reduce partition columns: rand() (type: double)
                         Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
@@ -626,12 +626,12 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: string), _col1 (type: string)
                   Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
@@ -640,7 +640,7 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
@@ -661,12 +661,12 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: string), _col1 (type: string)
                   Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
@@ -675,7 +675,7 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/spark/groupby_rollup1.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/spark/groupby_rollup1.q.out b/ql/src/test/results/clientpositive/spark/groupby_rollup1.q.out
index 460e7db..cf3721d 100644
--- a/ql/src/test/results/clientpositive/spark/groupby_rollup1.q.out
+++ b/ql/src/test/results/clientpositive/spark/groupby_rollup1.q.out
@@ -42,21 +42,21 @@ STAGE PLANS:
                     Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: count()
-                      keys: key (type: string), val (type: string), 0 (type: int)
+                      keys: key (type: string), val (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col3 (type: bigint)
         Reducer 2 
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
@@ -127,20 +127,20 @@ STAGE PLANS:
                     Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: count(DISTINCT val)
-                      keys: key (type: string), 0 (type: int), val (type: string)
+                      keys: key (type: string), 0 (type: bigint), val (type: string)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: string)
+                        key expressions: _col0 (type: string), _col1 (type: bigint), _col2 (type: string)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: bigint)
                         Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
         Reducer 2 
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(DISTINCT KEY._col2:0._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col2
                 Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
@@ -206,12 +206,12 @@ STAGE PLANS:
                     Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: count()
-                      keys: key (type: string), val (type: string), 0 (type: int)
+                      keys: key (type: string), val (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
                         Map-reduce partition columns: rand() (type: double)
                         Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
@@ -220,12 +220,12 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: string), _col1 (type: string)
                   Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
@@ -234,7 +234,7 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
@@ -306,12 +306,12 @@ STAGE PLANS:
                     Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: count(DISTINCT val)
-                      keys: key (type: string), 0 (type: int), val (type: string)
+                      keys: key (type: string), 0 (type: bigint), val (type: string)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: string)
+                        key expressions: _col0 (type: string), _col1 (type: bigint), _col2 (type: string)
                         sort order: +++
                         Map-reduce partition columns: _col0 (type: string)
                         Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
@@ -319,12 +319,12 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(DISTINCT KEY._col2:0._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: bigint)
                   sort order: ++
                   Map-reduce partition columns: _col0 (type: string)
                   Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
@@ -333,7 +333,7 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col2
                 Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
@@ -424,12 +424,12 @@ STAGE PLANS:
                     Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: count(1)
-                      keys: key (type: string), val (type: string), 0 (type: int)
+                      keys: key (type: string), val (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
                         Map-reduce partition columns: rand() (type: double)
                         Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
@@ -445,12 +445,12 @@ STAGE PLANS:
                     Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: sum(1)
-                      keys: key (type: string), val (type: string), 0 (type: int)
+                      keys: key (type: string), val (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
                         Map-reduce partition columns: rand() (type: double)
                         Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
@@ -459,12 +459,12 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: string), _col1 (type: string)
                   Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
@@ -473,7 +473,7 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
@@ -494,12 +494,12 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: string), _col1 (type: string)
                   Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
@@ -508,7 +508,7 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/spark/limit_pushdown2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/spark/limit_pushdown2.q.out b/ql/src/test/results/clientpositive/spark/limit_pushdown2.q.out
index f6f0043..3bd49b4 100644
--- a/ql/src/test/results/clientpositive/spark/limit_pushdown2.q.out
+++ b/ql/src/test/results/clientpositive/spark/limit_pushdown2.q.out
@@ -966,21 +966,21 @@ STAGE PLANS:
                     Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: avg(_col2)
-                      keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                      keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 1500 Data size: 15936 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Statistics: Num rows: 1500 Data size: 15936 Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col3 (type: struct<count:bigint,sum:double,input:double>)
         Reducer 2 
             Reduce Operator Tree:
               Group By Operator
                 aggregations: avg(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 750 Data size: 7968 Basic stats: COMPLETE Column stats: NONE
@@ -1051,21 +1051,21 @@ STAGE PLANS:
                     Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: avg(_col2)
-                      keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                      keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 1500 Data size: 15936 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Statistics: Num rows: 1500 Data size: 15936 Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col3 (type: struct<count:bigint,sum:double,input:double>)
         Reducer 2 
             Reduce Operator Tree:
               Group By Operator
                 aggregations: avg(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 750 Data size: 7968 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/tez/multi_count_distinct.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/tez/multi_count_distinct.q.out b/ql/src/test/results/clientpositive/tez/multi_count_distinct.q.out
index bb08f16..5f5a852 100644
--- a/ql/src/test/results/clientpositive/tez/multi_count_distinct.q.out
+++ b/ql/src/test/results/clientpositive/tez/multi_count_distinct.q.out
@@ -43,14 +43,14 @@ Stage-0
           PARTITION_ONLY_SHUFFLE [RS_9]
             Group By Operator [GBY_8] (rows=1 width=24)
               Output:["_col0","_col1","_col2"],aggregations:["count(_col0)","count(_col1)","count(_col2)"]
-              Select Operator [SEL_6] (rows=13 width=97)
+              Select Operator [SEL_6] (rows=13 width=101)
                 Output:["_col0","_col1","_col2"]
-                Group By Operator [GBY_5] (rows=13 width=97)
+                Group By Operator [GBY_5] (rows=13 width=101)
                   Output:["_col0","_col1","_col2","_col3"],keys:KEY._col0, KEY._col1, KEY._col2, KEY._col3
                 <-Map 1 [SIMPLE_EDGE]
                   SHUFFLE [RS_4]
                     PartitionCols:_col0, _col1, _col2, _col3
-                    Group By Operator [GBY_3] (rows=13 width=97)
+                    Group By Operator [GBY_3] (rows=13 width=101)
                       Output:["_col0","_col1","_col2","_col3"],keys:_col0, _col1, _col2, 0
                       Select Operator [SEL_1] (rows=9 width=93)
                         Output:["_col0","_col1","_col2"]
@@ -123,14 +123,14 @@ Stage-0
             PARTITION_ONLY_SHUFFLE [RS_9]
               Group By Operator [GBY_8] (rows=1 width=40)
                 Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["count(_col0)","count(_col1)","count(_col2)","count(_col3)","count(_col4)"]
-                Select Operator [SEL_6] (rows=22 width=97)
+                Select Operator [SEL_6] (rows=22 width=101)
                   Output:["_col0","_col1","_col2","_col3","_col4"]
-                  Group By Operator [GBY_5] (rows=22 width=97)
+                  Group By Operator [GBY_5] (rows=22 width=101)
                     Output:["_col0","_col1","_col2","_col3"],keys:KEY._col0, KEY._col1, KEY._col2, KEY._col3
                   <-Map 1 [SIMPLE_EDGE]
                     SHUFFLE [RS_4]
                       PartitionCols:_col0, _col1, _col2, _col3
-                      Group By Operator [GBY_3] (rows=22 width=97)
+                      Group By Operator [GBY_3] (rows=22 width=101)
                         Output:["_col0","_col1","_col2","_col3"],keys:_col0, _col1, _col2, 0
                         Select Operator [SEL_1] (rows=9 width=93)
                           Output:["_col0","_col1","_col2"]

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/vector_grouping_sets.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/vector_grouping_sets.q.out b/ql/src/test/results/clientpositive/vector_grouping_sets.q.out
index f08c270..fc8290e 100644
--- a/ql/src/test/results/clientpositive/vector_grouping_sets.q.out
+++ b/ql/src/test/results/clientpositive/vector_grouping_sets.q.out
@@ -162,18 +162,18 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: HASH
-                    keyExpressions: col 1:string, ConstantVectorExpression(val 0) -> 30:int
+                    keyExpressions: col 1:string, ConstantVectorExpression(val 0) -> 30:bigint
                     native: false
                     vectorProcessingMode: HASH
                     projectedOutputColumnNums: []
-                keys: s_store_id (type: string), 0 (type: int)
+                keys: s_store_id (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1
                 Statistics: Num rows: 24 Data size: 51264 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: bigint)
                   sort order: ++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: bigint)
                   Reduce Sink Vectorization:
                       className: VectorReduceSinkOperator
                       native: false
@@ -196,7 +196,7 @@ STAGE PLANS:
           enableConditionsNotMet: hive.execution.engine mr IN [tez, spark] IS false
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0
           Statistics: Num rows: 12 Data size: 25632 Basic stats: COMPLETE Column stats: NONE
@@ -273,18 +273,18 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: HASH
-                    keyExpressions: col 1:string, ConstantVectorExpression(val 0) -> 30:int
+                    keyExpressions: col 1:string, ConstantVectorExpression(val 0) -> 30:bigint
                     native: false
                     vectorProcessingMode: HASH
                     projectedOutputColumnNums: []
-                keys: _col0 (type: string), 0 (type: int)
+                keys: _col0 (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1
                 Statistics: Num rows: 24 Data size: 51264 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: bigint)
                   sort order: ++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: bigint)
                   Reduce Sink Vectorization:
                       className: VectorReduceSinkOperator
                       native: false
@@ -307,12 +307,12 @@ STAGE PLANS:
           enableConditionsNotMet: hive.execution.engine mr IN [tez, spark] IS false
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1
           Statistics: Num rows: 12 Data size: 25632 Basic stats: COMPLETE Column stats: NONE
           Select Operator
-            expressions: _col0 (type: string), _col1 (type: int)
+            expressions: _col0 (type: string), _col1 (type: bigint)
             outputColumnNames: _col0, _col1
             Statistics: Num rows: 12 Data size: 25632 Basic stats: COMPLETE Column stats: NONE
             File Output Operator
@@ -374,24 +374,24 @@ STAGE PLANS:
               outputColumnNames: _col0
               Statistics: Num rows: 12 Data size: 25632 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: _col0 (type: string), 0 (type: int)
+                keys: _col0 (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1
                 Statistics: Num rows: 24 Data size: 51264 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: bigint)
                   sort order: ++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: bigint)
                   Statistics: Num rows: 24 Data size: 51264 Basic stats: COMPLETE Column stats: NONE
       Execution mode: vectorized
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1
           Statistics: Num rows: 12 Data size: 25632 Basic stats: COMPLETE Column stats: NONE
           Select Operator
-            expressions: _col0 (type: string), _col1 (type: int)
+            expressions: _col0 (type: string), _col1 (type: bigint)
             outputColumnNames: _col0, _col1
             Statistics: Num rows: 12 Data size: 25632 Basic stats: COMPLETE Column stats: NONE
             File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/view_cbo.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/view_cbo.q.out b/ql/src/test/results/clientpositive/view_cbo.q.out
index e10cb7a..2fafa4f 100644
--- a/ql/src/test/results/clientpositive/view_cbo.q.out
+++ b/ql/src/test/results/clientpositive/view_cbo.q.out
@@ -26,20 +26,20 @@ STAGE PLANS:
               Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: avg(_col2)
-                keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 1500 Data size: 15936 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 1500 Data size: 15936 Basic stats: COMPLETE Column stats: NONE
                   value expressions: _col3 (type: struct<count:bigint,sum:double,input:double>)
       Reduce Operator Tree:
         Group By Operator
           aggregations: avg(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 750 Data size: 7968 Basic stats: COMPLETE Column stats: NONE


[12/12] hive git commit: HIVE-18359: Extend grouping set limits from int to long (Prasanth Jayachandran reviewed by Jesus Camacho Rodriguez)

Posted by pr...@apache.org.
HIVE-18359: Extend grouping set limits from int to long (Prasanth Jayachandran reviewed by Jesus Camacho Rodriguez)


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

Branch: refs/heads/master
Commit: ddd4c9aea6166129be289757e1721d0cfccfef66
Parents: 89e75c7
Author: Prasanth Jayachandran <pr...@apache.org>
Authored: Sat Feb 10 11:22:05 2018 -0600
Committer: Prasanth Jayachandran <pr...@apache.org>
Committed: Sat Feb 10 11:22:05 2018 -0600

----------------------------------------------------------------------
 .../org/apache/hadoop/hive/ql/ErrorMsg.java     |     2 +
 .../hadoop/hive/ql/exec/GroupByOperator.java    |    20 +-
 .../ql/exec/vector/VectorGroupByOperator.java   |     8 +-
 .../hadoop/hive/ql/metadata/VirtualColumn.java  |     2 +-
 .../calcite/reloperators/HiveGroupingID.java    |     2 +-
 .../rules/HiveExpandDistinctAggregatesRule.java |     2 +-
 .../calcite/translator/HiveGBOpConvUtil.java    |     8 +-
 .../hadoop/hive/ql/parse/CalcitePlanner.java    |    20 +-
 .../hadoop/hive/ql/parse/SemanticAnalyzer.java  |   110 +-
 .../apache/hadoop/hive/ql/plan/GroupByDesc.java |    12 +-
 .../hive/ql/udf/generic/GenericUDFGrouping.java |    39 +-
 .../test/queries/clientnegative/groupby_cube3.q |    90 +
 .../clientnegative/groupby_grouping_sets8.q     |    98 +
 .../queries/clientnegative/groupby_rollup3.q    |    90 +
 ql/src/test/queries/clientpositive/cte_1.q      |     2 +-
 .../clientpositive/groupingset_high_columns.q   |   259 +
 .../results/clientnegative/groupby_cube3.q.out  |    18 +
 .../clientnegative/groupby_grouping_sets8.q.out |    18 +
 .../clientnegative/groupby_rollup3.q.out        |    18 +
 .../clientpositive/annotate_stats_groupby.q.out |   192 +-
 .../annotate_stats_groupby2.q.out               |    40 +-
 .../cbo_rp_annotate_stats_groupby.q.out         |    64 +-
 .../results/clientpositive/groupby_cube1.q.out  |    74 +-
 .../clientpositive/groupby_cube_multi_gby.q.out |    16 +-
 .../clientpositive/groupby_grouping_id3.q.out   |    20 +-
 .../clientpositive/groupby_grouping_sets1.q.out |    40 +-
 .../clientpositive/groupby_grouping_sets2.q.out |    32 +-
 .../clientpositive/groupby_grouping_sets3.q.out |    24 +-
 .../clientpositive/groupby_grouping_sets4.q.out |    48 +-
 .../clientpositive/groupby_grouping_sets5.q.out |    24 +-
 .../clientpositive/groupby_grouping_sets6.q.out |    16 +-
 .../groupby_grouping_sets_grouping.q.out        |   128 +-
 .../groupby_grouping_sets_limit.q.out           |    32 +-
 .../groupby_grouping_window.q.out               |     8 +-
 .../clientpositive/groupby_rollup1.q.out        |    56 +-
 .../clientpositive/groupby_rollup_empty.q.out   |    10 +-
 .../groupingset_high_columns.q.out              |  1169 +
 .../infer_bucket_sort_grouping_operators.q.out  |    24 +-
 .../clientpositive/limit_pushdown2.q.out        |    16 +-
 .../results/clientpositive/llap/cte_1.q.out     | 36670 ++++++++---------
 .../llap/groupby_rollup_empty.q.out             |    10 +-
 .../results/clientpositive/llap/llap_acid.q.out |    60 +-
 .../clientpositive/llap/llap_acid_fast.q.out    |    60 +-
 .../llap/multi_count_distinct_null.q.out        |    58 +-
 .../llap/vector_groupby_cube1.q.out             |    74 +-
 .../llap/vector_groupby_grouping_id1.q.out      |   100 +-
 .../llap/vector_groupby_grouping_id2.q.out      |   306 +-
 .../llap/vector_groupby_grouping_id3.q.out      |    42 +-
 .../llap/vector_groupby_grouping_sets1.q.out    |    70 +-
 .../llap/vector_groupby_grouping_sets2.q.out    |    62 +-
 .../llap/vector_groupby_grouping_sets3.q.out    |    38 +-
 .../vector_groupby_grouping_sets3_dec.q.out     |    42 +-
 .../llap/vector_groupby_grouping_sets4.q.out    |    72 +-
 .../llap/vector_groupby_grouping_sets5.q.out    |    42 +-
 .../llap/vector_groupby_grouping_sets6.q.out    |    28 +-
 .../vector_groupby_grouping_sets_grouping.q.out |   230 +-
 .../vector_groupby_grouping_sets_limit.q.out    |    56 +-
 .../llap/vector_groupby_grouping_window.q.out   |    28 +-
 .../llap/vector_groupby_rollup1.q.out           |    96 +-
 .../llap/vector_grouping_sets.q.out             |    44 +-
 .../clientpositive/perf/spark/query18.q.out     |     8 +-
 .../clientpositive/perf/spark/query22.q.out     |     8 +-
 .../clientpositive/perf/spark/query27.q.out     |    14 +-
 .../clientpositive/perf/spark/query36.q.out     |    26 +-
 .../clientpositive/perf/spark/query5.q.out      |    20 +-
 .../clientpositive/perf/spark/query67.q.out     |     8 +-
 .../clientpositive/perf/spark/query70.q.out     |    26 +-
 .../clientpositive/perf/spark/query77.q.out     |    20 +-
 .../clientpositive/perf/spark/query80.q.out     |    20 +-
 .../clientpositive/perf/spark/query86.q.out     |    26 +-
 .../clientpositive/spark/groupby_cube1.q.out    |    74 +-
 .../clientpositive/spark/groupby_rollup1.q.out  |    56 +-
 .../clientpositive/spark/limit_pushdown2.q.out  |    16 +-
 .../tez/multi_count_distinct.q.out              |    12 +-
 .../clientpositive/vector_grouping_sets.q.out   |    32 +-
 .../test/results/clientpositive/view_cbo.q.out  |     8 +-
 76 files changed, 21594 insertions(+), 19819 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java b/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java
index 134faee..46d876d 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java
@@ -456,6 +456,8 @@ public enum ErrorMsg {
   HIVE_GROUPING_FUNCTION_EXPR_NOT_IN_GROUPBY(10409, "Expression in GROUPING function not present in GROUP BY"),
   ALTER_TABLE_NON_PARTITIONED_TABLE_CASCADE_NOT_SUPPORTED(10410,
       "Alter table with non-partitioned table does not support cascade"),
+  HIVE_GROUPING_SETS_SIZE_LIMIT(10411,
+    "Grouping sets size cannot be greater than 64"),
 
   //========================== 20000 range starts here ========================//
 

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/java/org/apache/hadoop/hive/ql/exec/GroupByOperator.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/GroupByOperator.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/GroupByOperator.java
index 6de979e..4b76638 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/GroupByOperator.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/GroupByOperator.java
@@ -65,7 +65,7 @@ import org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo;
 import org.apache.hadoop.hive.serde2.typeinfo.TypeInfo;
 import org.apache.hadoop.hive.serde2.typeinfo.TypeInfoUtils;
 import org.apache.hadoop.io.BytesWritable;
-import org.apache.hadoop.io.IntWritable;
+import org.apache.hadoop.io.LongWritable;
 import org.apache.hadoop.io.Text;
 import org.apache.hadoop.mapred.JobConf;
 
@@ -130,9 +130,9 @@ public class GroupByOperator extends Operator<GroupByDesc> implements IConfigure
 
   private transient boolean groupingSetsPresent;      // generates grouping set
   private transient int groupingSetsPosition;         // position of grouping set, generally the last of keys
-  private transient List<Integer> groupingSets;       // declared grouping set values
+  private transient List<Long> groupingSets;       // declared grouping set values
   private transient FastBitSet[] groupingSetsBitSet;  // bitsets acquired from grouping set values
-  private transient IntWritable[] newKeysGroupingSets;
+  private transient LongWritable[] newKeysGroupingSets;
 
   // for these positions, some variable primitive type (String) is used, so size
   // cannot be estimated. sample it at runtime.
@@ -180,7 +180,7 @@ public class GroupByOperator extends Operator<GroupByDesc> implements IConfigure
    * @param length
    * @return
    */
-  public static FastBitSet groupingSet2BitSet(int value, int length) {
+  public static FastBitSet groupingSet2BitSet(long value, int length) {
     FastBitSet bits = new FastBitSet();
     for (int index = length - 1; index >= 0; index--) {
       if (value % 2 != 0) {
@@ -231,13 +231,13 @@ public class GroupByOperator extends Operator<GroupByDesc> implements IConfigure
     if (groupingSetsPresent) {
       groupingSets = conf.getListGroupingSets();
       groupingSetsPosition = conf.getGroupingSetPosition();
-      newKeysGroupingSets = new IntWritable[groupingSets.size()];
+      newKeysGroupingSets = new LongWritable[groupingSets.size()];
       groupingSetsBitSet = new FastBitSet[groupingSets.size()];
 
       int pos = 0;
-      for (Integer groupingSet: groupingSets) {
+      for (Long groupingSet: groupingSets) {
         // Create the mapping corresponding to the grouping set
-        newKeysGroupingSets[pos] = new IntWritable(groupingSet);
+        newKeysGroupingSets[pos] = new LongWritable(groupingSet);
         groupingSetsBitSet[pos] = groupingSet2BitSet(groupingSet, groupingSetsPosition);
         pos++;
       }
@@ -1102,7 +1102,7 @@ public class GroupByOperator extends Operator<GroupByDesc> implements IConfigure
           Object[] keys=new Object[outputKeyLength];
           int pos = conf.getGroupingSetPosition();
           if (pos >= 0 && pos < outputKeyLength) {
-            keys[pos] = new IntWritable((1 << pos) - 1);
+            keys[pos] = new LongWritable((1L << pos) - 1);
           }
           forward(keys, aggregations);
         } else {
@@ -1175,11 +1175,11 @@ public class GroupByOperator extends Operator<GroupByDesc> implements IConfigure
     }
 
     int groupingSetPosition = desc.getGroupingSetPosition();
-    List<Integer> listGroupingSets = desc.getListGroupingSets();
+    List<Long> listGroupingSets = desc.getListGroupingSets();
     // groupingSets are known at map/reducer side; but have to do real processing
     // hence grouppingSetsPresent is true only at map side
     if (groupingSetPosition >= 0 && listGroupingSets != null) {
-      Integer emptyGrouping = (1 << groupingSetPosition) - 1;
+      Long emptyGrouping = (1L << groupingSetPosition) - 1;
       if (listGroupingSets.contains(emptyGrouping)) {
         return true;
       }

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorGroupByOperator.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorGroupByOperator.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorGroupByOperator.java
index e670409..75efc29 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorGroupByOperator.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorGroupByOperator.java
@@ -126,7 +126,7 @@ public class VectorGroupByOperator extends Operator<GroupByDesc>
   private transient boolean groupingSetsPresent;
 
   // The field bits (i.e. which fields to include) or "id" for each grouping set.
-  private transient int[] groupingSets;
+  private transient long[] groupingSets;
 
   // The position in the column keys of the dummy grouping set id column.
   private transient int groupingSetsPosition;
@@ -457,7 +457,7 @@ public class VectorGroupByOperator extends Operator<GroupByDesc>
         kw.setNull();
         int pos = conf.getGroupingSetPosition();
         if (pos >= 0) {
-          long val = (1 << pos) - 1;
+          long val = (1L << pos) - 1;
           keyWrappersBatch.setLongValue(kw, pos, val);
         }
         VectorAggregationBufferRow groupAggregators = allocateAggregationBuffer();
@@ -938,13 +938,13 @@ public class VectorGroupByOperator extends Operator<GroupByDesc>
       return;
     }
 
-    groupingSets = ArrayUtils.toPrimitive(conf.getListGroupingSets().toArray(new Integer[0]));
+    groupingSets = ArrayUtils.toPrimitive(conf.getListGroupingSets().toArray(new Long[0]));
     groupingSetsPosition = conf.getGroupingSetPosition();
 
     allGroupingSetsOverrideIsNulls = new boolean[groupingSets.length][];
 
     int pos = 0;
-    for (int groupingSet: groupingSets) {
+    for (long groupingSet: groupingSets) {
 
       // Create the mapping corresponding to the grouping set
 

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/java/org/apache/hadoop/hive/ql/metadata/VirtualColumn.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/VirtualColumn.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/VirtualColumn.java
index 2411d3a..48623e5 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/VirtualColumn.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/metadata/VirtualColumn.java
@@ -61,7 +61,7 @@ public enum VirtualColumn {
    * set if that column has been aggregated in that row. Otherwise the
    * value is "0".  Returns the decimal representation of the bit vector.
    */
-  GROUPINGID("GROUPING__ID", TypeInfoFactory.intTypeInfo);
+  GROUPINGID("GROUPING__ID", TypeInfoFactory.longTypeInfo);
 
   public static final ImmutableSet<String> VIRTUAL_COLUMN_NAMES =
       ImmutableSet.of(FILENAME.getName(), BLOCKOFFSET.getName(), ROWOFFSET.getName(),

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/reloperators/HiveGroupingID.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/reloperators/HiveGroupingID.java b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/reloperators/HiveGroupingID.java
index 4ba27a2..dcbccf6 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/reloperators/HiveGroupingID.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/reloperators/HiveGroupingID.java
@@ -33,7 +33,7 @@ public class HiveGroupingID extends SqlAbstractGroupFunction {
   private HiveGroupingID() {
     super(VirtualColumn.GROUPINGID.getName(),
             SqlKind.OTHER,
-            ReturnTypes.INTEGER,
+            ReturnTypes.BIGINT,
             InferTypes.BOOLEAN,
             OperandTypes.NILADIC,
             SqlFunctionCategory.SYSTEM);

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveExpandDistinctAggregatesRule.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveExpandDistinctAggregatesRule.java b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveExpandDistinctAggregatesRule.java
index 864efa4..b33c4c5 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveExpandDistinctAggregatesRule.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveExpandDistinctAggregatesRule.java
@@ -327,7 +327,7 @@ public final class HiveExpandDistinctAggregatesRule extends RelOptRule {
     // Create GroupingID column
     AggregateCall aggCall = AggregateCall.create(HiveGroupingID.INSTANCE, false,
         new ImmutableList.Builder<Integer>().build(), -1, this.cluster.getTypeFactory()
-            .createSqlType(SqlTypeName.INTEGER), HiveGroupingID.INSTANCE.getName());
+            .createSqlType(SqlTypeName.BIGINT), HiveGroupingID.INSTANCE.getName());
     aggregateCalls.add(aggCall);
     return new HiveAggregate(cluster, cluster.traitSetOf(HiveRelNode.CONVENTION),
         aggregate.getInput(), groupSet, origGroupSets, aggregateCalls);

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/translator/HiveGBOpConvUtil.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/translator/HiveGBOpConvUtil.java b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/translator/HiveGBOpConvUtil.java
index f22cd94..70f8343 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/translator/HiveGBOpConvUtil.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/translator/HiveGBOpConvUtil.java
@@ -101,7 +101,7 @@ public class HiveGBOpConvUtil {
     private final List<TypeInfo>      gbKeyTypes           = new ArrayList<TypeInfo>();
     private final List<ExprNodeDesc>  gbKeys               = new ArrayList<ExprNodeDesc>();
 
-    private final List<Integer>       grpSets              = new ArrayList<Integer>();
+    private final List<Long>       grpSets              = new ArrayList<Long>();
     private boolean                   grpSetRqrAdditionalMRJob;
     private boolean                   grpIdFunctionNeeded;
 
@@ -177,7 +177,7 @@ public class HiveGBOpConvUtil {
     if (aggRel.getGroupType() != Group.SIMPLE) {
       // 2.1 Translate Grouping set col bitset
       ImmutableList<ImmutableBitSet> lstGrpSet = aggRel.getGroupSets();
-      int bitmap = 0;
+      long bitmap = 0;
       for (ImmutableBitSet grpSet : lstGrpSet) {
         bitmap = 0;
         for (Integer bitIdx : grpSet.asList()) {
@@ -863,7 +863,7 @@ public class HiveGBOpConvUtil {
       groupingSetsColPosition = gbInfo.gbKeys.size();
       if (computeGrpSet) {
         // GrpSet Col needs to be constructed
-        gbKeys.add(new ExprNodeConstantDesc("0"));
+        gbKeys.add(new ExprNodeConstantDesc("0L"));
       } else {
         // GrpSet Col already part of input RS
         // TODO: Can't we just copy the ExprNodeDEsc from input (Do we need to
@@ -1185,7 +1185,7 @@ public class HiveGBOpConvUtil {
     ExprNodeDesc grpSetColExpr = null;
 
     if (createConstantExpr) {
-      grpSetColExpr = new ExprNodeConstantDesc("0");
+      grpSetColExpr = new ExprNodeConstantDesc("0L");
     } else {
       grpSetColExpr = new ExprNodeColumnDesc(TypeInfoFactory.stringTypeInfo, grpSetIDExprName,
           null, false);

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java
index cf2bc13..8e0a454 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java
@@ -3028,7 +3028,7 @@ public class CalcitePlanner extends SemanticAnalyzer {
     }
 
     private RelNode genGBRelNode(List<ExprNodeDesc> gbExprs, List<AggInfo> aggInfoLst,
-        List<Integer> groupSets, RelNode srcRel) throws SemanticException {
+        List<Long> groupSets, RelNode srcRel) throws SemanticException {
       ImmutableMap<String, Integer> posMap = this.relToHiveColNameCalcitePosMap.get(srcRel);
       RexNodeConverter converter = new RexNodeConverter(this.cluster, srcRel.getRowType(), posMap,
           0, false);
@@ -3054,7 +3054,7 @@ public class CalcitePlanner extends SemanticAnalyzer {
       if(hasGroupSets) {
         Set<ImmutableBitSet> setTransformedGroupSets =
                 new HashSet<ImmutableBitSet>(groupSets.size());
-        for(int val: groupSets) {
+        for(long val: groupSets) {
           setTransformedGroupSets.add(convert(val, groupSet.cardinality()));
         }
         // Calcite expects the grouping sets sorted and without duplicates
@@ -3071,7 +3071,7 @@ public class CalcitePlanner extends SemanticAnalyzer {
         // Create GroupingID column
         AggregateCall aggCall = AggregateCall.create(HiveGroupingID.INSTANCE,
                 false, new ImmutableList.Builder<Integer>().build(), -1,
-                this.cluster.getTypeFactory().createSqlType(SqlTypeName.INTEGER),
+                this.cluster.getTypeFactory().createSqlType(SqlTypeName.BIGINT),
                 HiveGroupingID.INSTANCE.getName());
         aggregateCalls.add(aggCall);
       }
@@ -3090,7 +3090,7 @@ public class CalcitePlanner extends SemanticAnalyzer {
     }
 
     /* This method returns the flip big-endian representation of value */
-    private ImmutableBitSet convert(int value, int length) {
+    private ImmutableBitSet convert(long value, int length) {
       BitSet bits = new BitSet();
       for (int index = length - 1; index >= 0; index--) {
         if (value % 2 != 0) {
@@ -3333,15 +3333,9 @@ public class CalcitePlanner extends SemanticAnalyzer {
 
         // 5. GroupingSets, Cube, Rollup
         int groupingColsSize = gbExprNDescLst.size();
-        List<Integer> groupingSets = null;
+        List<Long> groupingSets = null;
         if (cubeRollupGrpSetPresent) {
-          if (qbp.getDestRollups().contains(detsClauseName)) {
-            groupingSets = getGroupingSetsForRollup(grpByAstExprs.size());
-          } else if (qbp.getDestCubes().contains(detsClauseName)) {
-            groupingSets = getGroupingSetsForCube(grpByAstExprs.size());
-          } else if (qbp.getDestGroupingSets().contains(detsClauseName)) {
-            groupingSets = getGroupingSets(grpByAstExprs, qbp, detsClauseName);
-          }
+          groupingSets = getGroupByGroupingSetsForClause(qbp, detsClauseName).getSecond();
         }
 
         // 6. Construct aggregation function Info
@@ -3386,7 +3380,7 @@ public class CalcitePlanner extends SemanticAnalyzer {
           groupByOutputRowResolver.put(null, VirtualColumn.GROUPINGID.getName(),
                   new ColumnInfo(
                           field,
-                          TypeInfoFactory.intTypeInfo,
+                          VirtualColumn.GROUPINGID.getTypeInfo(),
                           null,
                           true));
         }

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
index 8e587f1..5c96653 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
@@ -255,6 +255,7 @@ import com.google.common.base.Strings;
 import com.google.common.collect.Iterables;
 import com.google.common.collect.Sets;
 import com.google.common.math.IntMath;
+import com.google.common.math.LongMath;
 
 /**
  * Implementation of the semantic analyzer. It generates the query plan.
@@ -2972,7 +2973,7 @@ public class SemanticAnalyzer extends BaseSemanticAnalyzer {
               // Query does not contain CUBE, ROLLUP, or GROUPING SETS, and thus,
               // grouping should return 0
               childGroupingID = (ASTNode) ParseDriver.adaptor.create(HiveParser.IntegralLiteral,
-                  String.valueOf(0));
+                "0L");
             } else {
               // We refer to grouping_id column
               childGroupingID = (ASTNode) ParseDriver.adaptor.create(
@@ -2990,7 +2991,7 @@ public class SemanticAnalyzer extends BaseSemanticAnalyzer {
                   // Create and add AST node with position of grouping function input
                   // in group by clause
                   ASTNode childN = (ASTNode) ParseDriver.adaptor.create(HiveParser.IntegralLiteral,
-                      String.valueOf(IntMath.mod(-j-1, grpByAstExprs.size())));
+                    String.valueOf(IntMath.mod(-j-1, grpByAstExprs.size())) + "L");
                   newRoot.addChild(childN);
                   break;
                 }
@@ -3830,18 +3831,18 @@ public class SemanticAnalyzer extends BaseSemanticAnalyzer {
     }
   }
 
-  protected List<Integer> getGroupingSetsForRollup(int size) {
-    List<Integer> groupingSetKeys = new ArrayList<Integer>();
+  protected List<Long> getGroupingSetsForRollup(int size) {
+    List<Long> groupingSetKeys = new ArrayList<Long>();
     for (int i = 0; i <= size; i++) {
-      groupingSetKeys.add((1 << i) - 1);
+      groupingSetKeys.add((1L << i) - 1);
     }
     return groupingSetKeys;
   }
 
-  protected List<Integer> getGroupingSetsForCube(int size) {
-    int count = 1 << size;
-    List<Integer> results = new ArrayList<Integer>(count);
-    for (int i = 0; i < count; ++i) {
+  protected List<Long> getGroupingSetsForCube(int size) {
+    long count = 1L << size;
+    List<Long> results = new ArrayList<Long>();
+    for (long i = 0; i < count; ++i) {
       results.add(i);
     }
     return results;
@@ -3850,10 +3851,14 @@ public class SemanticAnalyzer extends BaseSemanticAnalyzer {
   // This function returns the grouping sets along with the grouping expressions
   // Even if rollups and cubes are present in the query, they are converted to
   // grouping sets at this point
-  private ObjectPair<List<ASTNode>, List<Integer>> getGroupByGroupingSetsForClause(
-      QBParseInfo parseInfo, String dest) throws SemanticException {
-    List<Integer> groupingSets = new ArrayList<Integer>();
+  ObjectPair<List<ASTNode>, List<Long>> getGroupByGroupingSetsForClause(
+    QBParseInfo parseInfo, String dest) throws SemanticException {
+    List<Long> groupingSets = new ArrayList<Long>();
     List<ASTNode> groupByExprs = getGroupByForClause(parseInfo, dest);
+    if (groupByExprs.size() > Long.SIZE) {
+      throw new SemanticException(ErrorMsg.HIVE_GROUPING_SETS_SIZE_LIMIT.getMsg());
+    }
+
     if (parseInfo.getDestRollups().contains(dest)) {
       groupingSets = getGroupingSetsForRollup(groupByExprs.size());
     } else if (parseInfo.getDestCubes().contains(dest)) {
@@ -3862,11 +3867,11 @@ public class SemanticAnalyzer extends BaseSemanticAnalyzer {
       groupingSets = getGroupingSets(groupByExprs, parseInfo, dest);
     }
 
-    return new ObjectPair<List<ASTNode>, List<Integer>>(groupByExprs, groupingSets);
+    return new ObjectPair<List<ASTNode>, List<Long>>(groupByExprs, groupingSets);
   }
 
-  protected List<Integer> getGroupingSets(List<ASTNode> groupByExpr, QBParseInfo parseInfo,
-                                          String dest) throws SemanticException {
+  protected List<Long> getGroupingSets(List<ASTNode> groupByExpr, QBParseInfo parseInfo,
+      String dest) throws SemanticException {
     Map<String, Integer> exprPos = new HashMap<String, Integer>();
     for (int i = 0; i < groupByExpr.size(); ++i) {
       ASTNode node = groupByExpr.get(i);
@@ -3874,14 +3879,14 @@ public class SemanticAnalyzer extends BaseSemanticAnalyzer {
     }
 
     ASTNode root = parseInfo.getGroupByForClause(dest);
-    List<Integer> result = new ArrayList<Integer>(root == null ? 0 : root.getChildCount());
+    List<Long> result = new ArrayList<Long>(root == null ? 0 : root.getChildCount());
     if (root != null) {
       for (int i = 0; i < root.getChildCount(); ++i) {
         ASTNode child = (ASTNode) root.getChild(i);
         if (child.getType() != HiveParser.TOK_GROUPING_SETS_EXPRESSION) {
           continue;
         }
-        int bitmap = IntMath.pow(2, groupByExpr.size()) - 1;
+        long bitmap = LongMath.pow(2, groupByExpr.size()) - 1;
         for (int j = 0; j < child.getChildCount(); ++j) {
           String treeAsString = child.getChild(j).toStringTree();
           Integer pos = exprPos.get(treeAsString);
@@ -3895,27 +3900,28 @@ public class SemanticAnalyzer extends BaseSemanticAnalyzer {
         result.add(bitmap);
       }
     }
-    if (checkForEmptyGroupingSets(result, IntMath.pow(2, groupByExpr.size()) - 1)) {
+
+    if (checkForEmptyGroupingSets(result, LongMath.pow(2, groupByExpr.size()) - 1)) {
       throw new SemanticException(
-          ErrorMsg.HIVE_GROUPING_SETS_EMPTY.getMsg());
+        ErrorMsg.HIVE_GROUPING_SETS_EMPTY.getMsg());
     }
     return result;
   }
 
-  private boolean checkForEmptyGroupingSets(List<Integer> bitmaps, int groupingIdAllSet) {
+  private boolean checkForEmptyGroupingSets(List<Long> bitmaps, long groupingIdAllSet) {
     boolean ret = true;
-    for (int mask : bitmaps) {
+    for (long mask : bitmaps) {
       ret &= mask == groupingIdAllSet;
     }
     return ret;
   }
 
-  public static int setBit(int bitmap, int bitIdx) {
-    return bitmap | (1 << bitIdx);
+  public static long setBit(long bitmap, int bitIdx) {
+    return bitmap | (1L << bitIdx);
   }
 
-  public static int unsetBit(int bitmap, int bitIdx) {
-    return bitmap & ~(1 << bitIdx);
+  public static long unsetBit(long bitmap, int bitIdx) {
+    return bitmap & ~(1L << bitIdx);
   }
 
   /**
@@ -4774,7 +4780,7 @@ public class SemanticAnalyzer extends BaseSemanticAnalyzer {
     // For grouping sets, add a dummy grouping key
     String groupingSetColumnName =
         groupByInputRowResolver.get(null, VirtualColumn.GROUPINGID.getName()).getInternalName();
-    ExprNodeDesc inputExpr = new ExprNodeColumnDesc(TypeInfoFactory.intTypeInfo,
+    ExprNodeDesc inputExpr = new ExprNodeColumnDesc(VirtualColumn.GROUPINGID.getTypeInfo(),
         groupingSetColumnName, null, false);
     groupByKeys.add(inputExpr);
 
@@ -4783,7 +4789,7 @@ public class SemanticAnalyzer extends BaseSemanticAnalyzer {
     groupByOutputRowResolver.put(null, VirtualColumn.GROUPINGID.getName(),
         new ColumnInfo(
             field,
-            TypeInfoFactory.intTypeInfo,
+            VirtualColumn.GROUPINGID.getTypeInfo(),
             null,
             true));
     colExprMap.put(field, groupByKeys.get(groupByKeys.size() - 1));
@@ -4805,7 +4811,7 @@ public class SemanticAnalyzer extends BaseSemanticAnalyzer {
     // add a key for reduce sink
     String groupingSetColumnName =
         reduceSinkInputRowResolver.get(null, VirtualColumn.GROUPINGID.getName()).getInternalName();
-    ExprNodeDesc inputExpr = new ExprNodeColumnDesc(TypeInfoFactory.intTypeInfo,
+    ExprNodeDesc inputExpr = new ExprNodeColumnDesc(VirtualColumn.GROUPINGID.getTypeInfo(),
         groupingSetColumnName, null, false);
     reduceKeys.add(inputExpr);
 
@@ -4841,11 +4847,11 @@ public class SemanticAnalyzer extends BaseSemanticAnalyzer {
    */
   @SuppressWarnings("nls")
   private Operator genGroupByPlanGroupByOperator1(QBParseInfo parseInfo,
-                                                  String dest, Operator reduceSinkOperatorInfo, GroupByDesc.Mode mode,
-                                                  Map<String, GenericUDAFEvaluator> genericUDAFEvaluators,
-                                                  List<Integer> groupingSets,
-                                                  boolean groupingSetsPresent,
-                                                  boolean groupingSetsNeedAdditionalMRJob) throws SemanticException {
+      String dest, Operator reduceSinkOperatorInfo, GroupByDesc.Mode mode,
+      Map<String, GenericUDAFEvaluator> genericUDAFEvaluators,
+      List<Long> groupingSets,
+      boolean groupingSetsPresent,
+      boolean groupingSetsNeedAdditionalMRJob) throws SemanticException {
     ArrayList<String> outputColumnNames = new ArrayList<String>();
     RowResolver groupByInputRowResolver = opParseCtx
         .get(reduceSinkOperatorInfo).getRowResolver();
@@ -5037,14 +5043,14 @@ public class SemanticAnalyzer extends BaseSemanticAnalyzer {
                                     Map<String, ExprNodeDesc> colExprMap) {
     // The value for the constant does not matter. It is replaced by the grouping set
     // value for the actual implementation
-    ExprNodeConstantDesc constant = new ExprNodeConstantDesc(0);
+    ExprNodeConstantDesc constant = new ExprNodeConstantDesc(VirtualColumn.GROUPINGID.getTypeInfo(), 0L);
     groupByKeys.add(constant);
     String field = getColumnInternalName(groupByKeys.size() - 1);
     outputColumnNames.add(field);
     groupByOutputRowResolver.put(null, VirtualColumn.GROUPINGID.getName(),
         new ColumnInfo(
             field,
-            TypeInfoFactory.intTypeInfo,
+            VirtualColumn.GROUPINGID.getTypeInfo(),
             null,
             true));
     colExprMap.put(field, constant);
@@ -5065,13 +5071,13 @@ public class SemanticAnalyzer extends BaseSemanticAnalyzer {
    */
   @SuppressWarnings("nls")
   private Operator genGroupByPlanMapGroupByOperator(QB qb,
-                                                    String dest,
-                                                    List<ASTNode> grpByExprs,
-                                                    Operator inputOperatorInfo,
-                                                    GroupByDesc.Mode mode,
-                                                    Map<String, GenericUDAFEvaluator> genericUDAFEvaluators,
-                                                    List<Integer> groupingSetKeys,
-                                                    boolean groupingSetsPresent) throws SemanticException {
+      String dest,
+      List<ASTNode> grpByExprs,
+      Operator inputOperatorInfo,
+      GroupByDesc.Mode mode,
+      Map<String, GenericUDAFEvaluator> genericUDAFEvaluators,
+      List<Long> groupingSetKeys,
+      boolean groupingSetsPresent) throws SemanticException {
 
     RowResolver groupByInputRowResolver = opParseCtx.get(inputOperatorInfo)
         .getRowResolver();
@@ -5770,11 +5776,11 @@ public class SemanticAnalyzer extends BaseSemanticAnalyzer {
     QBParseInfo parseInfo = qb.getParseInfo();
 
     int numReducers = -1;
-    ObjectPair<List<ASTNode>, List<Integer>> grpByExprsGroupingSets =
+    ObjectPair<List<ASTNode>, List<Long>> grpByExprsGroupingSets =
         getGroupByGroupingSetsForClause(parseInfo, dest);
 
     List<ASTNode> grpByExprs = grpByExprsGroupingSets.getFirst();
-    List<Integer> groupingSets = grpByExprsGroupingSets.getSecond();
+    List<Long> groupingSets = grpByExprsGroupingSets.getSecond();
 
     if (grpByExprs.isEmpty()) {
       numReducers = 1;
@@ -5819,10 +5825,10 @@ public class SemanticAnalyzer extends BaseSemanticAnalyzer {
     List<ExprNodeDesc.ExprNodeDescEqualityWrapper> whereExpressions =
         new ArrayList<ExprNodeDesc.ExprNodeDescEqualityWrapper>();
     for (String dest : dests) {
-      ObjectPair<List<ASTNode>, List<Integer>> grpByExprsGroupingSets =
+      ObjectPair<List<ASTNode>, List<Long>> grpByExprsGroupingSets =
           getGroupByGroupingSetsForClause(parseInfo, dest);
 
-      List<Integer> groupingSets = grpByExprsGroupingSets.getSecond();
+      List<Long> groupingSets = grpByExprsGroupingSets.getSecond();
       if (!groupingSets.isEmpty()) {
         throw new SemanticException(ErrorMsg.HIVE_GROUPING_SETS_AGGR_NOMAPAGGR_MULTIGBY.getMsg());
       }
@@ -5965,11 +5971,11 @@ public class SemanticAnalyzer extends BaseSemanticAnalyzer {
 
     QBParseInfo parseInfo = qb.getParseInfo();
 
-    ObjectPair<List<ASTNode>, List<Integer>> grpByExprsGroupingSets =
+    ObjectPair<List<ASTNode>, List<Long>> grpByExprsGroupingSets =
         getGroupByGroupingSetsForClause(parseInfo, dest);
 
     List<ASTNode> grpByExprs = grpByExprsGroupingSets.getFirst();
-    List<Integer> groupingSets = grpByExprsGroupingSets.getSecond();
+    List<Long> groupingSets = grpByExprsGroupingSets.getSecond();
 
     // Grouping sets are not allowed
     // This restriction can be lifted in future.
@@ -6161,11 +6167,11 @@ public class SemanticAnalyzer extends BaseSemanticAnalyzer {
                                                Operator inputOperatorInfo) throws SemanticException {
 
     QBParseInfo parseInfo = qb.getParseInfo();
-    ObjectPair<List<ASTNode>, List<Integer>> grpByExprsGroupingSets =
+    ObjectPair<List<ASTNode>, List<Long>> grpByExprsGroupingSets =
         getGroupByGroupingSetsForClause(parseInfo, dest);
 
     List<ASTNode> grpByExprs = grpByExprsGroupingSets.getFirst();
-    List<Integer> groupingSets = grpByExprsGroupingSets.getSecond();
+    List<Long> groupingSets = grpByExprsGroupingSets.getSecond();
     boolean groupingSetsPresent = !groupingSets.isEmpty();
 
     int newMRJobGroupingSetsThreshold =
@@ -6330,11 +6336,11 @@ public class SemanticAnalyzer extends BaseSemanticAnalyzer {
 
     QBParseInfo parseInfo = qb.getParseInfo();
 
-    ObjectPair<List<ASTNode>, List<Integer>> grpByExprsGroupingSets =
+    ObjectPair<List<ASTNode>, List<Long>> grpByExprsGroupingSets =
         getGroupByGroupingSetsForClause(parseInfo, dest);
 
     List<ASTNode> grpByExprs = grpByExprsGroupingSets.getFirst();
-    List<Integer> groupingSets = grpByExprsGroupingSets.getSecond();
+    List<Long> groupingSets = grpByExprsGroupingSets.getSecond();
     boolean groupingSetsPresent = !groupingSets.isEmpty();
 
     if (groupingSetsPresent) {

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/java/org/apache/hadoop/hive/ql/plan/GroupByDesc.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/plan/GroupByDesc.java b/ql/src/java/org/apache/hadoop/hive/ql/plan/GroupByDesc.java
index e90a398..86cc77d 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/plan/GroupByDesc.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/plan/GroupByDesc.java
@@ -70,7 +70,7 @@ public class GroupByDesc extends AbstractOperatorDesc {
   private boolean bucketGroup;
 
   private ArrayList<ExprNodeDesc> keys;
-  private List<Integer> listGroupingSets;
+  private List<Long> listGroupingSets;
   private boolean groupingSetsPresent;
   private int groupingSetPosition = -1; //  /* in case of grouping sets; groupby1 will output values for every setgroup; this is the index of the column that information will be sent */
   private ArrayList<org.apache.hadoop.hive.ql.plan.AggregationDesc> aggregators;
@@ -90,7 +90,7 @@ public class GroupByDesc extends AbstractOperatorDesc {
       final ArrayList<org.apache.hadoop.hive.ql.plan.AggregationDesc> aggregators,
       final float groupByMemoryUsage,
       final float memoryThreshold,
-      final List<Integer> listGroupingSets,
+      final List<Long> listGroupingSets,
       final boolean groupingSetsPresent,
       final int groupingSetsPosition,
       final boolean isDistinct) {
@@ -107,7 +107,7 @@ public class GroupByDesc extends AbstractOperatorDesc {
       final boolean bucketGroup,
       final float groupByMemoryUsage,
       final float memoryThreshold,
-      final List<Integer> listGroupingSets,
+      final List<Long> listGroupingSets,
       final boolean groupingSetsPresent,
       final int groupingSetsPosition,
       final boolean isDistinct) {
@@ -267,11 +267,11 @@ public class GroupByDesc extends AbstractOperatorDesc {
   // in which case the group by would execute as a single map-reduce job.
   // For the group-by, the group by keys should be: a,b,groupingSet(for rollup), c
   // So, the starting position of grouping set need to be known
-  public List<Integer> getListGroupingSets() {
+  public List<Long> getListGroupingSets() {
     return listGroupingSets;
   }
 
-  public void setListGroupingSets(final List<Integer> listGroupingSets) {
+  public void setListGroupingSets(final List<Long> listGroupingSets) {
     this.listGroupingSets = listGroupingSets;
   }
 
@@ -315,7 +315,7 @@ public class GroupByDesc extends AbstractOperatorDesc {
     keys.addAll(this.keys);
     ArrayList<org.apache.hadoop.hive.ql.plan.AggregationDesc> aggregators = new ArrayList<>();
     aggregators.addAll(this.aggregators);
-    List<Integer> listGroupingSets = new ArrayList<>();
+    List<Long> listGroupingSets = new ArrayList<>();
     listGroupingSets.addAll(this.listGroupingSets);
     return new GroupByDesc(this.mode, outputColumnNames, keys, aggregators,
         this.groupByMemoryUsage, this.memoryThreshold, listGroupingSets, this.groupingSetsPresent,

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFGrouping.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFGrouping.java b/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFGrouping.java
index c0c3015..d11e51b 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFGrouping.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFGrouping.java
@@ -23,17 +23,18 @@ import org.apache.hadoop.hive.ql.exec.UDFArgumentLengthException;
 import org.apache.hadoop.hive.ql.exec.UDFArgumentTypeException;
 import org.apache.hadoop.hive.ql.metadata.HiveException;
 import org.apache.hadoop.hive.ql.udf.UDFType;
+import org.apache.hadoop.hive.serde2.objectinspector.ConstantObjectInspector;
 import org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector;
 import org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector.Category;
 import org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector;
 import org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector.PrimitiveCategory;
-import org.apache.hadoop.hive.serde2.objectinspector.primitive.IntObjectInspector;
 import org.apache.hadoop.hive.serde2.objectinspector.primitive.PrimitiveObjectInspectorFactory;
 import org.apache.hadoop.hive.serde2.objectinspector.primitive.PrimitiveObjectInspectorUtils;
 import org.apache.hadoop.hive.serde2.objectinspector.primitive.WritableConstantIntObjectInspector;
-import org.apache.hadoop.io.IntWritable;
+import org.apache.hadoop.hive.serde2.objectinspector.primitive.WritableConstantLongObjectInspector;
+import org.apache.hadoop.io.LongWritable;
 
-import com.google.common.math.IntMath;
+import com.google.common.math.LongMath;
 
 /**
  * UDF grouping
@@ -45,9 +46,9 @@ extended = "a is the grouping id, p1...pn are the indices we want to extract")
 @UDFType(deterministic = true)
 public class GenericUDFGrouping extends GenericUDF {
 
-  private transient IntObjectInspector groupingIdOI;
+  private transient PrimitiveObjectInspector groupingIdOI;
   private int[] indices;
-  private IntWritable intWritable = new IntWritable();
+  private LongWritable longWritable = new LongWritable();
 
   @Override
   public ObjectInspector initialize(ObjectInspector[] arguments) throws UDFArgumentException {
@@ -60,37 +61,41 @@ public class GenericUDFGrouping extends GenericUDF {
       throw new UDFArgumentTypeException(0, "The first argument to grouping() must be primitive");
     }
     PrimitiveObjectInspector arg1OI = (PrimitiveObjectInspector) arguments[0];
-    if (arg1OI.getPrimitiveCategory() != PrimitiveCategory.INT) {
-      throw new UDFArgumentTypeException(0, "The first argument to grouping() must be an integer");
+    // INT can happen in cases where grouping() is used without grouping sets, in all other cases it should be LONG.
+    if (!(arg1OI.getPrimitiveCategory() == PrimitiveCategory.INT ||
+      arg1OI.getPrimitiveCategory() == PrimitiveCategory.LONG)) {
+      throw new UDFArgumentTypeException(0,
+        "The first argument to grouping() must be an int/long. Got: " + arg1OI.getPrimitiveCategory());
     }
-    groupingIdOI = (IntObjectInspector) arguments[0];
+    groupingIdOI =  arg1OI;
 
     indices = new int[arguments.length - 1];
     for (int i = 1; i < arguments.length; i++) {
       PrimitiveObjectInspector arg2OI = (PrimitiveObjectInspector) arguments[i];
-      if (!(arg2OI instanceof WritableConstantIntObjectInspector)) {
-        throw new UDFArgumentTypeException(i, "Must be a constant");
+      if (!(arg2OI instanceof ConstantObjectInspector)) {
+        throw new UDFArgumentTypeException(i, "Must be a constant. Got: " + arg2OI.getClass().getSimpleName());
       }
-      indices[i - 1] = ((WritableConstantIntObjectInspector)arg2OI).getWritableConstantValue().get();
+      indices[i - 1] = PrimitiveObjectInspectorUtils
+        .getInt(((ConstantObjectInspector) arguments[i]).getWritableConstantValue(), arg2OI);
     }
 
-    return PrimitiveObjectInspectorFactory.writableIntObjectInspector;
+    return PrimitiveObjectInspectorFactory.writableLongObjectInspector;
   }
 
   @Override
   public Object evaluate(DeferredObject[] arguments) throws HiveException {
     // groupingId = PrimitiveObjectInspectorUtils.getInt(arguments[0].get(), groupingIdOI);
     // Check that the bit at the given index is '1' or '0'
-    int result = 0;
+    long result = 0;
     // grouping(c1, c2, c3)
     // is equivalent to
     // 4 * grouping(c1) + 2 * grouping(c2) + grouping(c3)
     for (int a = 1; a < arguments.length; a++) {
-      result += IntMath.pow(2, indices.length - a) *
-              ((PrimitiveObjectInspectorUtils.getInt(arguments[0].get(), groupingIdOI) >> indices[a - 1]) & 1);
+      result += LongMath.pow(2, indices.length - a) *
+              ((PrimitiveObjectInspectorUtils.getLong(arguments[0].get(), groupingIdOI) >> indices[a - 1]) & 1);
     }
-    intWritable.set(result);
-    return intWritable;
+    longWritable.set(result);
+    return longWritable;
   }
 
   @Override

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/queries/clientnegative/groupby_cube3.q
----------------------------------------------------------------------
diff --git a/ql/src/test/queries/clientnegative/groupby_cube3.q b/ql/src/test/queries/clientnegative/groupby_cube3.q
new file mode 100644
index 0000000..2804dbe
--- /dev/null
+++ b/ql/src/test/queries/clientnegative/groupby_cube3.q
@@ -0,0 +1,90 @@
+create table facts (val string);
+
+insert into facts values ('abcdefghijklmnopqrstuvwxyz0123456789');
+
+create table groupingsets65 as
+select 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,c32,c33,c34,c35,c36,c37,c38,c39,
+c40,c41,c42,c43,c44,c45,c46,c47,c48,c49,
+c50,c51,c52,c53,c54,c55,c56,c57,c58,c59,
+c60,c61,c62,c63,c64
+,count(*) as n from (
+select
+substring(val,01,1) as c00,
+substring(val,02,1) as c01,
+substring(val,03,1) as c02,
+substring(val,04,1) as c03,
+substring(val,05,1) as c04,
+substring(val,06,1) as c05,
+substring(val,07,1) as c06,
+substring(val,08,1) as c07,
+substring(val,09,1) as c08,
+substring(val,10,1) as c09,
+substring(val,11,1) as c10,
+substring(val,12,1) as c11,
+substring(val,13,1) as c12,
+substring(val,14,1) as c13,
+substring(val,15,1) as c14,
+substring(val,16,1) as c15,
+substring(val,17,1) as c16,
+substring(val,18,1) as c17,
+substring(val,19,1) as c18,
+substring(val,20,1) as c19,
+substring(val,21,1) as c20,
+substring(val,22,1) as c21,
+substring(val,23,1) as c22,
+substring(val,24,1) as c23,
+substring(val,25,1) as c24,
+substring(val,26,1) as c25,
+substring(val,27,1) as c26,
+substring(val,28,1) as c27,
+substring(val,29,1) as c28,
+substring(val,30,1) as c29,
+substring(val,31,1) as c30,
+substring(val,32,1) as c31,
+substring(val,01,1) as c32,
+substring(val,02,1) as c33,
+substring(val,03,1) as c34,
+substring(val,04,1) as c35,
+substring(val,05,1) as c36,
+substring(val,06,1) as c37,
+substring(val,07,1) as c38,
+substring(val,08,1) as c39,
+substring(val,09,1) as c40,
+substring(val,10,1) as c41,
+substring(val,11,1) as c42,
+substring(val,12,1) as c43,
+substring(val,13,1) as c44,
+substring(val,14,1) as c45,
+substring(val,15,1) as c46,
+substring(val,16,1) as c47,
+substring(val,17,1) as c48,
+substring(val,18,1) as c49,
+substring(val,19,1) as c50,
+substring(val,20,1) as c51,
+substring(val,21,1) as c52,
+substring(val,22,1) as c53,
+substring(val,23,1) as c54,
+substring(val,24,1) as c55,
+substring(val,25,1) as c56,
+substring(val,26,1) as c57,
+substring(val,27,1) as c58,
+substring(val,28,1) as c59,
+substring(val,29,1) as c60,
+substring(val,30,1) as c61,
+substring(val,31,1) as c62,
+substring(val,32,1) as c63,
+substring(val,32,1) as c64
+from facts ) x
+group by
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,c32,c33,c34,c35,c36,c37,c38,c39,
+c40,c41,c42,c43,c44,c45,c46,c47,c48,c49,
+c50,c51,c52,c53,c54,c55,c56,c57,c58,c59,
+c60,c61,c62,c63,c64
+with cube;

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/queries/clientnegative/groupby_grouping_sets8.q
----------------------------------------------------------------------
diff --git a/ql/src/test/queries/clientnegative/groupby_grouping_sets8.q b/ql/src/test/queries/clientnegative/groupby_grouping_sets8.q
new file mode 100644
index 0000000..082da7a
--- /dev/null
+++ b/ql/src/test/queries/clientnegative/groupby_grouping_sets8.q
@@ -0,0 +1,98 @@
+create table facts (val string);
+
+insert into facts values ('abcdefghijklmnopqrstuvwxyz0123456789');
+
+create table groupingsets65 as
+select 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,c32,c33,c34,c35,c36,c37,c38,c39,
+c40,c41,c42,c43,c44,c45,c46,c47,c48,c49,
+c50,c51,c52,c53,c54,c55,c56,c57,c58,c59,
+c60,c61,c62,c63,c64
+,count(*) as n from (
+select
+substring(val,01,1) as c00,
+substring(val,02,1) as c01,
+substring(val,03,1) as c02,
+substring(val,04,1) as c03,
+substring(val,05,1) as c04,
+substring(val,06,1) as c05,
+substring(val,07,1) as c06,
+substring(val,08,1) as c07,
+substring(val,09,1) as c08,
+substring(val,10,1) as c09,
+substring(val,11,1) as c10,
+substring(val,12,1) as c11,
+substring(val,13,1) as c12,
+substring(val,14,1) as c13,
+substring(val,15,1) as c14,
+substring(val,16,1) as c15,
+substring(val,17,1) as c16,
+substring(val,18,1) as c17,
+substring(val,19,1) as c18,
+substring(val,20,1) as c19,
+substring(val,21,1) as c20,
+substring(val,22,1) as c21,
+substring(val,23,1) as c22,
+substring(val,24,1) as c23,
+substring(val,25,1) as c24,
+substring(val,26,1) as c25,
+substring(val,27,1) as c26,
+substring(val,28,1) as c27,
+substring(val,29,1) as c28,
+substring(val,30,1) as c29,
+substring(val,31,1) as c30,
+substring(val,32,1) as c31,
+substring(val,01,1) as c32,
+substring(val,02,1) as c33,
+substring(val,03,1) as c34,
+substring(val,04,1) as c35,
+substring(val,05,1) as c36,
+substring(val,06,1) as c37,
+substring(val,07,1) as c38,
+substring(val,08,1) as c39,
+substring(val,09,1) as c40,
+substring(val,10,1) as c41,
+substring(val,11,1) as c42,
+substring(val,12,1) as c43,
+substring(val,13,1) as c44,
+substring(val,14,1) as c45,
+substring(val,15,1) as c46,
+substring(val,16,1) as c47,
+substring(val,17,1) as c48,
+substring(val,18,1) as c49,
+substring(val,19,1) as c50,
+substring(val,20,1) as c51,
+substring(val,21,1) as c52,
+substring(val,22,1) as c53,
+substring(val,23,1) as c54,
+substring(val,24,1) as c55,
+substring(val,25,1) as c56,
+substring(val,26,1) as c57,
+substring(val,27,1) as c58,
+substring(val,28,1) as c59,
+substring(val,29,1) as c60,
+substring(val,30,1) as c61,
+substring(val,31,1) as c62,
+substring(val,32,1) as c63,
+substring(val,32,1) as c64
+from facts ) x
+group by
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,c32,c33,c34,c35,c36,c37,c38,c39,
+c40,c41,c42,c43,c44,c45,c46,c47,c48,c49,
+c50,c51,c52,c53,c54,c55,c56,c57,c58,c59,
+c60,c61,c62,c63,c64
+grouping sets (
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,c32,c33,c34,c35,c36,c37,c38,c39,
+c40,c41,c42,c43,c44,c45,c46,c47,c48,c49,
+c50,c51,c52,c53,c54,c55,c56,c57,c58,c59,
+c60,c61,c62,c63,c64
+);

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/queries/clientnegative/groupby_rollup3.q
----------------------------------------------------------------------
diff --git a/ql/src/test/queries/clientnegative/groupby_rollup3.q b/ql/src/test/queries/clientnegative/groupby_rollup3.q
new file mode 100644
index 0000000..c205ca0
--- /dev/null
+++ b/ql/src/test/queries/clientnegative/groupby_rollup3.q
@@ -0,0 +1,90 @@
+create table facts (val string);
+
+insert into facts values ('abcdefghijklmnopqrstuvwxyz0123456789');
+
+create table groupingsets65 as
+select 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,c32,c33,c34,c35,c36,c37,c38,c39,
+c40,c41,c42,c43,c44,c45,c46,c47,c48,c49,
+c50,c51,c52,c53,c54,c55,c56,c57,c58,c59,
+c60,c61,c62,c63,c64
+,count(*) as n from (
+select
+substring(val,01,1) as c00,
+substring(val,02,1) as c01,
+substring(val,03,1) as c02,
+substring(val,04,1) as c03,
+substring(val,05,1) as c04,
+substring(val,06,1) as c05,
+substring(val,07,1) as c06,
+substring(val,08,1) as c07,
+substring(val,09,1) as c08,
+substring(val,10,1) as c09,
+substring(val,11,1) as c10,
+substring(val,12,1) as c11,
+substring(val,13,1) as c12,
+substring(val,14,1) as c13,
+substring(val,15,1) as c14,
+substring(val,16,1) as c15,
+substring(val,17,1) as c16,
+substring(val,18,1) as c17,
+substring(val,19,1) as c18,
+substring(val,20,1) as c19,
+substring(val,21,1) as c20,
+substring(val,22,1) as c21,
+substring(val,23,1) as c22,
+substring(val,24,1) as c23,
+substring(val,25,1) as c24,
+substring(val,26,1) as c25,
+substring(val,27,1) as c26,
+substring(val,28,1) as c27,
+substring(val,29,1) as c28,
+substring(val,30,1) as c29,
+substring(val,31,1) as c30,
+substring(val,32,1) as c31,
+substring(val,01,1) as c32,
+substring(val,02,1) as c33,
+substring(val,03,1) as c34,
+substring(val,04,1) as c35,
+substring(val,05,1) as c36,
+substring(val,06,1) as c37,
+substring(val,07,1) as c38,
+substring(val,08,1) as c39,
+substring(val,09,1) as c40,
+substring(val,10,1) as c41,
+substring(val,11,1) as c42,
+substring(val,12,1) as c43,
+substring(val,13,1) as c44,
+substring(val,14,1) as c45,
+substring(val,15,1) as c46,
+substring(val,16,1) as c47,
+substring(val,17,1) as c48,
+substring(val,18,1) as c49,
+substring(val,19,1) as c50,
+substring(val,20,1) as c51,
+substring(val,21,1) as c52,
+substring(val,22,1) as c53,
+substring(val,23,1) as c54,
+substring(val,24,1) as c55,
+substring(val,25,1) as c56,
+substring(val,26,1) as c57,
+substring(val,27,1) as c58,
+substring(val,28,1) as c59,
+substring(val,29,1) as c60,
+substring(val,30,1) as c61,
+substring(val,31,1) as c62,
+substring(val,32,1) as c63,
+substring(val,32,1) as c64
+from facts ) x
+group by
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,c32,c33,c34,c35,c36,c37,c38,c39,
+c40,c41,c42,c43,c44,c45,c46,c47,c48,c49,
+c50,c51,c52,c53,c54,c55,c56,c57,c58,c59,
+c60,c61,c62,c63,c64
+with rollup;

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/queries/clientpositive/cte_1.q
----------------------------------------------------------------------
diff --git a/ql/src/test/queries/clientpositive/cte_1.q b/ql/src/test/queries/clientpositive/cte_1.q
index 15d3f06..6d4e05d 100644
--- a/ql/src/test/queries/clientpositive/cte_1.q
+++ b/ql/src/test/queries/clientpositive/cte_1.q
@@ -60,4 +60,4 @@ create table cte10_t1 as
     with q1 as (select cint, cstring1 from alltypesorc where cint > 70)
                select * from q1;
 with q1 as (select cint , cstring1 from alltypesorc where age < 50)
-                           select * from cte10_t1;
\ No newline at end of file
+                           select * from cte10_t1;

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/queries/clientpositive/groupingset_high_columns.q
----------------------------------------------------------------------
diff --git a/ql/src/test/queries/clientpositive/groupingset_high_columns.q b/ql/src/test/queries/clientpositive/groupingset_high_columns.q
new file mode 100644
index 0000000..977ced6
--- /dev/null
+++ b/ql/src/test/queries/clientpositive/groupingset_high_columns.q
@@ -0,0 +1,259 @@
+create table facts (val string);
+
+insert into facts values ('abcdefghijklmnopqrstuvwxyz0123456789');
+
+set hive.vectorized.execution.enabled=false;
+drop table groupingsets32;
+drop table groupingsets33;
+drop table groupingsets32a;
+drop table groupingsets33a;
+
+create table groupingsets32 as 
+select 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31 
+,count(*) as n from ( 
+select 
+substring(val,01,1) as c00, substring(val,02,1) as c01, substring(val,03,1) as c02,substring(val,04,1) as c03,substring(val,05,1) as c04,substring(val,06,1) as c05,substring(val,07,1) as c06, substring(val,08,1) as c07,substring(val,09,1) as c08,substring(val,10,1) as c09, 
+substring(val,11,1) as c10, substring(val,12,1) as c11, substring(val,13,1) as c12,substring(val,14,1) as c13,substring(val,15,1) as c14,substring(val,16,1) as c15,substring(val,17,1) as c16, substring(val,18,1) as c17,substring(val,19,1) as c18,substring(val,20,1) as c19, 
+substring(val,21,1) as c20, substring(val,22,1) as c21, substring(val,23,1) as c22,substring(val,24,1) as c23,substring(val,25,1) as c24,substring(val,26,1) as c25,substring(val,27,1) as c26, substring(val,28,1) as c27,substring(val,29,1) as c28,substring(val,30,1) as c29, 
+substring(val,31,1) as c30,substring(val,32,1) as c31 
+from facts ) x 
+group by 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31 
+grouping sets ( 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31 
+);
+
+select * from groupingsets32;
+
+create table groupingsets32a as
+select
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,
+count(*) as n,
+grouping__id,
+grouping(c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31)
+from (
+select
+substring(val,01,1) as c00, substring(val,02,1) as c01, substring(val,03,1) as c02,substring(val,04,1) as c03,substring(val,05,1) as c04,substring(val,06,1) as c05,substring(val,07,1) as c06, substring(val,08,1) as c07,substring(val,09,1) as c08,substring(val,10,1) as c09,
+substring(val,11,1) as c10, substring(val,12,1) as c11, substring(val,13,1) as c12,substring(val,14,1) as c13,substring(val,15,1) as c14,substring(val,16,1) as c15,substring(val,17,1) as c16, substring(val,18,1) as c17,substring(val,19,1) as c18,substring(val,20,1) as c19,
+substring(val,21,1) as c20, substring(val,22,1) as c21, substring(val,23,1) as c22,substring(val,24,1) as c23,substring(val,25,1) as c24,substring(val,26,1) as c25,substring(val,27,1) as c26, substring(val,28,1) as c27,substring(val,29,1) as c28,substring(val,30,1) as c29,
+substring(val,31,1) as c30,substring(val,32,1) as c31
+from facts ) x
+group by
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31
+grouping sets (
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31
+);
+
+select * from groupingsets32a;
+
+create table groupingsets33 as 
+select 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31,c32 
+,count(*) as n from ( 
+select 
+substring(val,01,1) as c00, substring(val,02,1) as c01, substring(val,03,1) as c02,substring(val,04,1) as c03,substring(val,05,1) as c04,substring(val,06,1) as c05,substring(val,07,1) as c06, substring(val,08,1) as c07,substring(val,09,1) as c08,substring(val,10,1) as c09, 
+substring(val,11,1) as c10, substring(val,12,1) as c11, substring(val,13,1) as c12,substring(val,14,1) as c13,substring(val,15,1) as c14,substring(val,16,1) as c15,substring(val,17,1) as c16, substring(val,18,1) as c17,substring(val,19,1) as c18,substring(val,20,1) as c19, 
+substring(val,21,1) as c20, substring(val,22,1) as c21, substring(val,23,1) as c22,substring(val,24,1) as c23,substring(val,25,1) as c24,substring(val,26,1) as c25,substring(val,27,1) as c26, substring(val,28,1) as c27,substring(val,29,1) as c28,substring(val,30,1) as c29, 
+substring(val,31,1) as c30,substring(val,32,1) as c31,substring(val,33,1) as c32 
+from facts ) x 
+group by 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31,c32 
+grouping sets ( 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31,c32 
+) ;
+
+select * from groupingsets33; 
+
+create table groupingsets33a as
+select
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,c32
+,count(*) as n,
+grouping__id,
+grouping(c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,c32) 
+from (
+select
+substring(val,01,1) as c00, substring(val,02,1) as c01, substring(val,03,1) as c02,substring(val,04,1) as c03,substring(val,05,1) as c04,substring(val,06,1) as c05,substring(val,07,1) as c06, substring(val,08,1) as c07,substring(val,09,1) as c08,substring(val,10,1) as c09,
+substring(val,11,1) as c10, substring(val,12,1) as c11, substring(val,13,1) as c12,substring(val,14,1) as c13,substring(val,15,1) as c14,substring(val,16,1) as c15,substring(val,17,1) as c16, substring(val,18,1) as c17,substring(val,19,1) as c18,substring(val,20,1) as c19,
+substring(val,21,1) as c20, substring(val,22,1) as c21, substring(val,23,1) as c22,substring(val,24,1) as c23,substring(val,25,1) as c24,substring(val,26,1) as c25,substring(val,27,1) as c26, substring(val,28,1) as c27,substring(val,29,1) as c28,substring(val,30,1) as c29,
+substring(val,31,1) as c30,substring(val,32,1) as c31,substring(val,33,1) as c32
+from facts ) x
+group by
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,c32
+grouping sets (
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,c32
+) ;
+
+select * from groupingsets33a;
+
+set hive.vectorized.execution.enabled=true;
+
+drop table groupingsets32;
+drop table groupingsets33;
+
+drop table groupingsets32;
+drop table groupingsets33;
+drop table groupingsets32a;
+drop table groupingsets33a;
+
+create table groupingsets32 as 
+select 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31 
+,count(*) as n from ( 
+select 
+substring(val,01,1) as c00, substring(val,02,1) as c01, substring(val,03,1) as c02,substring(val,04,1) as c03,substring(val,05,1) as c04,substring(val,06,1) as c05,substring(val,07,1) as c06, substring(val,08,1) as c07,substring(val,09,1) as c08,substring(val,10,1) as c09, 
+substring(val,11,1) as c10, substring(val,12,1) as c11, substring(val,13,1) as c12,substring(val,14,1) as c13,substring(val,15,1) as c14,substring(val,16,1) as c15,substring(val,17,1) as c16, substring(val,18,1) as c17,substring(val,19,1) as c18,substring(val,20,1) as c19, 
+substring(val,21,1) as c20, substring(val,22,1) as c21, substring(val,23,1) as c22,substring(val,24,1) as c23,substring(val,25,1) as c24,substring(val,26,1) as c25,substring(val,27,1) as c26, substring(val,28,1) as c27,substring(val,29,1) as c28,substring(val,30,1) as c29, 
+substring(val,31,1) as c30,substring(val,32,1) as c31 
+from facts ) x 
+group by 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31 
+grouping sets ( 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31 
+);
+
+select * from groupingsets32;
+
+create table groupingsets32a as
+select
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,
+count(*) as n,
+grouping__id,
+grouping(c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31)
+from (
+select
+substring(val,01,1) as c00, substring(val,02,1) as c01, substring(val,03,1) as c02,substring(val,04,1) as c03,substring(val,05,1) as c04,substring(val,06,1) as c05,substring(val,07,1) as c06, substring(val,08,1) as c07,substring(val,09,1) as c08,substring(val,10,1) as c09,
+substring(val,11,1) as c10, substring(val,12,1) as c11, substring(val,13,1) as c12,substring(val,14,1) as c13,substring(val,15,1) as c14,substring(val,16,1) as c15,substring(val,17,1) as c16, substring(val,18,1) as c17,substring(val,19,1) as c18,substring(val,20,1) as c19,
+substring(val,21,1) as c20, substring(val,22,1) as c21, substring(val,23,1) as c22,substring(val,24,1) as c23,substring(val,25,1) as c24,substring(val,26,1) as c25,substring(val,27,1) as c26, substring(val,28,1) as c27,substring(val,29,1) as c28,substring(val,30,1) as c29,
+substring(val,31,1) as c30,substring(val,32,1) as c31
+from facts ) x
+group by
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31
+grouping sets (
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31
+);
+
+select * from groupingsets32a;
+
+create table groupingsets33 as 
+select 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31,c32 
+,count(*) as n from ( 
+select 
+substring(val,01,1) as c00, substring(val,02,1) as c01, substring(val,03,1) as c02,substring(val,04,1) as c03,substring(val,05,1) as c04,substring(val,06,1) as c05,substring(val,07,1) as c06, substring(val,08,1) as c07,substring(val,09,1) as c08,substring(val,10,1) as c09, 
+substring(val,11,1) as c10, substring(val,12,1) as c11, substring(val,13,1) as c12,substring(val,14,1) as c13,substring(val,15,1) as c14,substring(val,16,1) as c15,substring(val,17,1) as c16, substring(val,18,1) as c17,substring(val,19,1) as c18,substring(val,20,1) as c19, 
+substring(val,21,1) as c20, substring(val,22,1) as c21, substring(val,23,1) as c22,substring(val,24,1) as c23,substring(val,25,1) as c24,substring(val,26,1) as c25,substring(val,27,1) as c26, substring(val,28,1) as c27,substring(val,29,1) as c28,substring(val,30,1) as c29, 
+substring(val,31,1) as c30,substring(val,32,1) as c31,substring(val,33,1) as c32 
+from facts ) x 
+group by 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31,c32 
+grouping sets ( 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31,c32 
+) ;
+
+select * from groupingsets33; 
+
+create table groupingsets33a as
+select
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,c32
+,count(*) as n,
+grouping__id,
+grouping(c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,c32) 
+from (
+select
+substring(val,01,1) as c00, substring(val,02,1) as c01, substring(val,03,1) as c02,substring(val,04,1) as c03,substring(val,05,1) as c04,substring(val,06,1) as c05,substring(val,07,1) as c06, substring(val,08,1) as c07,substring(val,09,1) as c08,substring(val,10,1) as c09,
+substring(val,11,1) as c10, substring(val,12,1) as c11, substring(val,13,1) as c12,substring(val,14,1) as c13,substring(val,15,1) as c14,substring(val,16,1) as c15,substring(val,17,1) as c16, substring(val,18,1) as c17,substring(val,19,1) as c18,substring(val,20,1) as c19,
+substring(val,21,1) as c20, substring(val,22,1) as c21, substring(val,23,1) as c22,substring(val,24,1) as c23,substring(val,25,1) as c24,substring(val,26,1) as c25,substring(val,27,1) as c26, substring(val,28,1) as c27,substring(val,29,1) as c28,substring(val,30,1) as c29,
+substring(val,31,1) as c30,substring(val,32,1) as c31,substring(val,33,1) as c32
+from facts ) x
+group by
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,c32
+grouping sets (
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,c32
+) ;
+
+select * from groupingsets33a;

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientnegative/groupby_cube3.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/groupby_cube3.q.out b/ql/src/test/results/clientnegative/groupby_cube3.q.out
new file mode 100644
index 0000000..937cc01
--- /dev/null
+++ b/ql/src/test/results/clientnegative/groupby_cube3.q.out
@@ -0,0 +1,18 @@
+PREHOOK: query: create table facts (val string)
+PREHOOK: type: CREATETABLE
+PREHOOK: Output: database:default
+PREHOOK: Output: default@facts
+POSTHOOK: query: create table facts (val string)
+POSTHOOK: type: CREATETABLE
+POSTHOOK: Output: database:default
+POSTHOOK: Output: default@facts
+PREHOOK: query: insert into facts values ('abcdefghijklmnopqrstuvwxyz0123456789')
+PREHOOK: type: QUERY
+PREHOOK: Input: _dummy_database@_dummy_table
+PREHOOK: Output: default@facts
+POSTHOOK: query: insert into facts values ('abcdefghijklmnopqrstuvwxyz0123456789')
+POSTHOOK: type: QUERY
+POSTHOOK: Input: _dummy_database@_dummy_table
+POSTHOOK: Output: default@facts
+POSTHOOK: Lineage: facts.val SCRIPT []
+FAILED: SemanticException [Error 10411]: Grouping sets size cannot be greater than 64

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientnegative/groupby_grouping_sets8.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/groupby_grouping_sets8.q.out b/ql/src/test/results/clientnegative/groupby_grouping_sets8.q.out
new file mode 100644
index 0000000..937cc01
--- /dev/null
+++ b/ql/src/test/results/clientnegative/groupby_grouping_sets8.q.out
@@ -0,0 +1,18 @@
+PREHOOK: query: create table facts (val string)
+PREHOOK: type: CREATETABLE
+PREHOOK: Output: database:default
+PREHOOK: Output: default@facts
+POSTHOOK: query: create table facts (val string)
+POSTHOOK: type: CREATETABLE
+POSTHOOK: Output: database:default
+POSTHOOK: Output: default@facts
+PREHOOK: query: insert into facts values ('abcdefghijklmnopqrstuvwxyz0123456789')
+PREHOOK: type: QUERY
+PREHOOK: Input: _dummy_database@_dummy_table
+PREHOOK: Output: default@facts
+POSTHOOK: query: insert into facts values ('abcdefghijklmnopqrstuvwxyz0123456789')
+POSTHOOK: type: QUERY
+POSTHOOK: Input: _dummy_database@_dummy_table
+POSTHOOK: Output: default@facts
+POSTHOOK: Lineage: facts.val SCRIPT []
+FAILED: SemanticException [Error 10411]: Grouping sets size cannot be greater than 64

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientnegative/groupby_rollup3.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/groupby_rollup3.q.out b/ql/src/test/results/clientnegative/groupby_rollup3.q.out
new file mode 100644
index 0000000..937cc01
--- /dev/null
+++ b/ql/src/test/results/clientnegative/groupby_rollup3.q.out
@@ -0,0 +1,18 @@
+PREHOOK: query: create table facts (val string)
+PREHOOK: type: CREATETABLE
+PREHOOK: Output: database:default
+PREHOOK: Output: default@facts
+POSTHOOK: query: create table facts (val string)
+POSTHOOK: type: CREATETABLE
+POSTHOOK: Output: database:default
+POSTHOOK: Output: default@facts
+PREHOOK: query: insert into facts values ('abcdefghijklmnopqrstuvwxyz0123456789')
+PREHOOK: type: QUERY
+PREHOOK: Input: _dummy_database@_dummy_table
+PREHOOK: Output: default@facts
+POSTHOOK: query: insert into facts values ('abcdefghijklmnopqrstuvwxyz0123456789')
+POSTHOOK: type: QUERY
+POSTHOOK: Input: _dummy_database@_dummy_table
+POSTHOOK: Output: default@facts
+POSTHOOK: Lineage: facts.val SCRIPT []
+FAILED: SemanticException [Error 10411]: Grouping sets size cannot be greater than 64


[08/12] hive git commit: HIVE-18359: Extend grouping set limits from int to long (Prasanth Jayachandran reviewed by Jesus Camacho Rodriguez)

Posted by pr...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/infer_bucket_sort_grouping_operators.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/infer_bucket_sort_grouping_operators.q.out b/ql/src/test/results/clientpositive/infer_bucket_sort_grouping_operators.q.out
index 5f1d264..7224938 100644
--- a/ql/src/test/results/clientpositive/infer_bucket_sort_grouping_operators.q.out
+++ b/ql/src/test/results/clientpositive/infer_bucket_sort_grouping_operators.q.out
@@ -39,20 +39,20 @@ STAGE PLANS:
               Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count()
-                keys: key (type: string), value (type: string), 0 (type: int)
+                keys: key (type: string), value (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 1500 Data size: 15936 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 1500 Data size: 15936 Basic stats: COMPLETE Column stats: NONE
                   value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 750 Data size: 7968 Basic stats: COMPLETE Column stats: NONE
@@ -1518,20 +1518,20 @@ STAGE PLANS:
               Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count()
-                keys: key (type: string), value (type: string), 0 (type: int)
+                keys: key (type: string), value (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 2000 Data size: 21248 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 2000 Data size: 21248 Basic stats: COMPLETE Column stats: NONE
                   value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 1000 Data size: 10624 Basic stats: COMPLETE Column stats: NONE
@@ -1743,20 +1743,20 @@ STAGE PLANS:
               Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count()
-                keys: key (type: string), value (type: string), 0 (type: int)
+                keys: key (type: string), value (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 1000 Data size: 10624 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 1000 Data size: 10624 Basic stats: COMPLETE Column stats: NONE
                   value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/limit_pushdown2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/limit_pushdown2.q.out b/ql/src/test/results/clientpositive/limit_pushdown2.q.out
index cdd221b..f4cff2b 100644
--- a/ql/src/test/results/clientpositive/limit_pushdown2.q.out
+++ b/ql/src/test/results/clientpositive/limit_pushdown2.q.out
@@ -937,20 +937,20 @@ STAGE PLANS:
               Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: avg(_col2)
-                keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 1500 Data size: 15936 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 1500 Data size: 15936 Basic stats: COMPLETE Column stats: NONE
                   value expressions: _col3 (type: struct<count:bigint,sum:double,input:double>)
       Reduce Operator Tree:
         Group By Operator
           aggregations: avg(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 750 Data size: 7968 Basic stats: COMPLETE Column stats: NONE
@@ -1026,20 +1026,20 @@ STAGE PLANS:
               Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: avg(_col2)
-                keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 1500 Data size: 15936 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 1500 Data size: 15936 Basic stats: COMPLETE Column stats: NONE
                   value expressions: _col3 (type: struct<count:bigint,sum:double,input:double>)
       Reduce Operator Tree:
         Group By Operator
           aggregations: avg(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 750 Data size: 7968 Basic stats: COMPLETE Column stats: NONE


[02/12] hive git commit: HIVE-18359: Extend grouping set limits from int to long (Prasanth Jayachandran reviewed by Jesus Camacho Rodriguez)

Posted by pr...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/llap/vector_groupby_rollup1.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_groupby_rollup1.q.out b/ql/src/test/results/clientpositive/llap/vector_groupby_rollup1.q.out
index d1263cd..717c218 100644
--- a/ql/src/test/results/clientpositive/llap/vector_groupby_rollup1.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_groupby_rollup1.q.out
@@ -70,18 +70,18 @@ STAGE PLANS:
                           aggregators: VectorUDAFCountStar(*) -> bigint
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: [0]
-                      keys: key (type: string), val (type: string), 0 (type: int)
+                      keys: key (type: string), val (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 18 Data size: 6624 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -119,7 +119,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -129,11 +129,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 9 Data size: 3312 Basic stats: COMPLETE Column stats: NONE
@@ -227,18 +227,18 @@ STAGE PLANS:
                           aggregators: VectorUDAFCount(col 1:string) -> bigint
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, ConstantVectorExpression(val 0) -> 3:int, col 1:string
+                          keyExpressions: col 0:string, ConstantVectorExpression(val 0) -> 3:bigint, col 1:string
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: [0]
-                      keys: key (type: string), 0 (type: int), val (type: string)
+                      keys: key (type: string), 0 (type: bigint), val (type: string)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 12 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: string)
+                        key expressions: _col0 (type: string), _col1 (type: bigint), _col2 (type: string)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkOperator
                             native: false
@@ -272,7 +272,7 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(DISTINCT KEY._col2:0._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col2
                 Statistics: Num rows: 6 Data size: 2208 Basic stats: COMPLETE Column stats: NONE
@@ -354,16 +354,16 @@ STAGE PLANS:
                           aggregators: VectorUDAFCountStar(*) -> bigint
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: [0]
-                      keys: key (type: string), val (type: string), 0 (type: int)
+                      keys: key (type: string), val (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 18 Data size: 6624 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
                         Map-reduce partition columns: rand() (type: double)
                         Reduce Sink Vectorization:
@@ -404,7 +404,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -414,16 +414,16 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: PARTIALS
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 18 Data size: 6624 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: string), _col1 (type: string)
                   Reduce Sink Vectorization:
@@ -447,7 +447,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -457,11 +457,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: FINAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 9 Data size: 3312 Basic stats: COMPLETE Column stats: NONE
@@ -556,16 +556,16 @@ STAGE PLANS:
                           aggregators: VectorUDAFCount(col 1:string) -> bigint
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, ConstantVectorExpression(val 0) -> 3:int, col 1:string
+                          keyExpressions: col 0:string, ConstantVectorExpression(val 0) -> 3:bigint, col 1:string
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: [0]
-                      keys: key (type: string), 0 (type: int), val (type: string)
+                      keys: key (type: string), 0 (type: bigint), val (type: string)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 12 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: string)
+                        key expressions: _col0 (type: string), _col1 (type: bigint), _col2 (type: string)
                         sort order: +++
                         Map-reduce partition columns: _col0 (type: string)
                         Reduce Sink Vectorization:
@@ -601,12 +601,12 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(DISTINCT KEY._col2:0._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 12 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: bigint)
                   sort order: ++
                   Map-reduce partition columns: _col0 (type: string)
                   Statistics: Num rows: 12 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
@@ -621,7 +621,7 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col2
                 Statistics: Num rows: 6 Data size: 2208 Basic stats: COMPLETE Column stats: NONE
@@ -729,16 +729,16 @@ STAGE PLANS:
                           aggregators: VectorUDAFCount(ConstantVectorExpression(val 1) -> 4:int) -> bigint
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: [0]
-                      keys: key (type: string), val (type: string), 0 (type: int)
+                      keys: key (type: string), val (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 18 Data size: 6624 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
                         Map-reduce partition columns: rand() (type: double)
                         Reduce Sink Vectorization:
@@ -764,16 +764,16 @@ STAGE PLANS:
                           aggregators: VectorUDAFSumLong(ConstantVectorExpression(val 1) -> 6:int) -> bigint
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 5:int
+                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 5:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: [0]
-                      keys: key (type: string), val (type: string), 0 (type: int)
+                      keys: key (type: string), val (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 18 Data size: 6624 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
                         Map-reduce partition columns: rand() (type: double)
                         Reduce Sink Vectorization:
@@ -814,7 +814,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -824,16 +824,16 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: PARTIALS
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 18 Data size: 6624 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: string), _col1 (type: string)
                   Reduce Sink Vectorization:
@@ -857,7 +857,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -867,11 +867,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: FINAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 9 Data size: 3312 Basic stats: COMPLETE Column stats: NONE
@@ -907,7 +907,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -917,16 +917,16 @@ STAGE PLANS:
                     aggregators: VectorUDAFSumLong(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: PARTIALS
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 18 Data size: 6624 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: string), _col1 (type: string)
                   Reduce Sink Vectorization:
@@ -950,7 +950,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -960,11 +960,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFSumLong(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: FINAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 9 Data size: 3312 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/llap/vector_grouping_sets.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_grouping_sets.q.out b/ql/src/test/results/clientpositive/llap/vector_grouping_sets.q.out
index 0fc4b06..172e003 100644
--- a/ql/src/test/results/clientpositive/llap/vector_grouping_sets.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_grouping_sets.q.out
@@ -168,18 +168,18 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 1:string, ConstantVectorExpression(val 0) -> 30:int
+                          keyExpressions: col 1:string, ConstantVectorExpression(val 0) -> 30:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: s_store_id (type: string), 0 (type: int)
+                      keys: s_store_id (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1
                       Statistics: Num rows: 24 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: bigint)
                         sort order: ++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             native: true
@@ -209,11 +209,11 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:int
+                    keyExpressions: col 0:string, col 1:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: string), KEY._col1 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0
                 Statistics: Num rows: 12 Data size: 2208 Basic stats: COMPLETE Column stats: NONE
@@ -247,12 +247,12 @@ POSTHOOK: query: select s_store_id
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@store
 #### A masked pattern was here ####
-NULL
+AAAAAAAABAAAAAAA
 AAAAAAAAEAAAAAAA
 AAAAAAAAHAAAAAAA
+NULL
 AAAAAAAAIAAAAAAA
 AAAAAAAAKAAAAAAA
-AAAAAAAABAAAAAAA
 AAAAAAAACAAAAAAA
 PREHOOK: query: explain vectorization expression
 select s_store_id, GROUPING__ID
@@ -299,18 +299,18 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 1:string, ConstantVectorExpression(val 0) -> 30:int
+                          keyExpressions: col 1:string, ConstantVectorExpression(val 0) -> 30:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: _col0 (type: string), 0 (type: int)
+                      keys: _col0 (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1
                       Statistics: Num rows: 24 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: bigint)
                         sort order: ++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             native: true
@@ -340,16 +340,16 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:int
+                    keyExpressions: col 0:string, col 1:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: string), KEY._col1 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1
                 Statistics: Num rows: 12 Data size: 2208 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: string), _col1 (type: int)
+                  expressions: _col0 (type: string), _col1 (type: bigint)
                   outputColumnNames: _col0, _col1
                   Select Vectorization:
                       className: VectorSelectOperator
@@ -385,12 +385,12 @@ POSTHOOK: query: select s_store_id, GROUPING__ID
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@store
 #### A masked pattern was here ####
-NULL	1
+AAAAAAAABAAAAAAA	0
 AAAAAAAAEAAAAAAA	0
 AAAAAAAAHAAAAAAA	0
+NULL	1
 AAAAAAAAIAAAAAAA	0
 AAAAAAAAKAAAAAAA	0
-AAAAAAAABAAAAAAA	0
 AAAAAAAACAAAAAAA	0
 PREHOOK: query: explain
 select s_store_id, GROUPING__ID
@@ -424,14 +424,14 @@ STAGE PLANS:
                     outputColumnNames: _col0
                     Statistics: Num rows: 12 Data size: 2208 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
-                      keys: _col0 (type: string), 0 (type: int)
+                      keys: _col0 (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1
                       Statistics: Num rows: 24 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: bigint)
                         sort order: ++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: bigint)
                         Statistics: Num rows: 24 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
             Execution mode: vectorized, llap
             LLAP IO: all inputs
@@ -439,12 +439,12 @@ STAGE PLANS:
             Execution mode: vectorized, llap
             Reduce Operator Tree:
               Group By Operator
-                keys: KEY._col0 (type: string), KEY._col1 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1
                 Statistics: Num rows: 12 Data size: 2208 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: string), _col1 (type: int)
+                  expressions: _col0 (type: string), _col1 (type: bigint)
                   outputColumnNames: _col0, _col1
                   Statistics: Num rows: 12 Data size: 2208 Basic stats: COMPLETE Column stats: NONE
                   File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/perf/spark/query18.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query18.q.out b/ql/src/test/results/clientpositive/perf/spark/query18.q.out
index 88d289c..33b2f62 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query18.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query18.q.out
@@ -306,21 +306,21 @@ STAGE PLANS:
                   Statistics: Num rows: 421645953 Data size: 57099332415 Basic stats: COMPLETE Column stats: NONE
                   Group By Operator
                     aggregations: avg(_col4), avg(_col5), avg(_col6), avg(_col7), avg(_col8), avg(_col9), avg(_col10)
-                    keys: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: string), 0 (type: int)
+                    keys: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: string), 0 (type: bigint)
                     mode: hash
                     outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11
                     Statistics: Num rows: 2108229765 Data size: 285496662075 Basic stats: COMPLETE Column stats: NONE
                     Reduce Output Operator
-                      key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: int)
+                      key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: bigint)
                       sort order: +++++
-                      Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: int)
+                      Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: bigint)
                       Statistics: Num rows: 2108229765 Data size: 285496662075 Basic stats: COMPLETE Column stats: NONE
                       value expressions: _col5 (type: struct<count:bigint,sum:decimal(22,2),input:decimal(12,2)>), _col6 (type: struct<count:bigint,sum:decimal(22,2),input:decimal(12,2)>), _col7 (type: struct<count:bigint,sum:decimal(22,2),input:decimal(12,2)>), _col8 (type: struct<count:bigint,sum:decimal(22,2),input:decimal(12,2)>), _col9 (type: struct<count:bigint,sum:decimal(22,2),input:decimal(12,2)>), _col10 (type: struct<count:bigint,sum:decimal(22,2),input:decimal(12,2)>), _col11 (type: struct<count:bigint,sum:decimal(22,2),input:decimal(12,2)>)
         Reducer 5 
             Reduce Operator Tree:
               Group By Operator
                 aggregations: avg(VALUE._col0), avg(VALUE._col1), avg(VALUE._col2), avg(VALUE._col3), avg(VALUE._col4), avg(VALUE._col5), avg(VALUE._col6)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: string), KEY._col3 (type: string), KEY._col4 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: string), KEY._col3 (type: string), KEY._col4 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2, _col3, _col5, _col6, _col7, _col8, _col9, _col10, _col11
                 Statistics: Num rows: 1054114882 Data size: 142748330969 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/perf/spark/query22.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query22.q.out b/ql/src/test/results/clientpositive/perf/spark/query22.q.out
index 15fe441..38e4119 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query22.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query22.q.out
@@ -165,21 +165,21 @@ STAGE PLANS:
                 Statistics: Num rows: 50024305 Data size: 790375939 Basic stats: COMPLETE Column stats: NONE
                 Group By Operator
                   aggregations: avg(_col3)
-                  keys: _col8 (type: string), _col9 (type: string), _col10 (type: string), _col11 (type: string), 0 (type: int)
+                  keys: _col8 (type: string), _col9 (type: string), _col10 (type: string), _col11 (type: string), 0 (type: bigint)
                   mode: hash
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
                   Statistics: Num rows: 250121525 Data size: 3951879695 Basic stats: COMPLETE Column stats: NONE
                   Reduce Output Operator
-                    key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: int)
+                    key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: bigint)
                     sort order: +++++
-                    Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: int)
+                    Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: bigint)
                     Statistics: Num rows: 250121525 Data size: 3951879695 Basic stats: COMPLETE Column stats: NONE
                     value expressions: _col5 (type: struct<count:bigint,sum:double,input:int>)
         Reducer 3 
             Reduce Operator Tree:
               Group By Operator
                 aggregations: avg(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: string), KEY._col3 (type: string), KEY._col4 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: string), KEY._col3 (type: string), KEY._col4 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2, _col3, _col5
                 Statistics: Num rows: 125060762 Data size: 1975939839 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/perf/spark/query27.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query27.q.out b/ql/src/test/results/clientpositive/perf/spark/query27.q.out
index 627821f..a87ec45 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query27.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query27.q.out
@@ -211,14 +211,14 @@ STAGE PLANS:
                   Statistics: Num rows: 843315281 Data size: 74397518956 Basic stats: COMPLETE Column stats: NONE
                   Group By Operator
                     aggregations: avg(_col2), avg(_col3), avg(_col4), avg(_col5)
-                    keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                    keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                     mode: hash
                     outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6
                     Statistics: Num rows: 2529945843 Data size: 223192556868 Basic stats: COMPLETE Column stats: NONE
                     Reduce Output Operator
-                      key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                      key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                       sort order: +++
-                      Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                      Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                       Statistics: Num rows: 2529945843 Data size: 223192556868 Basic stats: COMPLETE Column stats: NONE
                       TopN Hash Memory Usage: 0.1
                       value expressions: _col3 (type: struct<count:bigint,sum:double,input:int>), _col4 (type: struct<count:bigint,sum:decimal(17,2),input:decimal(7,2)>), _col5 (type: struct<count:bigint,sum:decimal(17,2),input:decimal(7,2)>), _col6 (type: struct<count:bigint,sum:decimal(17,2),input:decimal(7,2)>)
@@ -226,12 +226,12 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: avg(VALUE._col0), avg(VALUE._col1), avg(VALUE._col2), avg(VALUE._col3)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6
                 Statistics: Num rows: 1264972921 Data size: 111596278389 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: string), _col1 (type: string), grouping(_col2, 0) (type: int), _col3 (type: double), _col4 (type: decimal(11,6)), _col5 (type: decimal(11,6)), _col6 (type: decimal(11,6))
+                  expressions: _col0 (type: string), _col1 (type: string), grouping(_col2, 0) (type: bigint), _col3 (type: double), _col4 (type: decimal(11,6)), _col5 (type: decimal(11,6)), _col6 (type: decimal(11,6))
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6
                   Statistics: Num rows: 1264972921 Data size: 111596278389 Basic stats: COMPLETE Column stats: NONE
                   Reduce Output Operator
@@ -239,11 +239,11 @@ STAGE PLANS:
                     sort order: ++
                     Statistics: Num rows: 1264972921 Data size: 111596278389 Basic stats: COMPLETE Column stats: NONE
                     TopN Hash Memory Usage: 0.1
-                    value expressions: _col2 (type: int), _col3 (type: double), _col4 (type: decimal(11,6)), _col5 (type: decimal(11,6)), _col6 (type: decimal(11,6))
+                    value expressions: _col2 (type: bigint), _col3 (type: double), _col4 (type: decimal(11,6)), _col5 (type: decimal(11,6)), _col6 (type: decimal(11,6))
         Reducer 6 
             Reduce Operator Tree:
               Select Operator
-                expressions: KEY.reducesinkkey0 (type: string), KEY.reducesinkkey1 (type: string), VALUE._col0 (type: int), VALUE._col1 (type: double), VALUE._col2 (type: decimal(11,6)), VALUE._col3 (type: decimal(11,6)), VALUE._col4 (type: decimal(11,6))
+                expressions: KEY.reducesinkkey0 (type: string), KEY.reducesinkkey1 (type: string), VALUE._col0 (type: bigint), VALUE._col1 (type: double), VALUE._col2 (type: decimal(11,6)), VALUE._col3 (type: decimal(11,6)), VALUE._col4 (type: decimal(11,6))
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6
                 Statistics: Num rows: 1264972921 Data size: 111596278389 Basic stats: COMPLETE Column stats: NONE
                 Limit

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/perf/spark/query36.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query36.q.out b/ql/src/test/results/clientpositive/perf/spark/query36.q.out
index d313337..1a1a991 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query36.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query36.q.out
@@ -192,45 +192,45 @@ STAGE PLANS:
                   Statistics: Num rows: 766650239 Data size: 67634106676 Basic stats: COMPLETE Column stats: NONE
                   Group By Operator
                     aggregations: sum(_col2), sum(_col3)
-                    keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                    keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                     mode: hash
                     outputColumnNames: _col0, _col1, _col2, _col3, _col4
                     Statistics: Num rows: 2299950717 Data size: 202902320028 Basic stats: COMPLETE Column stats: NONE
                     Reduce Output Operator
-                      key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                      key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                       sort order: +++
-                      Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                      Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                       Statistics: Num rows: 2299950717 Data size: 202902320028 Basic stats: COMPLETE Column stats: NONE
                       value expressions: _col3 (type: decimal(17,2)), _col4 (type: decimal(17,2))
         Reducer 4 
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0), sum(VALUE._col1)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4
                 Statistics: Num rows: 1149975358 Data size: 101451159969 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: string), _col1 (type: string), _col3 (type: decimal(17,2)), _col4 (type: decimal(17,2)), _col2 (type: int)
+                  expressions: _col0 (type: string), _col1 (type: string), _col3 (type: decimal(17,2)), _col4 (type: decimal(17,2)), _col2 (type: bigint)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4
                   Statistics: Num rows: 1149975358 Data size: 101451159969 Basic stats: COMPLETE Column stats: NONE
                   Reduce Output Operator
-                    key expressions: (grouping(_col4, 1) + grouping(_col4, 0)) (type: int), CASE WHEN ((grouping(_col4, 0) = 0)) THEN (_col0) ELSE (UDFToString(null)) END (type: string), (_col2 / _col3) (type: decimal(37,20))
+                    key expressions: (grouping(_col4, 1) + grouping(_col4, 0)) (type: bigint), CASE WHEN ((grouping(_col4, 0) = 0)) THEN (_col0) ELSE (UDFToString(null)) END (type: string), (_col2 / _col3) (type: decimal(37,20))
                     sort order: +++
-                    Map-reduce partition columns: (grouping(_col4, 1) + grouping(_col4, 0)) (type: int), CASE WHEN ((grouping(_col4, 0) = 0)) THEN (_col0) ELSE (UDFToString(null)) END (type: string)
+                    Map-reduce partition columns: (grouping(_col4, 1) + grouping(_col4, 0)) (type: bigint), CASE WHEN ((grouping(_col4, 0) = 0)) THEN (_col0) ELSE (UDFToString(null)) END (type: string)
                     Statistics: Num rows: 1149975358 Data size: 101451159969 Basic stats: COMPLETE Column stats: NONE
-                    value expressions: _col0 (type: string), _col1 (type: string), _col2 (type: decimal(17,2)), _col3 (type: decimal(17,2)), _col4 (type: int)
+                    value expressions: _col0 (type: string), _col1 (type: string), _col2 (type: decimal(17,2)), _col3 (type: decimal(17,2)), _col4 (type: bigint)
         Reducer 5 
             Reduce Operator Tree:
               Select Operator
-                expressions: VALUE._col0 (type: string), VALUE._col1 (type: string), VALUE._col2 (type: decimal(17,2)), VALUE._col3 (type: decimal(17,2)), VALUE._col4 (type: int)
+                expressions: VALUE._col0 (type: string), VALUE._col1 (type: string), VALUE._col2 (type: decimal(17,2)), VALUE._col3 (type: decimal(17,2)), VALUE._col4 (type: bigint)
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4
                 Statistics: Num rows: 1149975358 Data size: 101451159969 Basic stats: COMPLETE Column stats: NONE
                 PTF Operator
                   Function definitions:
                       Input definition
                         input alias: ptf_0
-                        output shape: _col0: string, _col1: string, _col2: decimal(17,2), _col3: decimal(17,2), _col4: int
+                        output shape: _col0: string, _col1: string, _col2: decimal(17,2), _col3: decimal(17,2), _col4: bigint
                         type: WINDOWING
                       Windowing table definition
                         input alias: ptf_1
@@ -248,11 +248,11 @@ STAGE PLANS:
                               isPivotResult: true
                   Statistics: Num rows: 1149975358 Data size: 101451159969 Basic stats: COMPLETE Column stats: NONE
                   Select Operator
-                    expressions: (_col2 / _col3) (type: decimal(37,20)), _col0 (type: string), _col1 (type: string), (grouping(_col4, 1) + grouping(_col4, 0)) (type: int), rank_window_0 (type: int), CASE WHEN (((grouping(_col4, 1) + grouping(_col4, 0)) = 0)) THEN (_col0) ELSE (null) END (type: string)
+                    expressions: (_col2 / _col3) (type: decimal(37,20)), _col0 (type: string), _col1 (type: string), (grouping(_col4, 1) + grouping(_col4, 0)) (type: bigint), rank_window_0 (type: int), CASE WHEN (((grouping(_col4, 1) + grouping(_col4, 0)) = 0)) THEN (_col0) ELSE (null) END (type: string)
                     outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
                     Statistics: Num rows: 1149975358 Data size: 101451159969 Basic stats: COMPLETE Column stats: NONE
                     Reduce Output Operator
-                      key expressions: _col3 (type: int), _col5 (type: string), _col4 (type: int)
+                      key expressions: _col3 (type: bigint), _col5 (type: string), _col4 (type: int)
                       sort order: -++
                       Statistics: Num rows: 1149975358 Data size: 101451159969 Basic stats: COMPLETE Column stats: NONE
                       TopN Hash Memory Usage: 0.1
@@ -260,7 +260,7 @@ STAGE PLANS:
         Reducer 6 
             Reduce Operator Tree:
               Select Operator
-                expressions: VALUE._col0 (type: decimal(37,20)), VALUE._col1 (type: string), VALUE._col2 (type: string), KEY.reducesinkkey0 (type: int), KEY.reducesinkkey2 (type: int)
+                expressions: VALUE._col0 (type: decimal(37,20)), VALUE._col1 (type: string), VALUE._col2 (type: string), KEY.reducesinkkey0 (type: bigint), KEY.reducesinkkey2 (type: int)
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4
                 Statistics: Num rows: 1149975358 Data size: 101451159969 Basic stats: COMPLETE Column stats: NONE
                 Limit

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/perf/spark/query5.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query5.q.out b/ql/src/test/results/clientpositive/perf/spark/query5.q.out
index 14e0bdb..1ba37e0 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query5.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query5.q.out
@@ -550,14 +550,14 @@ STAGE PLANS:
                   Statistics: Num rows: 191657181 Data size: 25444391433 Basic stats: COMPLETE Column stats: NONE
                   Group By Operator
                     aggregations: sum(_col2), sum(_col3), sum(_col4)
-                    keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                    keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                     mode: hash
                     outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
                     Statistics: Num rows: 2273797803 Data size: 251290313118 Basic stats: COMPLETE Column stats: NONE
                     Reduce Output Operator
-                      key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                      key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                       sort order: +++
-                      Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                      Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                       Statistics: Num rows: 2273797803 Data size: 251290313118 Basic stats: COMPLETE Column stats: NONE
                       TopN Hash Memory Usage: 0.1
                       value expressions: _col3 (type: decimal(27,2)), _col4 (type: decimal(27,2)), _col5 (type: decimal(28,2))
@@ -609,14 +609,14 @@ STAGE PLANS:
                   Statistics: Num rows: 182955399 Data size: 24876643188 Basic stats: COMPLETE Column stats: NONE
                   Group By Operator
                     aggregations: sum(_col2), sum(_col3), sum(_col4)
-                    keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                    keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                     mode: hash
                     outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
                     Statistics: Num rows: 2273797803 Data size: 251290313118 Basic stats: COMPLETE Column stats: NONE
                     Reduce Output Operator
-                      key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                      key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                       sort order: +++
-                      Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                      Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                       Statistics: Num rows: 2273797803 Data size: 251290313118 Basic stats: COMPLETE Column stats: NONE
                       TopN Hash Memory Usage: 0.1
                       value expressions: _col3 (type: decimal(27,2)), _col4 (type: decimal(27,2)), _col5 (type: decimal(28,2))
@@ -685,14 +685,14 @@ STAGE PLANS:
                   Statistics: Num rows: 383320021 Data size: 33442403085 Basic stats: COMPLETE Column stats: NONE
                   Group By Operator
                     aggregations: sum(_col2), sum(_col3), sum(_col4)
-                    keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                    keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                     mode: hash
                     outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
                     Statistics: Num rows: 2273797803 Data size: 251290313118 Basic stats: COMPLETE Column stats: NONE
                     Reduce Output Operator
-                      key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                      key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                       sort order: +++
-                      Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                      Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                       Statistics: Num rows: 2273797803 Data size: 251290313118 Basic stats: COMPLETE Column stats: NONE
                       TopN Hash Memory Usage: 0.1
                       value expressions: _col3 (type: decimal(27,2)), _col4 (type: decimal(27,2)), _col5 (type: decimal(28,2))
@@ -700,7 +700,7 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0), sum(VALUE._col1), sum(VALUE._col2)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3, _col4, _col5
                 Statistics: Num rows: 1136898901 Data size: 125645156503 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/perf/spark/query67.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query67.q.out b/ql/src/test/results/clientpositive/perf/spark/query67.q.out
index 25d37bd..b0fc41c 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query67.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query67.q.out
@@ -221,21 +221,21 @@ STAGE PLANS:
                   Statistics: Num rows: 766650239 Data size: 67634106676 Basic stats: COMPLETE Column stats: NONE
                   Group By Operator
                     aggregations: sum(_col8)
-                    keys: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: int), _col5 (type: int), _col6 (type: int), _col7 (type: string), 0 (type: int)
+                    keys: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: int), _col5 (type: int), _col6 (type: int), _col7 (type: string), 0 (type: bigint)
                     mode: hash
                     outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9
                     Statistics: Num rows: 6899852151 Data size: 608706960084 Basic stats: COMPLETE Column stats: NONE
                     Reduce Output Operator
-                      key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: int), _col5 (type: int), _col6 (type: int), _col7 (type: string), _col8 (type: int)
+                      key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: int), _col5 (type: int), _col6 (type: int), _col7 (type: string), _col8 (type: bigint)
                       sort order: +++++++++
-                      Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: int), _col5 (type: int), _col6 (type: int), _col7 (type: string), _col8 (type: int)
+                      Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: int), _col5 (type: int), _col6 (type: int), _col7 (type: string), _col8 (type: bigint)
                       Statistics: Num rows: 6899852151 Data size: 608706960084 Basic stats: COMPLETE Column stats: NONE
                       value expressions: _col9 (type: decimal(28,2))
         Reducer 4 
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: string), KEY._col3 (type: string), KEY._col4 (type: int), KEY._col5 (type: int), KEY._col6 (type: int), KEY._col7 (type: string), KEY._col8 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: string), KEY._col3 (type: string), KEY._col4 (type: int), KEY._col5 (type: int), KEY._col6 (type: int), KEY._col7 (type: string), KEY._col8 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col9
                 Statistics: Num rows: 3449926075 Data size: 304353479997 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/perf/spark/query70.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query70.q.out b/ql/src/test/results/clientpositive/perf/spark/query70.q.out
index 862bdb0..7ebb776 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query70.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query70.q.out
@@ -339,45 +339,45 @@ STAGE PLANS:
                   Statistics: Num rows: 766650239 Data size: 67634106676 Basic stats: COMPLETE Column stats: NONE
                   Group By Operator
                     aggregations: sum(_col2)
-                    keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                    keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                     mode: hash
                     outputColumnNames: _col0, _col1, _col2, _col3
                     Statistics: Num rows: 2299950717 Data size: 202902320028 Basic stats: COMPLETE Column stats: NONE
                     Reduce Output Operator
-                      key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                      key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                       sort order: +++
-                      Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                      Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                       Statistics: Num rows: 2299950717 Data size: 202902320028 Basic stats: COMPLETE Column stats: NONE
                       value expressions: _col3 (type: decimal(17,2))
         Reducer 4 
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 1149975358 Data size: 101451159969 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: string), _col1 (type: string), _col3 (type: decimal(17,2)), _col2 (type: int)
+                  expressions: _col0 (type: string), _col1 (type: string), _col3 (type: decimal(17,2)), _col2 (type: bigint)
                   outputColumnNames: _col0, _col1, _col2, _col3
                   Statistics: Num rows: 1149975358 Data size: 101451159969 Basic stats: COMPLETE Column stats: NONE
                   Reduce Output Operator
-                    key expressions: (grouping(_col3, 1) + grouping(_col3, 0)) (type: int), CASE WHEN ((grouping(_col3, 0) = 0)) THEN (_col0) ELSE (UDFToString(null)) END (type: string), _col2 (type: decimal(17,2))
+                    key expressions: (grouping(_col3, 1) + grouping(_col3, 0)) (type: bigint), CASE WHEN ((grouping(_col3, 0) = 0)) THEN (_col0) ELSE (UDFToString(null)) END (type: string), _col2 (type: decimal(17,2))
                     sort order: ++-
-                    Map-reduce partition columns: (grouping(_col3, 1) + grouping(_col3, 0)) (type: int), CASE WHEN ((grouping(_col3, 0) = 0)) THEN (_col0) ELSE (UDFToString(null)) END (type: string)
+                    Map-reduce partition columns: (grouping(_col3, 1) + grouping(_col3, 0)) (type: bigint), CASE WHEN ((grouping(_col3, 0) = 0)) THEN (_col0) ELSE (UDFToString(null)) END (type: string)
                     Statistics: Num rows: 1149975358 Data size: 101451159969 Basic stats: COMPLETE Column stats: NONE
-                    value expressions: _col0 (type: string), _col1 (type: string), _col3 (type: int)
+                    value expressions: _col0 (type: string), _col1 (type: string), _col3 (type: bigint)
         Reducer 5 
             Reduce Operator Tree:
               Select Operator
-                expressions: VALUE._col0 (type: string), VALUE._col1 (type: string), KEY.reducesinkkey2 (type: decimal(17,2)), VALUE._col2 (type: int)
+                expressions: VALUE._col0 (type: string), VALUE._col1 (type: string), KEY.reducesinkkey2 (type: decimal(17,2)), VALUE._col2 (type: bigint)
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 1149975358 Data size: 101451159969 Basic stats: COMPLETE Column stats: NONE
                 PTF Operator
                   Function definitions:
                       Input definition
                         input alias: ptf_0
-                        output shape: _col0: string, _col1: string, _col2: decimal(17,2), _col3: int
+                        output shape: _col0: string, _col1: string, _col2: decimal(17,2), _col3: bigint
                         type: WINDOWING
                       Windowing table definition
                         input alias: ptf_1
@@ -395,11 +395,11 @@ STAGE PLANS:
                               isPivotResult: true
                   Statistics: Num rows: 1149975358 Data size: 101451159969 Basic stats: COMPLETE Column stats: NONE
                   Select Operator
-                    expressions: _col2 (type: decimal(17,2)), _col0 (type: string), _col1 (type: string), (grouping(_col3, 1) + grouping(_col3, 0)) (type: int), rank_window_0 (type: int), CASE WHEN (((grouping(_col3, 1) + grouping(_col3, 0)) = 0)) THEN (_col0) ELSE (null) END (type: string)
+                    expressions: _col2 (type: decimal(17,2)), _col0 (type: string), _col1 (type: string), (grouping(_col3, 1) + grouping(_col3, 0)) (type: bigint), rank_window_0 (type: int), CASE WHEN (((grouping(_col3, 1) + grouping(_col3, 0)) = 0)) THEN (_col0) ELSE (null) END (type: string)
                     outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
                     Statistics: Num rows: 1149975358 Data size: 101451159969 Basic stats: COMPLETE Column stats: NONE
                     Reduce Output Operator
-                      key expressions: _col3 (type: int), _col5 (type: string), _col4 (type: int)
+                      key expressions: _col3 (type: bigint), _col5 (type: string), _col4 (type: int)
                       sort order: -++
                       Statistics: Num rows: 1149975358 Data size: 101451159969 Basic stats: COMPLETE Column stats: NONE
                       TopN Hash Memory Usage: 0.1
@@ -407,7 +407,7 @@ STAGE PLANS:
         Reducer 6 
             Reduce Operator Tree:
               Select Operator
-                expressions: VALUE._col0 (type: decimal(17,2)), VALUE._col1 (type: string), VALUE._col2 (type: string), KEY.reducesinkkey0 (type: int), KEY.reducesinkkey2 (type: int)
+                expressions: VALUE._col0 (type: decimal(17,2)), VALUE._col1 (type: string), VALUE._col2 (type: string), KEY.reducesinkkey0 (type: bigint), KEY.reducesinkkey2 (type: int)
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4
                 Statistics: Num rows: 1149975358 Data size: 101451159969 Basic stats: COMPLETE Column stats: NONE
                 Limit

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/perf/spark/query77.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query77.q.out b/ql/src/test/results/clientpositive/perf/spark/query77.q.out
index 6dcaf7c..9a77a7b 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query77.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query77.q.out
@@ -665,14 +665,14 @@ STAGE PLANS:
                     Statistics: Num rows: 158394413 Data size: 57088528313 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: sum(_col2), sum(_col3), sum(_col4)
-                      keys: _col0 (type: string), _col1 (type: int), 0 (type: int)
+                      keys: _col0 (type: string), _col1 (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
                       Statistics: Num rows: 1912659936 Data size: 311808612993 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                         Statistics: Num rows: 1912659936 Data size: 311808612993 Basic stats: COMPLETE Column stats: NONE
                         TopN Hash Memory Usage: 0.1
                         value expressions: _col3 (type: decimal(27,2)), _col4 (type: decimal(27,2)), _col5 (type: decimal(28,2))
@@ -771,14 +771,14 @@ STAGE PLANS:
                   Statistics: Num rows: 95833780 Data size: 13030622681 Basic stats: COMPLETE Column stats: NONE
                   Group By Operator
                     aggregations: sum(_col2), sum(_col3), sum(_col4)
-                    keys: _col0 (type: string), _col1 (type: int), 0 (type: int)
+                    keys: _col0 (type: string), _col1 (type: int), 0 (type: bigint)
                     mode: hash
                     outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
                     Statistics: Num rows: 1912659936 Data size: 311808612993 Basic stats: COMPLETE Column stats: NONE
                     Reduce Output Operator
-                      key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                      key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                       sort order: +++
-                      Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                      Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                       Statistics: Num rows: 1912659936 Data size: 311808612993 Basic stats: COMPLETE Column stats: NONE
                       TopN Hash Memory Usage: 0.1
                       value expressions: _col3 (type: decimal(27,2)), _col4 (type: decimal(27,2)), _col5 (type: decimal(28,2))
@@ -857,14 +857,14 @@ STAGE PLANS:
                   Statistics: Num rows: 383325119 Data size: 33817053337 Basic stats: COMPLETE Column stats: NONE
                   Group By Operator
                     aggregations: sum(_col2), sum(_col3), sum(_col4)
-                    keys: _col0 (type: string), _col1 (type: int), 0 (type: int)
+                    keys: _col0 (type: string), _col1 (type: int), 0 (type: bigint)
                     mode: hash
                     outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
                     Statistics: Num rows: 1912659936 Data size: 311808612993 Basic stats: COMPLETE Column stats: NONE
                     Reduce Output Operator
-                      key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                      key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                       sort order: +++
-                      Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                      Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                       Statistics: Num rows: 1912659936 Data size: 311808612993 Basic stats: COMPLETE Column stats: NONE
                       TopN Hash Memory Usage: 0.1
                       value expressions: _col3 (type: decimal(27,2)), _col4 (type: decimal(27,2)), _col5 (type: decimal(28,2))
@@ -872,7 +872,7 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0), sum(VALUE._col1), sum(VALUE._col2)
-                keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3, _col4, _col5
                 Statistics: Num rows: 956329968 Data size: 155904306496 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/perf/spark/query80.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query80.q.out b/ql/src/test/results/clientpositive/perf/spark/query80.q.out
index 606d23c..ee769f9 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query80.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query80.q.out
@@ -646,14 +646,14 @@ STAGE PLANS:
                   Statistics: Num rows: 231905279 Data size: 31404633508 Basic stats: COMPLETE Column stats: NONE
                   Group By Operator
                     aggregations: sum(_col2), sum(_col3), sum(_col4)
-                    keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                    keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                     mode: hash
                     outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
                     Statistics: Num rows: 2435062716 Data size: 264270971781 Basic stats: COMPLETE Column stats: NONE
                     Reduce Output Operator
-                      key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                      key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                       sort order: +++
-                      Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                      Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                       Statistics: Num rows: 2435062716 Data size: 264270971781 Basic stats: COMPLETE Column stats: NONE
                       TopN Hash Memory Usage: 0.1
                       value expressions: _col3 (type: decimal(27,2)), _col4 (type: decimal(32,2)), _col5 (type: decimal(33,2))
@@ -775,14 +775,14 @@ STAGE PLANS:
                   Statistics: Num rows: 115958879 Data size: 15767054151 Basic stats: COMPLETE Column stats: NONE
                   Group By Operator
                     aggregations: sum(_col2), sum(_col3), sum(_col4)
-                    keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                    keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                     mode: hash
                     outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
                     Statistics: Num rows: 2435062716 Data size: 264270971781 Basic stats: COMPLETE Column stats: NONE
                     Reduce Output Operator
-                      key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                      key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                       sort order: +++
-                      Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                      Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                       Statistics: Num rows: 2435062716 Data size: 264270971781 Basic stats: COMPLETE Column stats: NONE
                       TopN Hash Memory Usage: 0.1
                       value expressions: _col3 (type: decimal(27,2)), _col4 (type: decimal(32,2)), _col5 (type: decimal(33,2))
@@ -848,14 +848,14 @@ STAGE PLANS:
                   Statistics: Num rows: 463823414 Data size: 40918636268 Basic stats: COMPLETE Column stats: NONE
                   Group By Operator
                     aggregations: sum(_col2), sum(_col3), sum(_col4)
-                    keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                    keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                     mode: hash
                     outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
                     Statistics: Num rows: 2435062716 Data size: 264270971781 Basic stats: COMPLETE Column stats: NONE
                     Reduce Output Operator
-                      key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                      key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                       sort order: +++
-                      Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                      Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                       Statistics: Num rows: 2435062716 Data size: 264270971781 Basic stats: COMPLETE Column stats: NONE
                       TopN Hash Memory Usage: 0.1
                       value expressions: _col3 (type: decimal(27,2)), _col4 (type: decimal(32,2)), _col5 (type: decimal(33,2))
@@ -863,7 +863,7 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0), sum(VALUE._col1), sum(VALUE._col2)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3, _col4, _col5
                 Statistics: Num rows: 1217531358 Data size: 132135485890 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/perf/spark/query86.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query86.q.out b/ql/src/test/results/clientpositive/perf/spark/query86.q.out
index 8e159fd..80a24d3 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query86.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query86.q.out
@@ -150,45 +150,45 @@ STAGE PLANS:
                   Statistics: Num rows: 174243235 Data size: 23692040863 Basic stats: COMPLETE Column stats: NONE
                   Group By Operator
                     aggregations: sum(_col2)
-                    keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                    keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                     mode: hash
                     outputColumnNames: _col0, _col1, _col2, _col3
                     Statistics: Num rows: 522729705 Data size: 71076122589 Basic stats: COMPLETE Column stats: NONE
                     Reduce Output Operator
-                      key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                      key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                       sort order: +++
-                      Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                      Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                       Statistics: Num rows: 522729705 Data size: 71076122589 Basic stats: COMPLETE Column stats: NONE
                       value expressions: _col3 (type: decimal(17,2))
         Reducer 3 
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 261364852 Data size: 35538061226 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: string), _col1 (type: string), _col3 (type: decimal(17,2)), _col2 (type: int)
+                  expressions: _col0 (type: string), _col1 (type: string), _col3 (type: decimal(17,2)), _col2 (type: bigint)
                   outputColumnNames: _col0, _col1, _col2, _col3
                   Statistics: Num rows: 261364852 Data size: 35538061226 Basic stats: COMPLETE Column stats: NONE
                   Reduce Output Operator
-                    key expressions: (grouping(_col3, 1) + grouping(_col3, 0)) (type: int), CASE WHEN ((grouping(_col3, 0) = 0)) THEN (_col0) ELSE (UDFToString(null)) END (type: string), _col2 (type: decimal(17,2))
+                    key expressions: (grouping(_col3, 1) + grouping(_col3, 0)) (type: bigint), CASE WHEN ((grouping(_col3, 0) = 0)) THEN (_col0) ELSE (UDFToString(null)) END (type: string), _col2 (type: decimal(17,2))
                     sort order: ++-
-                    Map-reduce partition columns: (grouping(_col3, 1) + grouping(_col3, 0)) (type: int), CASE WHEN ((grouping(_col3, 0) = 0)) THEN (_col0) ELSE (UDFToString(null)) END (type: string)
+                    Map-reduce partition columns: (grouping(_col3, 1) + grouping(_col3, 0)) (type: bigint), CASE WHEN ((grouping(_col3, 0) = 0)) THEN (_col0) ELSE (UDFToString(null)) END (type: string)
                     Statistics: Num rows: 261364852 Data size: 35538061226 Basic stats: COMPLETE Column stats: NONE
-                    value expressions: _col0 (type: string), _col1 (type: string), _col3 (type: int)
+                    value expressions: _col0 (type: string), _col1 (type: string), _col3 (type: bigint)
         Reducer 4 
             Reduce Operator Tree:
               Select Operator
-                expressions: VALUE._col0 (type: string), VALUE._col1 (type: string), KEY.reducesinkkey2 (type: decimal(17,2)), VALUE._col2 (type: int)
+                expressions: VALUE._col0 (type: string), VALUE._col1 (type: string), KEY.reducesinkkey2 (type: decimal(17,2)), VALUE._col2 (type: bigint)
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 261364852 Data size: 35538061226 Basic stats: COMPLETE Column stats: NONE
                 PTF Operator
                   Function definitions:
                       Input definition
                         input alias: ptf_0
-                        output shape: _col0: string, _col1: string, _col2: decimal(17,2), _col3: int
+                        output shape: _col0: string, _col1: string, _col2: decimal(17,2), _col3: bigint
                         type: WINDOWING
                       Windowing table definition
                         input alias: ptf_1
@@ -206,11 +206,11 @@ STAGE PLANS:
                               isPivotResult: true
                   Statistics: Num rows: 261364852 Data size: 35538061226 Basic stats: COMPLETE Column stats: NONE
                   Select Operator
-                    expressions: _col2 (type: decimal(17,2)), _col0 (type: string), _col1 (type: string), (grouping(_col3, 1) + grouping(_col3, 0)) (type: int), rank_window_0 (type: int), CASE WHEN (((grouping(_col3, 1) + grouping(_col3, 0)) = 0)) THEN (_col0) ELSE (null) END (type: string)
+                    expressions: _col2 (type: decimal(17,2)), _col0 (type: string), _col1 (type: string), (grouping(_col3, 1) + grouping(_col3, 0)) (type: bigint), rank_window_0 (type: int), CASE WHEN (((grouping(_col3, 1) + grouping(_col3, 0)) = 0)) THEN (_col0) ELSE (null) END (type: string)
                     outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
                     Statistics: Num rows: 261364852 Data size: 35538061226 Basic stats: COMPLETE Column stats: NONE
                     Reduce Output Operator
-                      key expressions: _col3 (type: int), _col5 (type: string), _col4 (type: int)
+                      key expressions: _col3 (type: bigint), _col5 (type: string), _col4 (type: int)
                       sort order: -++
                       Statistics: Num rows: 261364852 Data size: 35538061226 Basic stats: COMPLETE Column stats: NONE
                       TopN Hash Memory Usage: 0.1
@@ -218,7 +218,7 @@ STAGE PLANS:
         Reducer 5 
             Reduce Operator Tree:
               Select Operator
-                expressions: VALUE._col0 (type: decimal(17,2)), VALUE._col1 (type: string), VALUE._col2 (type: string), KEY.reducesinkkey0 (type: int), KEY.reducesinkkey2 (type: int)
+                expressions: VALUE._col0 (type: decimal(17,2)), VALUE._col1 (type: string), VALUE._col2 (type: string), KEY.reducesinkkey0 (type: bigint), KEY.reducesinkkey2 (type: int)
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4
                 Statistics: Num rows: 261364852 Data size: 35538061226 Basic stats: COMPLETE Column stats: NONE
                 Limit


[06/12] hive git commit: HIVE-18359: Extend grouping set limits from int to long (Prasanth Jayachandran reviewed by Jesus Camacho Rodriguez)

Posted by pr...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/llap/groupby_rollup_empty.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/groupby_rollup_empty.q.out b/ql/src/test/results/clientpositive/llap/groupby_rollup_empty.q.out
index f2cda04..24be36e 100644
--- a/ql/src/test/results/clientpositive/llap/groupby_rollup_empty.q.out
+++ b/ql/src/test/results/clientpositive/llap/groupby_rollup_empty.q.out
@@ -175,14 +175,14 @@ STAGE PLANS:
                       Statistics: Num rows: 1 Data size: 12 Basic stats: COMPLETE Column stats: NONE
                       Group By Operator
                         aggregations: sum(_col2)
-                        keys: _col0 (type: int), _col1 (type: int), 0 (type: int)
+                        keys: _col0 (type: int), _col1 (type: int), 0 (type: bigint)
                         mode: hash
                         outputColumnNames: _col0, _col1, _col2, _col3
                         Statistics: Num rows: 3 Data size: 36 Basic stats: COMPLETE Column stats: NONE
                         Reduce Output Operator
-                          key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                          key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                           sort order: +++
-                          Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                          Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                           Statistics: Num rows: 3 Data size: 36 Basic stats: COMPLETE Column stats: NONE
                           value expressions: _col3 (type: bigint)
             Execution mode: vectorized, llap
@@ -192,12 +192,12 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 1 Data size: 12 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col3 (type: bigint), grouping(_col2, 0) (type: int), 'NULL,1' (type: string)
+                  expressions: _col3 (type: bigint), grouping(_col2, 0) (type: bigint), 'NULL,1' (type: string)
                   outputColumnNames: _col0, _col1, _col2
                   Statistics: Num rows: 1 Data size: 12 Basic stats: COMPLETE Column stats: NONE
                   File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/llap/llap_acid.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/llap_acid.q.out b/ql/src/test/results/clientpositive/llap/llap_acid.q.out
index 38889b9..4ed45e7 100644
--- a/ql/src/test/results/clientpositive/llap/llap_acid.q.out
+++ b/ql/src/test/results/clientpositive/llap/llap_acid.q.out
@@ -174,23 +174,25 @@ POSTHOOK: Input: default@orc_llap@csmallint=1
 POSTHOOK: Input: default@orc_llap@csmallint=2
 POSTHOOK: Input: default@orc_llap@csmallint=3
 #### A masked pattern was here ####
--285355633	1	-1241163445
--109813638	1	-58941842
-164554497	1	1161977292
-199879534	1	123351087
+-838810013	1	1864027286
+-595277064	1	-1645852809
+-334595454	1	-1645852809
+185212032	1	-1645852809
+186967185	1	-1645852809
+241008004	1	-1645852809
 246423894	1	-1645852809
-354670578	1	562841852
-455419170	1	1108177470
-665801232	1	480783141
+518213127	1	-1645852809
+584923170	1	-1645852809
 708885482	1	-1645852809
--285355633	2	-1241163445
--109813638	2	-58941842
-164554497	2	1161977292
-199879534	2	123351087
+-838810013	2	1864027286
+-595277064	2	-1645852809
+-334595454	2	-1645852809
+185212032	2	-1645852809
+186967185	2	-1645852809
+241008004	2	-1645852809
 246423894	2	-1645852809
-354670578	2	562841852
-455419170	2	1108177470
-665801232	2	480783141
+518213127	2	-1645852809
+584923170	2	-1645852809
 708885482	2	-1645852809
 -923308739	3	-1887561756
 -3728	3	-1887561756
@@ -424,24 +426,26 @@ POSTHOOK: Input: default@orc_llap@csmallint=1
 POSTHOOK: Input: default@orc_llap@csmallint=2
 POSTHOOK: Input: default@orc_llap@csmallint=3
 #### A masked pattern was here ####
--285355633	1	-1241163445
--109813638	1	-58941842
+-838810013	1	1864027286
+-595277064	1	-1645852809
+-334595454	1	-1645852809
 1	1	2
-164554497	1	1161977292
-199879534	1	123351087
+185212032	1	-1645852809
+186967185	1	-1645852809
+241008004	1	-1645852809
 246423894	1	-1645852809
-354670578	1	562841852
-455419170	1	1108177470
-665801232	1	480783141
+518213127	1	-1645852809
+584923170	1	-1645852809
 708885482	1	-1645852809
--285355633	2	-1241163445
--109813638	2	-58941842
-164554497	2	1161977292
-199879534	2	123351087
+-838810013	2	1864027286
+-595277064	2	-1645852809
+-334595454	2	-1645852809
+185212032	2	-1645852809
+186967185	2	-1645852809
+241008004	2	-1645852809
 246423894	2	-1645852809
-354670578	2	562841852
-455419170	2	1108177470
-665801232	2	480783141
+518213127	2	-1645852809
+584923170	2	-1645852809
 708885482	2	-1645852809
 -923308739	3	-1887561756
 -3728	3	-1887561756

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/llap/llap_acid_fast.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/llap_acid_fast.q.out b/ql/src/test/results/clientpositive/llap/llap_acid_fast.q.out
index 4a7297d..42af8e6 100644
--- a/ql/src/test/results/clientpositive/llap/llap_acid_fast.q.out
+++ b/ql/src/test/results/clientpositive/llap/llap_acid_fast.q.out
@@ -168,23 +168,25 @@ POSTHOOK: Input: default@orc_llap_acid_fast@csmallint=1
 POSTHOOK: Input: default@orc_llap_acid_fast@csmallint=2
 POSTHOOK: Input: default@orc_llap_acid_fast@csmallint=3
 #### A masked pattern was here ####
--285355633	1	-1241163445
--109813638	1	-58941842
-164554497	1	1161977292
-199879534	1	123351087
+-838810013	1	1864027286
+-595277064	1	-1645852809
+-334595454	1	-1645852809
+185212032	1	-1645852809
+186967185	1	-1645852809
+241008004	1	-1645852809
 246423894	1	-1645852809
-354670578	1	562841852
-455419170	1	1108177470
-665801232	1	480783141
+518213127	1	-1645852809
+584923170	1	-1645852809
 708885482	1	-1645852809
--285355633	2	-1241163445
--109813638	2	-58941842
-164554497	2	1161977292
-199879534	2	123351087
+-838810013	2	1864027286
+-595277064	2	-1645852809
+-334595454	2	-1645852809
+185212032	2	-1645852809
+186967185	2	-1645852809
+241008004	2	-1645852809
 246423894	2	-1645852809
-354670578	2	562841852
-455419170	2	1108177470
-665801232	2	480783141
+518213127	2	-1645852809
+584923170	2	-1645852809
 708885482	2	-1645852809
 -923308739	3	-1887561756
 -3728	3	-1887561756
@@ -418,24 +420,26 @@ POSTHOOK: Input: default@orc_llap_acid_fast@csmallint=1
 POSTHOOK: Input: default@orc_llap_acid_fast@csmallint=2
 POSTHOOK: Input: default@orc_llap_acid_fast@csmallint=3
 #### A masked pattern was here ####
--285355633	1	-1241163445
--109813638	1	-58941842
+-838810013	1	1864027286
+-595277064	1	-1645852809
+-334595454	1	-1645852809
 1	1	2
-164554497	1	1161977292
-199879534	1	123351087
+185212032	1	-1645852809
+186967185	1	-1645852809
+241008004	1	-1645852809
 246423894	1	-1645852809
-354670578	1	562841852
-455419170	1	1108177470
-665801232	1	480783141
+518213127	1	-1645852809
+584923170	1	-1645852809
 708885482	1	-1645852809
--285355633	2	-1241163445
--109813638	2	-58941842
-164554497	2	1161977292
-199879534	2	123351087
+-838810013	2	1864027286
+-595277064	2	-1645852809
+-334595454	2	-1645852809
+185212032	2	-1645852809
+186967185	2	-1645852809
+241008004	2	-1645852809
 246423894	2	-1645852809
-354670578	2	562841852
-455419170	2	1108177470
-665801232	2	480783141
+518213127	2	-1645852809
+584923170	2	-1645852809
 708885482	2	-1645852809
 -923308739	3	-1887561756
 -3728	3	-1887561756

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/llap/multi_count_distinct_null.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/multi_count_distinct_null.q.out b/ql/src/test/results/clientpositive/llap/multi_count_distinct_null.q.out
index 1f17f96..66bf74f 100644
--- a/ql/src/test/results/clientpositive/llap/multi_count_distinct_null.q.out
+++ b/ql/src/test/results/clientpositive/llap/multi_count_distinct_null.q.out
@@ -48,29 +48,29 @@ STAGE PLANS:
                     outputColumnNames: _col0, _col1, _col2
                     Statistics: Num rows: 12 Data size: 1023 Basic stats: COMPLETE Column stats: COMPLETE
                     Group By Operator
-                      keys: _col0 (type: int), _col1 (type: varchar(10)), _col2 (type: int), 0 (type: int)
+                      keys: _col0 (type: int), _col1 (type: varchar(10)), _col2 (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
-                      Statistics: Num rows: 18 Data size: 1556 Basic stats: COMPLETE Column stats: COMPLETE
+                      Statistics: Num rows: 18 Data size: 1628 Basic stats: COMPLETE Column stats: COMPLETE
                       Reduce Output Operator
-                        key expressions: _col0 (type: int), _col1 (type: varchar(10)), _col2 (type: int), _col3 (type: int)
+                        key expressions: _col0 (type: int), _col1 (type: varchar(10)), _col2 (type: int), _col3 (type: bigint)
                         sort order: ++++
-                        Map-reduce partition columns: _col0 (type: int), _col1 (type: varchar(10)), _col2 (type: int), _col3 (type: int)
-                        Statistics: Num rows: 18 Data size: 1556 Basic stats: COMPLETE Column stats: COMPLETE
+                        Map-reduce partition columns: _col0 (type: int), _col1 (type: varchar(10)), _col2 (type: int), _col3 (type: bigint)
+                        Statistics: Num rows: 18 Data size: 1628 Basic stats: COMPLETE Column stats: COMPLETE
             Execution mode: llap
             LLAP IO: no inputs
         Reducer 2 
             Execution mode: llap
             Reduce Operator Tree:
               Group By Operator
-                keys: KEY._col0 (type: int), KEY._col1 (type: varchar(10)), KEY._col2 (type: int), KEY._col3 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: varchar(10)), KEY._col2 (type: int), KEY._col3 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2, _col3
-                Statistics: Num rows: 18 Data size: 1556 Basic stats: COMPLETE Column stats: COMPLETE
+                Statistics: Num rows: 18 Data size: 1628 Basic stats: COMPLETE Column stats: COMPLETE
                 Select Operator
                   expressions: CASE WHEN (((_col3 = 3) and _col0 is not null)) THEN (1) ELSE (null) END (type: int), CASE WHEN (((_col3 = 5) and _col1 is not null)) THEN (1) ELSE (null) END (type: int), CASE WHEN (((_col3 = 6) and _col2 is not null)) THEN (1) ELSE (null) END (type: int)
                   outputColumnNames: _col0, _col1, _col2
-                  Statistics: Num rows: 18 Data size: 1556 Basic stats: COMPLETE Column stats: COMPLETE
+                  Statistics: Num rows: 18 Data size: 1628 Basic stats: COMPLETE Column stats: COMPLETE
                   Group By Operator
                     aggregations: count(_col0), count(_col1), count(_col2)
                     mode: hash
@@ -189,29 +189,29 @@ STAGE PLANS:
                     outputColumnNames: _col0, _col1, _col2
                     Statistics: Num rows: 12 Data size: 1023 Basic stats: COMPLETE Column stats: COMPLETE
                     Group By Operator
-                      keys: _col0 (type: varchar(10)), _col1 (type: int), _col2 (type: int), 0 (type: int)
+                      keys: _col0 (type: varchar(10)), _col1 (type: int), _col2 (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
-                      Statistics: Num rows: 30 Data size: 2534 Basic stats: COMPLETE Column stats: COMPLETE
+                      Statistics: Num rows: 30 Data size: 2654 Basic stats: COMPLETE Column stats: COMPLETE
                       Reduce Output Operator
-                        key expressions: _col0 (type: varchar(10)), _col1 (type: int), _col2 (type: int), _col3 (type: int)
+                        key expressions: _col0 (type: varchar(10)), _col1 (type: int), _col2 (type: int), _col3 (type: bigint)
                         sort order: ++++
-                        Map-reduce partition columns: _col0 (type: varchar(10)), _col1 (type: int), _col2 (type: int), _col3 (type: int)
-                        Statistics: Num rows: 30 Data size: 2534 Basic stats: COMPLETE Column stats: COMPLETE
+                        Map-reduce partition columns: _col0 (type: varchar(10)), _col1 (type: int), _col2 (type: int), _col3 (type: bigint)
+                        Statistics: Num rows: 30 Data size: 2654 Basic stats: COMPLETE Column stats: COMPLETE
             Execution mode: llap
             LLAP IO: no inputs
         Reducer 2 
             Execution mode: llap
             Reduce Operator Tree:
               Group By Operator
-                keys: KEY._col0 (type: varchar(10)), KEY._col1 (type: int), KEY._col2 (type: int), KEY._col3 (type: int)
+                keys: KEY._col0 (type: varchar(10)), KEY._col1 (type: int), KEY._col2 (type: int), KEY._col3 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2, _col3
-                Statistics: Num rows: 30 Data size: 2534 Basic stats: COMPLETE Column stats: COMPLETE
+                Statistics: Num rows: 30 Data size: 2654 Basic stats: COMPLETE Column stats: COMPLETE
                 Select Operator
                   expressions: CASE WHEN (((_col3 = 3) and _col0 is not null)) THEN (1) ELSE (null) END (type: int), CASE WHEN (((_col3 = 5) and _col1 is not null)) THEN (1) ELSE (null) END (type: int), CASE WHEN (((_col3 = 6) and _col2 is not null)) THEN (1) ELSE (null) END (type: int), CASE WHEN ((_col3 = 4)) THEN (1) ELSE (null) END (type: int), CASE WHEN ((_col3 = 0)) THEN (1) ELSE (null) END (type: int)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4
-                  Statistics: Num rows: 30 Data size: 2534 Basic stats: COMPLETE Column stats: COMPLETE
+                  Statistics: Num rows: 30 Data size: 2654 Basic stats: COMPLETE Column stats: COMPLETE
                   Group By Operator
                     aggregations: count(_col0), count(_col1), count(_col2), count(_col3), count(_col4)
                     mode: hash
@@ -291,24 +291,24 @@ group by department_id, gender, education_level grouping sets
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@employee
 POSTHOOK: Output: hdfs://### HDFS PATH ###
+5	NULL	NULL	NULL
+2	NULL	NULL	1
+2	1	NULL	1
+2	1	NULL	3
+3	4	NULL	NULL
+2	4	NULL	1
+3	NULL	NULL	NULL
 6	NULL	NULL	NULL
 6	NULL	NULL	2
 5	NULL	F	NULL
+3	1	NULL	NULL
 2	2	NULL	3
-2	NULL	NULL	NULL
-2	NULL	NULL	1
-2	1	NULL	3
+6	NULL	NULL	3
 3	2	NULL	NULL
 2	2	NULL	1
-3	3	NULL	NULL
-2	3	NULL	2
-3	NULL	NULL	NULL
-5	NULL	NULL	NULL
+2	NULL	NULL	NULL
+6	NULL	NULL	1
 5	NULL	M	NULL
-2	1	NULL	1
 2	1	NULL	2
-2	4	NULL	1
-6	NULL	NULL	1
-6	NULL	NULL	3
-3	1	NULL	NULL
-3	4	NULL	NULL
+3	3	NULL	NULL
+2	3	NULL	2

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/llap/vector_groupby_cube1.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_groupby_cube1.q.out b/ql/src/test/results/clientpositive/llap/vector_groupby_cube1.q.out
index 39de888..04ac09b 100644
--- a/ql/src/test/results/clientpositive/llap/vector_groupby_cube1.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_groupby_cube1.q.out
@@ -47,14 +47,14 @@ STAGE PLANS:
                     Statistics: Num rows: 1 Data size: 368 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: count()
-                      keys: key (type: string), val (type: string), 0 (type: int)
+                      keys: key (type: string), val (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 4 Data size: 1472 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Statistics: Num rows: 4 Data size: 1472 Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col3 (type: bigint)
             Execution mode: llap
@@ -64,7 +64,7 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 2 Data size: 736 Basic stats: COMPLETE Column stats: NONE
@@ -120,14 +120,14 @@ STAGE PLANS:
                     Statistics: Num rows: 1 Data size: 368 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: count()
-                      keys: key (type: string), val (type: string), 0 (type: int)
+                      keys: key (type: string), val (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 4 Data size: 1472 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Statistics: Num rows: 4 Data size: 1472 Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col3 (type: bigint)
             Execution mode: llap
@@ -137,7 +137,7 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 2 Data size: 736 Basic stats: COMPLETE Column stats: NONE
@@ -219,14 +219,14 @@ STAGE PLANS:
                     Statistics: Num rows: 1 Data size: 368 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: count()
-                      keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                      keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 4 Data size: 1472 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Statistics: Num rows: 4 Data size: 1472 Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col3 (type: bigint)
             Execution mode: llap
@@ -236,12 +236,12 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 2 Data size: 736 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int), _col3 (type: bigint)
+                  expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint), _col3 (type: bigint)
                   outputColumnNames: _col0, _col1, _col2, _col3
                   Statistics: Num rows: 2 Data size: 736 Basic stats: COMPLETE Column stats: NONE
                   File Output Operator
@@ -317,14 +317,14 @@ STAGE PLANS:
                     Statistics: Num rows: 1 Data size: 368 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: count(DISTINCT val)
-                      keys: key (type: string), 0 (type: int), val (type: string)
+                      keys: key (type: string), 0 (type: bigint), val (type: string)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 2 Data size: 736 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: string)
+                        key expressions: _col0 (type: string), _col1 (type: bigint), _col2 (type: string)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: bigint)
                         Statistics: Num rows: 2 Data size: 736 Basic stats: COMPLETE Column stats: NONE
             Execution mode: llap
             LLAP IO: no inputs
@@ -333,7 +333,7 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(DISTINCT KEY._col2:0._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col2
                 Statistics: Num rows: 1 Data size: 368 Basic stats: COMPLETE Column stats: NONE
@@ -404,12 +404,12 @@ STAGE PLANS:
                     Statistics: Num rows: 1 Data size: 368 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: count()
-                      keys: key (type: string), val (type: string), 0 (type: int)
+                      keys: key (type: string), val (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 4 Data size: 1472 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
                         Map-reduce partition columns: rand() (type: double)
                         Statistics: Num rows: 4 Data size: 1472 Basic stats: COMPLETE Column stats: NONE
@@ -421,12 +421,12 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 4 Data size: 1472 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: string), _col1 (type: string)
                   Statistics: Num rows: 4 Data size: 1472 Basic stats: COMPLETE Column stats: NONE
@@ -436,7 +436,7 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 2 Data size: 736 Basic stats: COMPLETE Column stats: NONE
@@ -519,12 +519,12 @@ STAGE PLANS:
                     Statistics: Num rows: 1 Data size: 368 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: count(DISTINCT val)
-                      keys: key (type: string), 0 (type: int), val (type: string)
+                      keys: key (type: string), 0 (type: bigint), val (type: string)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 2 Data size: 736 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: string)
+                        key expressions: _col0 (type: string), _col1 (type: bigint), _col2 (type: string)
                         sort order: +++
                         Map-reduce partition columns: _col0 (type: string)
                         Statistics: Num rows: 2 Data size: 736 Basic stats: COMPLETE Column stats: NONE
@@ -535,12 +535,12 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(DISTINCT KEY._col2:0._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 2 Data size: 736 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: bigint)
                   sort order: ++
                   Map-reduce partition columns: _col0 (type: string)
                   Statistics: Num rows: 2 Data size: 736 Basic stats: COMPLETE Column stats: NONE
@@ -550,7 +550,7 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col2
                 Statistics: Num rows: 1 Data size: 368 Basic stats: COMPLETE Column stats: NONE
@@ -649,12 +649,12 @@ STAGE PLANS:
                     Statistics: Num rows: 1 Data size: 368 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: count(1)
-                      keys: key (type: string), val (type: string), 0 (type: int)
+                      keys: key (type: string), val (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 4 Data size: 1472 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
                         Map-reduce partition columns: rand() (type: double)
                         Statistics: Num rows: 4 Data size: 1472 Basic stats: COMPLETE Column stats: NONE
@@ -665,12 +665,12 @@ STAGE PLANS:
                     Statistics: Num rows: 1 Data size: 368 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: sum(1)
-                      keys: key (type: string), val (type: string), 0 (type: int)
+                      keys: key (type: string), val (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 4 Data size: 1472 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
                         Map-reduce partition columns: rand() (type: double)
                         Statistics: Num rows: 4 Data size: 1472 Basic stats: COMPLETE Column stats: NONE
@@ -682,12 +682,12 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 4 Data size: 1472 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: string), _col1 (type: string)
                   Statistics: Num rows: 4 Data size: 1472 Basic stats: COMPLETE Column stats: NONE
@@ -697,7 +697,7 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 2 Data size: 736 Basic stats: COMPLETE Column stats: NONE
@@ -747,12 +747,12 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 4 Data size: 1472 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: string), _col1 (type: string)
                   Statistics: Num rows: 4 Data size: 1472 Basic stats: COMPLETE Column stats: NONE
@@ -762,7 +762,7 @@ STAGE PLANS:
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 2 Data size: 736 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_id1.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_id1.q.out b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_id1.q.out
index 7224d59..fd9dacb 100644
--- a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_id1.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_id1.q.out
@@ -70,18 +70,18 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                      keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 24 Data size: 8832 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -118,7 +118,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -126,16 +126,16 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 12 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   outputColumnNames: _col0, _col1, _col2
                   Select Vectorization:
                       className: VectorSelectOperator
@@ -229,18 +229,18 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                      keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 24 Data size: 8832 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -277,7 +277,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -285,16 +285,16 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 12 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   outputColumnNames: _col0, _col1, _col2
                   Select Vectorization:
                       className: VectorSelectOperator
@@ -388,18 +388,18 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                      keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 18 Data size: 6624 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -436,7 +436,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -444,16 +444,16 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 9 Data size: 3312 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col2 (type: int), _col0 (type: string), _col1 (type: string)
+                  expressions: _col2 (type: bigint), _col0 (type: string), _col1 (type: string)
                   outputColumnNames: _col0, _col1, _col2
                   Select Vectorization:
                       className: VectorSelectOperator
@@ -541,18 +541,18 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                      keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 18 Data size: 6624 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -589,7 +589,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -597,16 +597,16 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 9 Data size: 3312 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col2 (type: int), _col0 (type: string), _col1 (type: string)
+                  expressions: _col2 (type: bigint), _col0 (type: string), _col1 (type: string)
                   outputColumnNames: _col0, _col1, _col2
                   Select Vectorization:
                       className: VectorSelectOperator
@@ -694,18 +694,18 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                      keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 24 Data size: 8832 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -742,7 +742,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -750,22 +750,22 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 12 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int), CASE WHEN ((_col2 = 0)) THEN ('0') WHEN ((_col2 = 1)) THEN ('1') WHEN ((_col2 = 2)) THEN ('2') WHEN ((_col2 = 3)) THEN ('3') ELSE ('nothing') END (type: string)
+                  expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint), CASE WHEN ((_col2 = 0)) THEN ('0') WHEN ((_col2 = 1)) THEN ('1') WHEN ((_col2 = 2)) THEN ('2') WHEN ((_col2 = 3)) THEN ('3') ELSE ('nothing') END (type: string)
                   outputColumnNames: _col0, _col1, _col2, _col3
                   Select Vectorization:
                       className: VectorSelectOperator
                       native: true
                       projectedOutputColumnNums: [0, 1, 2, 8]
-                      selectExpressions: IfExprStringScalarStringGroupColumn(col 3:boolean, val 0col 7:string)(children: LongColEqualLongScalar(col 2:int, val 0) -> 3:boolean, IfExprStringScalarStringGroupColumn(col 4:boolean, val 1col 8:string)(children: LongColEqualLongScalar(col 2:int, val 1) -> 4:boolean, IfExprStringScalarStringGroupColumn(col 5:boolean, val 2col 7:string)(children: LongColEqualLongScalar(col 2:int, val 2) -> 5:boolean, IfExprStringScalarStringScalar(col 6:boolean, val 3, val nothing)(children: LongColEqualLongScalar(col 2:int, val 3) -> 6:boolean) -> 7:string) -> 8:string) -> 7:string) -> 8:string
+                      selectExpressions: IfExprStringScalarStringGroupColumn(col 3:boolean, val 0col 7:string)(children: LongColEqualLongScalar(col 2:bigint, val 0) -> 3:boolean, IfExprStringScalarStringGroupColumn(col 4:boolean, val 1col 8:string)(children: LongColEqualLongScalar(col 2:bigint, val 1) -> 4:boolean, IfExprStringScalarStringGroupColumn(col 5:boolean, val 2col 7:string)(children: LongColEqualLongScalar(col 2:bigint, val 2) -> 5:boolean, IfExprStringScalarStringScalar(col 6:boolean, val 3, val nothing)(children: LongColEqualLongScalar(col 2:bigint, val 3) -> 6:boolean) -> 7:string) -> 8:string) -> 7:string) -> 8:string
                   Statistics: Num rows: 12 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
                   File Output Operator
                     compressed: false
@@ -854,18 +854,18 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                      keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 24 Data size: 8832 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -902,7 +902,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -910,22 +910,22 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 12 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int), CASE WHEN ((_col2 = 0)) THEN ('0') WHEN ((_col2 = 1)) THEN ('1') WHEN ((_col2 = 2)) THEN ('2') WHEN ((_col2 = 3)) THEN ('3') ELSE ('nothing') END (type: string)
+                  expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint), CASE WHEN ((_col2 = 0)) THEN ('0') WHEN ((_col2 = 1)) THEN ('1') WHEN ((_col2 = 2)) THEN ('2') WHEN ((_col2 = 3)) THEN ('3') ELSE ('nothing') END (type: string)
                   outputColumnNames: _col0, _col1, _col2, _col3
                   Select Vectorization:
                       className: VectorSelectOperator
                       native: true
                       projectedOutputColumnNums: [0, 1, 2, 8]
-                      selectExpressions: IfExprStringScalarStringGroupColumn(col 3:boolean, val 0col 7:string)(children: LongColEqualLongScalar(col 2:int, val 0) -> 3:boolean, IfExprStringScalarStringGroupColumn(col 4:boolean, val 1col 8:string)(children: LongColEqualLongScalar(col 2:int, val 1) -> 4:boolean, IfExprStringScalarStringGroupColumn(col 5:boolean, val 2col 7:string)(children: LongColEqualLongScalar(col 2:int, val 2) -> 5:boolean, IfExprStringScalarStringScalar(col 6:boolean, val 3, val nothing)(children: LongColEqualLongScalar(col 2:int, val 3) -> 6:boolean) -> 7:string) -> 8:string) -> 7:string) -> 8:string
+                      selectExpressions: IfExprStringScalarStringGroupColumn(col 3:boolean, val 0col 7:string)(children: LongColEqualLongScalar(col 2:bigint, val 0) -> 3:boolean, IfExprStringScalarStringGroupColumn(col 4:boolean, val 1col 8:string)(children: LongColEqualLongScalar(col 2:bigint, val 1) -> 4:boolean, IfExprStringScalarStringGroupColumn(col 5:boolean, val 2col 7:string)(children: LongColEqualLongScalar(col 2:bigint, val 2) -> 5:boolean, IfExprStringScalarStringScalar(col 6:boolean, val 3, val nothing)(children: LongColEqualLongScalar(col 2:bigint, val 3) -> 6:boolean) -> 7:string) -> 8:string) -> 7:string) -> 8:string
                   Statistics: Num rows: 12 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
                   File Output Operator
                     compressed: false


[04/12] hive git commit: HIVE-18359: Extend grouping set limits from int to long (Prasanth Jayachandran reviewed by Jesus Camacho Rodriguez)

Posted by pr...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets2.q.out b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets2.q.out
index 1877bba..d8da29a 100644
--- a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets2.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets2.q.out
@@ -133,18 +133,18 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 2:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: PARTIALS
-                    keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:int
+                    keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 24 Data size: 8832 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Reduce Sink Vectorization:
                       className: VectorReduceSinkMultiKeyOperator
                       keyColumnNums: [0, 1, 2]
@@ -165,7 +165,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -175,11 +175,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: FINAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 12 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
@@ -314,18 +314,18 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 2:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: PARTIALS
-                    keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:int
+                    keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 24 Data size: 8832 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Reduce Sink Vectorization:
                       className: VectorReduceSinkMultiKeyOperator
                       keyColumnNums: [0, 1, 2]
@@ -346,7 +346,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -356,11 +356,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: FINAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 12 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
@@ -489,18 +489,18 @@ STAGE PLANS:
                     aggregators: VectorUDAFSumDouble(col 2:double) -> double
                     className: VectorGroupByOperator
                     groupByMode: PARTIALS
-                    keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:int
+                    keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 24 Data size: 13248 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Reduce Sink Vectorization:
                       className: VectorReduceSinkMultiKeyOperator
                       keyColumnNums: [0, 1, 2]
@@ -521,7 +521,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:double
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:double
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -531,11 +531,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFSumDouble(col 3:double) -> double
                     className: VectorGroupByOperator
                     groupByMode: FINAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 12 Data size: 6624 Basic stats: COMPLETE Column stats: NONE
@@ -718,25 +718,25 @@ STAGE PLANS:
                     aggregators: VectorUDAFSumLong(col 2:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: PARTIALS
-                    keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:int
+                    keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2, _col3
-                Statistics: Num rows: 12 Data size: 2184 Basic stats: COMPLETE Column stats: COMPLETE
+                Statistics: Num rows: 12 Data size: 2232 Basic stats: COMPLETE Column stats: COMPLETE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Reduce Sink Vectorization:
                       className: VectorReduceSinkMultiKeyOperator
                       keyColumnNums: [0, 1, 2]
                       native: true
                       nativeConditionsMet: hive.vectorized.execution.reducesink.new.enabled IS true, hive.execution.engine tez IN [tez, spark] IS true, No PTF TopN IS true, No DISTINCT columns IS true, BinarySortableSerDe for keys IS true, LazyBinarySerDe for values IS true
                       valueColumnNums: [3]
-                  Statistics: Num rows: 12 Data size: 2184 Basic stats: COMPLETE Column stats: COMPLETE
+                  Statistics: Num rows: 12 Data size: 2232 Basic stats: COMPLETE Column stats: COMPLETE
                   value expressions: _col3 (type: bigint)
         Reducer 3 
             Execution mode: vectorized, llap
@@ -750,7 +750,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -760,14 +760,14 @@ STAGE PLANS:
                     aggregators: VectorUDAFSumLong(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: FINAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col3
-                Statistics: Num rows: 12 Data size: 2184 Basic stats: COMPLETE Column stats: COMPLETE
+                Statistics: Num rows: 12 Data size: 2232 Basic stats: COMPLETE Column stats: COMPLETE
                 pruneGroupingSetId: true
                 Select Operator
                   expressions: _col0 (type: string), _col1 (type: string), _col3 (type: bigint)

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets3.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets3.q.out b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets3.q.out
index 7c9f668..7911611 100644
--- a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets3.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets3.q.out
@@ -70,14 +70,14 @@ STAGE PLANS:
                     Statistics: Num rows: 12 Data size: 6624 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: avg(c), count()
-                      keys: a (type: string), b (type: string), 0 (type: int)
+                      keys: a (type: string), b (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3, _col4
                       Statistics: Num rows: 48 Data size: 26496 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Statistics: Num rows: 48 Data size: 26496 Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col3 (type: struct<count:bigint,sum:double,input:string>), _col4 (type: bigint)
             Execution mode: llap
@@ -100,7 +100,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 5
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:struct<count:bigint,sum:double,input:string>, VALUE._col1:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:struct<count:bigint,sum:double,input:string>, VALUE._col1:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -110,11 +110,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFAvgFinal(col 3:struct<count:bigint,sum:double,input:string>) -> double, VectorUDAFCountMerge(col 4:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: [0, 1]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3, _col4
                 Statistics: Num rows: 24 Data size: 13248 Basic stats: COMPLETE Column stats: NONE
@@ -178,14 +178,14 @@ STAGE PLANS:
                     Statistics: Num rows: 12 Data size: 6624 Basic stats: COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: avg(c), count()
-                      keys: a (type: string), b (type: string), 0 (type: int)
+                      keys: a (type: string), b (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3, _col4
                       Statistics: Num rows: 48 Data size: 26496 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Statistics: Num rows: 48 Data size: 26496 Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col3 (type: struct<count:bigint,sum:double,input:string>), _col4 (type: bigint)
             Execution mode: llap
@@ -208,7 +208,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 5
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:struct<count:bigint,sum:double,input:string>, VALUE._col1:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:struct<count:bigint,sum:double,input:string>, VALUE._col1:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -218,11 +218,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFAvgFinal(col 3:struct<count:bigint,sum:double,input:string>) -> double, VectorUDAFCountMerge(col 4:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: [0, 1]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3, _col4
                 Statistics: Num rows: 24 Data size: 13248 Basic stats: COMPLETE Column stats: NONE
@@ -352,18 +352,18 @@ STAGE PLANS:
                     aggregators: VectorUDAFAvgPartial2(col 2:struct<count:bigint,sum:double,input:string>) -> struct<count:bigint,sum:double,input:string>, VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: PARTIALS
-                    keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 4:int
+                    keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 4:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0, 1]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4
                 Statistics: Num rows: 48 Data size: 26496 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Reduce Sink Vectorization:
                       className: VectorReduceSinkMultiKeyOperator
                       keyColumnNums: [0, 1, 2]
@@ -384,7 +384,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 5
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:struct<count:bigint,sum:double,input:string>, VALUE._col1:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:struct<count:bigint,sum:double,input:string>, VALUE._col1:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -394,11 +394,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFAvgFinal(col 3:struct<count:bigint,sum:double,input:string>) -> double, VectorUDAFCountMerge(col 4:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: FINAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0, 1]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col3, _col4
                 Statistics: Num rows: 24 Data size: 13248 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets3_dec.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets3_dec.q.out b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets3_dec.q.out
index d98ce9b..8d2247d 100644
--- a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets3_dec.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets3_dec.q.out
@@ -81,18 +81,18 @@ STAGE PLANS:
                           aggregators: VectorUDAFAvgDecimal(col 2:decimal(10,2)) -> struct<count:bigint,sum:decimal(20,2),input:decimal(10,2)>, VectorUDAFCountStar(*) -> bigint
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 4:int
+                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 4:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: [0, 1]
-                      keys: a (type: string), b (type: string), 0 (type: int)
+                      keys: a (type: string), b (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3, _col4
                       Statistics: Num rows: 48 Data size: 23040 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -130,7 +130,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 5
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:struct<count:bigint,sum:decimal(20,2),input:decimal(10,2)>, VALUE._col1:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:struct<count:bigint,sum:decimal(20,2),input:decimal(10,2)>, VALUE._col1:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -140,11 +140,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFAvgDecimalFinal(col 3:struct<count:bigint,sum:decimal(20,2),input:decimal(10,2)>) -> decimal(14,6), VectorUDAFCountMerge(col 4:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: [0, 1]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3, _col4
                 Statistics: Num rows: 24 Data size: 11520 Basic stats: COMPLETE Column stats: NONE
@@ -219,18 +219,18 @@ STAGE PLANS:
                           aggregators: VectorUDAFAvgDecimal(col 2:decimal(10,2)) -> struct<count:bigint,sum:decimal(20,2),input:decimal(10,2)>, VectorUDAFCountStar(*) -> bigint
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 4:int
+                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 4:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: [0, 1]
-                      keys: a (type: string), b (type: string), 0 (type: int)
+                      keys: a (type: string), b (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3, _col4
                       Statistics: Num rows: 48 Data size: 23040 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -268,7 +268,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 5
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:struct<count:bigint,sum:decimal(20,2),input:decimal(10,2)>, VALUE._col1:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:struct<count:bigint,sum:decimal(20,2),input:decimal(10,2)>, VALUE._col1:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -278,11 +278,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFAvgDecimalFinal(col 3:struct<count:bigint,sum:decimal(20,2),input:decimal(10,2)>) -> decimal(14,6), VectorUDAFCountMerge(col 4:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: [0, 1]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3, _col4
                 Statistics: Num rows: 24 Data size: 11520 Basic stats: COMPLETE Column stats: NONE
@@ -442,18 +442,18 @@ STAGE PLANS:
                     aggregators: VectorUDAFAvgDecimalPartial2(col 2:struct<count:bigint,sum:decimal(20,2),input:decimal(10,2)>) -> struct<count:bigint,sum:decimal(20,2),input:decimal(10,2)>, VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: PARTIALS
-                    keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 4:int
+                    keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 4:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0, 1]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4
                 Statistics: Num rows: 48 Data size: 23040 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Reduce Sink Vectorization:
                       className: VectorReduceSinkMultiKeyOperator
                       keyColumnNums: [0, 1, 2]
@@ -474,7 +474,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 5
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:struct<count:bigint,sum:decimal(20,2),input:decimal(10,2)>, VALUE._col1:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:struct<count:bigint,sum:decimal(20,2),input:decimal(10,2)>, VALUE._col1:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -484,11 +484,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFAvgDecimalFinal(col 3:struct<count:bigint,sum:decimal(20,2),input:decimal(10,2)>) -> decimal(14,6), VectorUDAFCountMerge(col 4:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: FINAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0, 1]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col3, _col4
                 Statistics: Num rows: 24 Data size: 11520 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets4.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets4.q.out b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets4.q.out
index 6a5e679..55c18fa 100644
--- a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets4.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets4.q.out
@@ -82,18 +82,18 @@ STAGE PLANS:
                           aggregators: VectorUDAFCountStar(*) -> bigint
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 5:int
+                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 5:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: [0]
-                      keys: a (type: string), b (type: string), 0 (type: int)
+                      keys: a (type: string), b (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 8 Data size: 2944 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -103,9 +103,9 @@ STAGE PLANS:
                         Statistics: Num rows: 8 Data size: 2944 Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col3 (type: bigint)
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -143,7 +143,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -153,11 +153,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 4 Data size: 1472 Basic stats: COMPLETE Column stats: NONE
@@ -219,7 +219,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -229,11 +229,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 4 Data size: 1472 Basic stats: COMPLETE Column stats: NONE
@@ -326,18 +326,18 @@ STAGE PLANS:
                           aggregators: VectorUDAFCountStar(*) -> bigint
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 5:int
+                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 5:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: [0]
-                      keys: a (type: string), b (type: string), 0 (type: int)
+                      keys: a (type: string), b (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 8 Data size: 2944 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -347,9 +347,9 @@ STAGE PLANS:
                         Statistics: Num rows: 8 Data size: 2944 Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col3 (type: bigint)
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -387,7 +387,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -397,11 +397,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 4 Data size: 1472 Basic stats: COMPLETE Column stats: NONE
@@ -463,7 +463,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -473,11 +473,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 4 Data size: 1472 Basic stats: COMPLETE Column stats: NONE
@@ -660,18 +660,18 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 2:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: PARTIALS
-                    keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:int
+                    keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 8 Data size: 2944 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Reduce Sink Vectorization:
                       className: VectorReduceSinkMultiKeyOperator
                       keyColumnNums: [0, 1, 2]
@@ -681,9 +681,9 @@ STAGE PLANS:
                   Statistics: Num rows: 8 Data size: 2944 Basic stats: COMPLETE Column stats: NONE
                   value expressions: _col3 (type: bigint)
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Reduce Sink Vectorization:
                       className: VectorReduceSinkMultiKeyOperator
                       keyColumnNums: [0, 1, 2]
@@ -704,7 +704,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -714,11 +714,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: FINAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 4 Data size: 1472 Basic stats: COMPLETE Column stats: NONE
@@ -780,7 +780,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -790,11 +790,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: FINAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 4 Data size: 1472 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets5.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets5.q.out b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets5.q.out
index 4d8fa16..4e57988 100644
--- a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets5.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets5.q.out
@@ -144,18 +144,18 @@ STAGE PLANS:
                       aggregators: VectorUDAFCountStar(*) -> bigint
                       className: VectorGroupByOperator
                       groupByMode: HASH
-                      keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 2:int
+                      keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 2:bigint
                       native: false
                       vectorProcessingMode: HASH
                       projectedOutputColumnNums: [0]
-                  keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                  keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                   mode: hash
                   outputColumnNames: _col0, _col1, _col2, _col3
                   Statistics: Num rows: 12 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
                   Reduce Output Operator
-                    key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                    key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                     sort order: +++
-                    Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                    Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                     Reduce Sink Vectorization:
                         className: VectorReduceSinkMultiKeyOperator
                         keyColumnNums: [0, 1, 2]
@@ -176,7 +176,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -186,11 +186,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 6 Data size: 2208 Basic stats: COMPLETE Column stats: NONE
@@ -336,18 +336,18 @@ STAGE PLANS:
                       aggregators: VectorUDAFCountStar(*) -> bigint
                       className: VectorGroupByOperator
                       groupByMode: HASH
-                      keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 2:int
+                      keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 2:bigint
                       native: false
                       vectorProcessingMode: HASH
                       projectedOutputColumnNums: [0]
-                  keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                  keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                   mode: hash
                   outputColumnNames: _col0, _col1, _col2, _col3
                   Statistics: Num rows: 12 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
                   Reduce Output Operator
-                    key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                    key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                     sort order: +++
-                    Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                    Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                     Reduce Sink Vectorization:
                         className: VectorReduceSinkMultiKeyOperator
                         keyColumnNums: [0, 1, 2]
@@ -368,7 +368,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -378,11 +378,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 6 Data size: 2208 Basic stats: COMPLETE Column stats: NONE
@@ -597,18 +597,18 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 2:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: PARTIALS
-                    keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:int
+                    keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 3:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 12 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Reduce Sink Vectorization:
                       className: VectorReduceSinkMultiKeyOperator
                       keyColumnNums: [0, 1, 2]
@@ -629,7 +629,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -639,11 +639,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: FINAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 6 Data size: 2208 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets6.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets6.q.out b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets6.q.out
index 5e9e204..83c7ad8 100644
--- a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets6.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets6.q.out
@@ -74,18 +74,18 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 5:int
+                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 5:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: a (type: string), b (type: string), 0 (type: int)
+                      keys: a (type: string), b (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 6 Data size: 2208 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -122,7 +122,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -130,11 +130,11 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1
                 Statistics: Num rows: 3 Data size: 1104 Basic stats: COMPLETE Column stats: NONE
@@ -217,18 +217,18 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 5:int
+                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 5:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: a (type: string), b (type: string), 0 (type: int)
+                      keys: a (type: string), b (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 6 Data size: 2208 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -265,7 +265,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -273,11 +273,11 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1
                 Statistics: Num rows: 3 Data size: 1104 Basic stats: COMPLETE Column stats: NONE


[05/12] hive git commit: HIVE-18359: Extend grouping set limits from int to long (Prasanth Jayachandran reviewed by Jesus Camacho Rodriguez)

Posted by pr...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_id2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_id2.q.out b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_id2.q.out
index e6075c7..74f6289 100644
--- a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_id2.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_id2.q.out
@@ -73,16 +73,16 @@ STAGE PLANS:
                           aggregators: VectorUDAFCountStar(*) -> bigint
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: [0]
-                      keys: _col0 (type: int), _col1 (type: int), 0 (type: int)
+                      keys: _col0 (type: int), _col1 (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 18 Data size: 144 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         sort order: +++
                         Map-reduce partition columns: rand() (type: double)
                         Reduce Sink Vectorization:
@@ -123,7 +123,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -133,16 +133,16 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: PARTIALS
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 18 Data size: 144 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: int), _col1 (type: int)
                   Reduce Sink Vectorization:
@@ -166,7 +166,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -176,16 +176,16 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: FINAL
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int), _col3 (type: bigint)
+                  expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint), _col3 (type: bigint)
                   outputColumnNames: _col0, _col1, _col2, _col3
                   Select Vectorization:
                       className: VectorSelectOperator
@@ -275,16 +275,16 @@ STAGE PLANS:
                           aggregators: VectorUDAFCountStar(*) -> bigint
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: [0]
-                      keys: _col0 (type: int), _col1 (type: int), 0 (type: int)
+                      keys: _col0 (type: int), _col1 (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 18 Data size: 144 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         sort order: +++
                         Map-reduce partition columns: rand() (type: double)
                         Reduce Sink Vectorization:
@@ -325,7 +325,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -335,16 +335,16 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: PARTIALS
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 18 Data size: 144 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: int), _col1 (type: int)
                   Reduce Sink Vectorization:
@@ -368,7 +368,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -378,16 +378,16 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: FINAL
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int), _col3 (type: bigint)
+                  expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint), _col3 (type: bigint)
                   outputColumnNames: _col0, _col1, _col2, _col3
                   Select Vectorization:
                       className: VectorSelectOperator
@@ -487,16 +487,16 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: _col0 (type: int), _col1 (type: int), 0 (type: int)
+                      keys: _col0 (type: int), _col1 (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 18 Data size: 144 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         sort order: +++
                         Map-reduce partition columns: rand() (type: double)
                         Reduce Sink Vectorization:
@@ -536,7 +536,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -544,16 +544,16 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: PARTIALS
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 18 Data size: 144 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: int), _col1 (type: int)
                   Reduce Sink Vectorization:
@@ -576,7 +576,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -584,16 +584,16 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: FINAL
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col2 (type: int)
+                  expressions: _col2 (type: bigint)
                   outputColumnNames: _col2
                   Select Vectorization:
                       className: VectorSelectOperator
@@ -606,16 +606,16 @@ STAGE PLANS:
                         aggregators: VectorUDAFCountStar(*) -> bigint
                         className: VectorGroupByOperator
                         groupByMode: HASH
-                        keyExpressions: col 2:int
+                        keyExpressions: col 2:bigint
                         native: false
                         vectorProcessingMode: HASH
                         projectedOutputColumnNums: [0]
-                    keys: _col2 (type: int)
+                    keys: _col2 (type: bigint)
                     mode: hash
                     outputColumnNames: _col0, _col1
                     Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                     Reduce Output Operator
-                      key expressions: _col0 (type: int)
+                      key expressions: _col0 (type: bigint)
                       sort order: +
                       Map-reduce partition columns: rand() (type: double)
                       Reduce Sink Vectorization:
@@ -639,7 +639,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 2
-                    dataColumns: KEY._col0:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -649,18 +649,18 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 1:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: PARTIALS
-                    keyExpressions: col 0:int
+                    keyExpressions: col 0:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: int)
+                keys: KEY._col0 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1
                 Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: int)
+                  key expressions: _col0 (type: bigint)
                   sort order: +
-                  Map-reduce partition columns: _col0 (type: int)
+                  Map-reduce partition columns: _col0 (type: bigint)
                   Reduce Sink Vectorization:
                       className: VectorReduceSinkLongOperator
                       keyColumnNums: [0]
@@ -681,7 +681,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 2
-                    dataColumns: KEY._col0:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -691,11 +691,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 1:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: FINAL
-                    keyExpressions: col 0:int
+                    keyExpressions: col 0:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: int)
+                keys: KEY._col0 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1
                 Statistics: Num rows: 4 Data size: 32 Basic stats: COMPLETE Column stats: NONE
@@ -794,16 +794,16 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: _col0 (type: int), _col1 (type: int), 0 (type: int)
+                      keys: _col0 (type: int), _col1 (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 18 Data size: 144 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         sort order: +++
                         Map-reduce partition columns: rand() (type: double)
                         Reduce Sink Vectorization:
@@ -843,7 +843,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -851,16 +851,16 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: PARTIALS
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 18 Data size: 144 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: int), _col1 (type: int)
                   Reduce Sink Vectorization:
@@ -883,7 +883,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -891,16 +891,16 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: FINAL
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col2 (type: int)
+                  expressions: _col2 (type: bigint)
                   outputColumnNames: _col2
                   Select Vectorization:
                       className: VectorSelectOperator
@@ -913,16 +913,16 @@ STAGE PLANS:
                         aggregators: VectorUDAFCountStar(*) -> bigint
                         className: VectorGroupByOperator
                         groupByMode: HASH
-                        keyExpressions: col 2:int
+                        keyExpressions: col 2:bigint
                         native: false
                         vectorProcessingMode: HASH
                         projectedOutputColumnNums: [0]
-                    keys: _col2 (type: int)
+                    keys: _col2 (type: bigint)
                     mode: hash
                     outputColumnNames: _col0, _col1
                     Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                     Reduce Output Operator
-                      key expressions: _col0 (type: int)
+                      key expressions: _col0 (type: bigint)
                       sort order: +
                       Map-reduce partition columns: rand() (type: double)
                       Reduce Sink Vectorization:
@@ -946,7 +946,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 2
-                    dataColumns: KEY._col0:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -956,18 +956,18 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 1:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: PARTIALS
-                    keyExpressions: col 0:int
+                    keyExpressions: col 0:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: int)
+                keys: KEY._col0 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1
                 Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: int)
+                  key expressions: _col0 (type: bigint)
                   sort order: +
-                  Map-reduce partition columns: _col0 (type: int)
+                  Map-reduce partition columns: _col0 (type: bigint)
                   Reduce Sink Vectorization:
                       className: VectorReduceSinkLongOperator
                       keyColumnNums: [0]
@@ -988,7 +988,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 2
-                    dataColumns: KEY._col0:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -998,11 +998,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 1:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: FINAL
-                    keyExpressions: col 0:int
+                    keyExpressions: col 0:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: int)
+                keys: KEY._col0 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1
                 Statistics: Num rows: 4 Data size: 32 Basic stats: COMPLETE Column stats: NONE
@@ -1097,16 +1097,16 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: _col0 (type: int), _col1 (type: int), 0 (type: int)
+                      keys: _col0 (type: int), _col1 (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 18 Data size: 144 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         sort order: +++
                         Map-reduce partition columns: rand() (type: double)
                         Reduce Sink Vectorization:
@@ -1146,7 +1146,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -1154,16 +1154,16 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: PARTIALS
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 18 Data size: 144 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: int), _col1 (type: int)
                   Reduce Sink Vectorization:
@@ -1175,7 +1175,7 @@ STAGE PLANS:
                       valueColumnNums: []
                   Statistics: Num rows: 18 Data size: 144 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: int), _col1 (type: int)
                   Reduce Sink Vectorization:
@@ -1198,7 +1198,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -1206,16 +1206,16 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: FINAL
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col2 (type: int)
+                  expressions: _col2 (type: bigint)
                   outputColumnNames: _col0
                   Select Vectorization:
                       className: VectorSelectOperator
@@ -1223,9 +1223,9 @@ STAGE PLANS:
                       projectedOutputColumnNums: [2]
                   Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                   Reduce Output Operator
-                    key expressions: _col0 (type: int)
+                    key expressions: _col0 (type: bigint)
                     sort order: +
-                    Map-reduce partition columns: _col0 (type: int)
+                    Map-reduce partition columns: _col0 (type: bigint)
                     Reduce Sink Vectorization:
                         className: VectorReduceSinkLongOperator
                         keyColumnNums: [2]
@@ -1240,8 +1240,8 @@ STAGE PLANS:
                 condition map:
                      Inner Join 0 to 1
                 keys:
-                  0 _col0 (type: int)
-                  1 _col0 (type: int)
+                  0 _col0 (type: bigint)
+                  1 _col0 (type: bigint)
                 outputColumnNames: _col0, _col1
                 Statistics: Num rows: 9 Data size: 79 Basic stats: COMPLETE Column stats: NONE
                 File Output Operator
@@ -1263,7 +1263,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -1271,16 +1271,16 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: FINAL
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col2 (type: int)
+                  expressions: _col2 (type: bigint)
                   outputColumnNames: _col0
                   Select Vectorization:
                       className: VectorSelectOperator
@@ -1288,9 +1288,9 @@ STAGE PLANS:
                       projectedOutputColumnNums: [2]
                   Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                   Reduce Output Operator
-                    key expressions: _col0 (type: int)
+                    key expressions: _col0 (type: bigint)
                     sort order: +
-                    Map-reduce partition columns: _col0 (type: int)
+                    Map-reduce partition columns: _col0 (type: bigint)
                     Reduce Sink Vectorization:
                         className: VectorReduceSinkLongOperator
                         keyColumnNums: [2]
@@ -1425,16 +1425,16 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: _col0 (type: int), _col1 (type: int), 0 (type: int)
+                      keys: _col0 (type: int), _col1 (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 18 Data size: 144 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         sort order: +++
                         Map-reduce partition columns: rand() (type: double)
                         Reduce Sink Vectorization:
@@ -1474,7 +1474,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -1482,16 +1482,16 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: PARTIALS
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: partials
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 18 Data size: 144 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: int), _col1 (type: int)
                   Reduce Sink Vectorization:
@@ -1503,7 +1503,7 @@ STAGE PLANS:
                       valueColumnNums: []
                   Statistics: Num rows: 18 Data size: 144 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: int), _col1 (type: int)
                   Reduce Sink Vectorization:
@@ -1526,7 +1526,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -1534,16 +1534,16 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: FINAL
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col2 (type: int)
+                  expressions: _col2 (type: bigint)
                   outputColumnNames: _col0
                   Select Vectorization:
                       className: VectorSelectOperator
@@ -1551,9 +1551,9 @@ STAGE PLANS:
                       projectedOutputColumnNums: [2]
                   Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                   Reduce Output Operator
-                    key expressions: _col0 (type: int)
+                    key expressions: _col0 (type: bigint)
                     sort order: +
-                    Map-reduce partition columns: _col0 (type: int)
+                    Map-reduce partition columns: _col0 (type: bigint)
                     Reduce Sink Vectorization:
                         className: VectorReduceSinkLongOperator
                         keyColumnNums: [2]
@@ -1568,8 +1568,8 @@ STAGE PLANS:
                 condition map:
                      Inner Join 0 to 1
                 keys:
-                  0 _col0 (type: int)
-                  1 _col0 (type: int)
+                  0 _col0 (type: bigint)
+                  1 _col0 (type: bigint)
                 outputColumnNames: _col0, _col1
                 Statistics: Num rows: 9 Data size: 79 Basic stats: COMPLETE Column stats: NONE
                 File Output Operator
@@ -1591,7 +1591,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -1599,16 +1599,16 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: FINAL
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: STREAMING
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: final
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col2 (type: int)
+                  expressions: _col2 (type: bigint)
                   outputColumnNames: _col0
                   Select Vectorization:
                       className: VectorSelectOperator
@@ -1616,9 +1616,9 @@ STAGE PLANS:
                       projectedOutputColumnNums: [2]
                   Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                   Reduce Output Operator
-                    key expressions: _col0 (type: int)
+                    key expressions: _col0 (type: bigint)
                     sort order: +
-                    Map-reduce partition columns: _col0 (type: int)
+                    Map-reduce partition columns: _col0 (type: bigint)
                     Reduce Sink Vectorization:
                         className: VectorReduceSinkLongOperator
                         keyColumnNums: [2]
@@ -1746,18 +1746,18 @@ STAGE PLANS:
                           aggregators: VectorUDAFCountStar(*) -> bigint
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: [0]
-                      keys: _col0 (type: int), _col1 (type: int), 0 (type: int)
+                      keys: _col0 (type: int), _col1 (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 18 Data size: 144 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -1795,7 +1795,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -1805,16 +1805,16 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int), _col3 (type: bigint)
+                  expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint), _col3 (type: bigint)
                   outputColumnNames: _col0, _col1, _col2, _col3
                   Select Vectorization:
                       className: VectorSelectOperator
@@ -1912,18 +1912,18 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: _col0 (type: int), _col1 (type: int), 0 (type: int)
+                      keys: _col0 (type: int), _col1 (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 18 Data size: 144 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -1960,7 +1960,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -1968,16 +1968,16 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col2 (type: int)
+                  expressions: _col2 (type: bigint)
                   outputColumnNames: _col2
                   Select Vectorization:
                       className: VectorSelectOperator
@@ -1990,18 +1990,18 @@ STAGE PLANS:
                         aggregators: VectorUDAFCountStar(*) -> bigint
                         className: VectorGroupByOperator
                         groupByMode: HASH
-                        keyExpressions: col 2:int
+                        keyExpressions: col 2:bigint
                         native: false
                         vectorProcessingMode: HASH
                         projectedOutputColumnNums: [0]
-                    keys: _col2 (type: int)
+                    keys: _col2 (type: bigint)
                     mode: hash
                     outputColumnNames: _col0, _col1
                     Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                     Reduce Output Operator
-                      key expressions: _col0 (type: int)
+                      key expressions: _col0 (type: bigint)
                       sort order: +
-                      Map-reduce partition columns: _col0 (type: int)
+                      Map-reduce partition columns: _col0 (type: bigint)
                       Reduce Sink Vectorization:
                           className: VectorReduceSinkLongOperator
                           keyColumnNums: [0]
@@ -2022,7 +2022,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 2
-                    dataColumns: KEY._col0:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -2032,11 +2032,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 1:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:int
+                    keyExpressions: col 0:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: int)
+                keys: KEY._col0 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1
                 Statistics: Num rows: 4 Data size: 32 Basic stats: COMPLETE Column stats: NONE
@@ -2130,18 +2130,18 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: _col0 (type: int), _col1 (type: int), 0 (type: int)
+                      keys: _col0 (type: int), _col1 (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 18 Data size: 144 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -2150,9 +2150,9 @@ STAGE PLANS:
                             valueColumnNums: []
                         Statistics: Num rows: 18 Data size: 144 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -2189,7 +2189,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -2197,16 +2197,16 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col2 (type: int)
+                  expressions: _col2 (type: bigint)
                   outputColumnNames: _col0
                   Select Vectorization:
                       className: VectorSelectOperator
@@ -2214,9 +2214,9 @@ STAGE PLANS:
                       projectedOutputColumnNums: [2]
                   Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                   Reduce Output Operator
-                    key expressions: _col0 (type: int)
+                    key expressions: _col0 (type: bigint)
                     sort order: +
-                    Map-reduce partition columns: _col0 (type: int)
+                    Map-reduce partition columns: _col0 (type: bigint)
                     Reduce Sink Vectorization:
                         className: VectorReduceSinkLongOperator
                         keyColumnNums: [2]
@@ -2231,8 +2231,8 @@ STAGE PLANS:
                 condition map:
                      Inner Join 0 to 1
                 keys:
-                  0 _col0 (type: int)
-                  1 _col0 (type: int)
+                  0 _col0 (type: bigint)
+                  1 _col0 (type: bigint)
                 outputColumnNames: _col0, _col1
                 Statistics: Num rows: 9 Data size: 79 Basic stats: COMPLETE Column stats: NONE
                 File Output Operator
@@ -2254,7 +2254,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -2262,16 +2262,16 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col2 (type: int)
+                  expressions: _col2 (type: bigint)
                   outputColumnNames: _col0
                   Select Vectorization:
                       className: VectorSelectOperator
@@ -2279,9 +2279,9 @@ STAGE PLANS:
                       projectedOutputColumnNums: [2]
                   Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                   Reduce Output Operator
-                    key expressions: _col0 (type: int)
+                    key expressions: _col0 (type: bigint)
                     sort order: +
-                    Map-reduce partition columns: _col0 (type: int)
+                    Map-reduce partition columns: _col0 (type: bigint)
                     Reduce Sink Vectorization:
                         className: VectorReduceSinkLongOperator
                         keyColumnNums: [2]

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_id3.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_id3.q.out b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_id3.q.out
index da4b81f..da4ba84 100644
--- a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_id3.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_id3.q.out
@@ -80,11 +80,11 @@ STAGE PLANS:
                           aggregators: VectorUDAFCountStar(*) -> bigint
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: [0]
-                      keys: key (type: int), value (type: int), 0 (type: int)
+                      keys: key (type: int), value (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 12 Data size: 96 Basic stats: COMPLETE Column stats: NONE
@@ -92,17 +92,17 @@ STAGE PLANS:
                         Filter Vectorization:
                             className: VectorFilterOperator
                             native: true
-                            predicateExpression: FilterLongColEqualLongScalar(col 2:int, val 1)
+                            predicateExpression: FilterLongColEqualLongScalar(col 2:bigint, val 1)
                         predicate: (_col2 = 1) (type: boolean)
                         Statistics: Num rows: 6 Data size: 48 Basic stats: COMPLETE Column stats: NONE
                         Reduce Output Operator
-                          key expressions: _col0 (type: int), _col1 (type: int), 1 (type: int)
+                          key expressions: _col0 (type: int), _col1 (type: int), 1 (type: bigint)
                           sort order: +++
-                          Map-reduce partition columns: _col0 (type: int), _col1 (type: int), 1 (type: int)
+                          Map-reduce partition columns: _col0 (type: int), _col1 (type: int), 1 (type: bigint)
                           Reduce Sink Vectorization:
                               className: VectorReduceSinkMultiKeyOperator
                               keyColumnNums: [0, 1, 4]
-                              keyExpressions: ConstantVectorExpression(val 1) -> 4:int
+                              keyExpressions: ConstantVectorExpression(val 1) -> 4:bigint
                               native: true
                               nativeConditionsMet: hive.vectorized.execution.reducesink.new.enabled IS true, hive.execution.engine tez IN [tez, spark] IS true, No PTF TopN IS true, No DISTINCT columns IS true, BinarySortableSerDe for keys IS true, LazyBinarySerDe for values IS true
                               valueColumnNums: [3]
@@ -137,7 +137,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: [bigint]
             Reduce Operator Tree:
@@ -147,23 +147,23 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 1) -> 4:int
+                    keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 1) -> 4:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), 1 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), 1 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 3 Data size: 24 Basic stats: COMPLETE Column stats: NONE
                 pruneGroupingSetId: true
                 Select Operator
-                  expressions: _col0 (type: int), _col1 (type: int), 1 (type: int), _col3 (type: bigint)
+                  expressions: _col0 (type: int), _col1 (type: int), 1 (type: bigint), _col3 (type: bigint)
                   outputColumnNames: _col0, _col1, _col2, _col3
                   Select Vectorization:
                       className: VectorSelectOperator
                       native: true
                       projectedOutputColumnNums: [0, 1, 3, 2]
-                      selectExpressions: ConstantVectorExpression(val 1) -> 3:int
+                      selectExpressions: ConstantVectorExpression(val 1) -> 3:bigint
                   Statistics: Num rows: 3 Data size: 24 Basic stats: COMPLETE Column stats: NONE
                   File Output Operator
                     compressed: false
@@ -256,18 +256,18 @@ STAGE PLANS:
                           aggregators: VectorUDAFCountStar(*) -> bigint
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: [0]
-                      keys: _col0 (type: int), _col1 (type: int), 0 (type: int)
+                      keys: _col0 (type: int), _col1 (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 12 Data size: 96 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -305,7 +305,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -315,11 +315,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 6 Data size: 48 Basic stats: COMPLETE Column stats: NONE
@@ -327,17 +327,17 @@ STAGE PLANS:
                   Filter Vectorization:
                       className: VectorFilterOperator
                       native: true
-                      predicateExpression: FilterLongColEqualLongScalar(col 2:int, val 1)
+                      predicateExpression: FilterLongColEqualLongScalar(col 2:bigint, val 1)
                   predicate: (_col2 = 1) (type: boolean)
                   Statistics: Num rows: 3 Data size: 24 Basic stats: COMPLETE Column stats: NONE
                   Select Operator
-                    expressions: _col0 (type: int), _col1 (type: int), 1 (type: int), _col3 (type: bigint)
+                    expressions: _col0 (type: int), _col1 (type: int), 1 (type: bigint), _col3 (type: bigint)
                     outputColumnNames: _col0, _col1, _col2, _col3
                     Select Vectorization:
                         className: VectorSelectOperator
                         native: true
                         projectedOutputColumnNums: [0, 1, 4, 3]
-                        selectExpressions: ConstantVectorExpression(val 1) -> 4:int
+                        selectExpressions: ConstantVectorExpression(val 1) -> 4:bigint
                     Statistics: Num rows: 3 Data size: 24 Basic stats: COMPLETE Column stats: NONE
                     File Output Operator
                       compressed: false

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets1.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets1.q.out b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets1.q.out
index d2b738b..137e06a 100644
--- a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets1.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets1.q.out
@@ -88,18 +88,18 @@ STAGE PLANS:
                           aggregators: VectorUDAFCountStar(*) -> bigint
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 4:int
+                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 4:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: [0]
-                      keys: a (type: string), b (type: string), 0 (type: int)
+                      keys: a (type: string), b (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 24 Data size: 8832 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -137,7 +137,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -147,11 +147,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 12 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
@@ -250,18 +250,18 @@ STAGE PLANS:
                           aggregators: VectorUDAFCountStar(*) -> bigint
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 4:int
+                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 4:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: [0]
-                      keys: a (type: string), b (type: string), 0 (type: int)
+                      keys: a (type: string), b (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 24 Data size: 8832 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -299,7 +299,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -309,11 +309,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 12 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
@@ -412,18 +412,18 @@ STAGE PLANS:
                           aggregators: VectorUDAFCountStar(*) -> bigint
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 4:int
+                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 4:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: [0]
-                      keys: a (type: string), b (type: string), 0 (type: int)
+                      keys: a (type: string), b (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 24 Data size: 8832 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -461,7 +461,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -471,11 +471,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 12 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
@@ -574,18 +574,18 @@ STAGE PLANS:
                           aggregators: VectorUDAFCountStar(*) -> bigint
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 4:int
+                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 4:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: [0]
-                      keys: a (type: string), b (type: string), 0 (type: int)
+                      keys: a (type: string), b (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 12 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -623,7 +623,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -633,11 +633,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 6 Data size: 2208 Basic stats: COMPLETE Column stats: NONE
@@ -730,18 +730,18 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, col 1:string, col 2:string, ConstantVectorExpression(val 0) -> 4:int
+                          keyExpressions: col 0:string, col 1:string, col 2:string, ConstantVectorExpression(val 0) -> 4:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: a (type: string), b (type: string), c (type: string), 0 (type: int)
+                      keys: a (type: string), b (type: string), c (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 18 Data size: 9936 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: bigint)
                         sort order: ++++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2, 3]
@@ -778,7 +778,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:string, KEY._col3:int
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:string, KEY._col3:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -786,11 +786,11 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:string, col 3:int
+                    keyExpressions: col 0:string, col 1:string, col 2:string, col 3:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: string), KEY._col3 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: string), KEY._col3 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 9 Data size: 4968 Basic stats: COMPLETE Column stats: NONE


[03/12] hive git commit: HIVE-18359: Extend grouping set limits from int to long (Prasanth Jayachandran reviewed by Jesus Camacho Rodriguez)

Posted by pr...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets_grouping.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets_grouping.q.out b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets_grouping.q.out
index b81a0d3..8dd5cf0 100644
--- a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets_grouping.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets_grouping.q.out
@@ -74,18 +74,18 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: _col0 (type: int), _col1 (type: int), 0 (type: int)
+                      keys: _col0 (type: int), _col1 (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 18 Data size: 144 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -122,7 +122,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -130,22 +130,22 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int), grouping(_col2, 1) (type: int), grouping(_col2, 0) (type: int)
+                  expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint), grouping(_col2, 1) (type: bigint), grouping(_col2, 0) (type: bigint)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4
                   Select Vectorization:
                       className: VectorSelectOperator
                       native: true
                       projectedOutputColumnNums: [0, 1, 2, 3, 4]
-                      selectExpressions: VectorUDFAdaptor(grouping(_col2, 1)) -> 3:int, VectorUDFAdaptor(grouping(_col2, 0)) -> 4:int
+                      selectExpressions: VectorUDFAdaptor(grouping(_col2, 1)) -> 3:bigint, VectorUDFAdaptor(grouping(_col2, 0)) -> 4:bigint
                   Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                   File Output Operator
                     compressed: false
@@ -235,18 +235,18 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: _col0 (type: int), _col1 (type: int), 0 (type: int)
+                      keys: _col0 (type: int), _col1 (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 24 Data size: 192 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -283,7 +283,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -291,22 +291,22 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 12 Data size: 96 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int), grouping(_col2, 1) (type: int), grouping(_col2, 0) (type: int)
+                  expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint), grouping(_col2, 1) (type: bigint), grouping(_col2, 0) (type: bigint)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4
                   Select Vectorization:
                       className: VectorSelectOperator
                       native: true
                       projectedOutputColumnNums: [0, 1, 2, 3, 4]
-                      selectExpressions: VectorUDFAdaptor(grouping(_col2, 1)) -> 3:int, VectorUDFAdaptor(grouping(_col2, 0)) -> 4:int
+                      selectExpressions: VectorUDFAdaptor(grouping(_col2, 1)) -> 3:bigint, VectorUDFAdaptor(grouping(_col2, 0)) -> 4:bigint
                   Statistics: Num rows: 12 Data size: 96 Basic stats: COMPLETE Column stats: NONE
                   File Output Operator
                     compressed: false
@@ -403,18 +403,18 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: _col0 (type: int), _col1 (type: int), 0 (type: int)
+                      keys: _col0 (type: int), _col1 (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 24 Data size: 192 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -451,7 +451,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -459,11 +459,11 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 12 Data size: 96 Basic stats: COMPLETE Column stats: NONE
@@ -471,7 +471,7 @@ STAGE PLANS:
                   Filter Vectorization:
                       className: VectorFilterOperator
                       native: true
-                      predicateExpression: FilterLongColEqualLongScalar(col 3:int, val 1)(children: VectorUDFAdaptor(grouping(_col2, 1)) -> 3:int)
+                      predicateExpression: FilterLongColEqualLongScalar(col 3:bigint, val 1)(children: VectorUDFAdaptor(grouping(_col2, 1)) -> 3:bigint)
                   predicate: (grouping(_col2, 1) = 1) (type: boolean)
                   Statistics: Num rows: 6 Data size: 48 Basic stats: COMPLETE Column stats: NONE
                   Select Operator
@@ -572,18 +572,18 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: _col0 (type: int), _col1 (type: int), 0 (type: int)
+                      keys: _col0 (type: int), _col1 (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 24 Data size: 192 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -620,7 +620,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -628,11 +628,11 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 12 Data size: 96 Basic stats: COMPLETE Column stats: NONE
@@ -640,20 +640,20 @@ STAGE PLANS:
                   Filter Vectorization:
                       className: VectorFilterOperator
                       native: true
-                      predicateExpression: FilterExprOrExpr(children: FilterLongColEqualLongScalar(col 3:int, val 1)(children: VectorUDFAdaptor(grouping(_col2, 1)) -> 3:int), FilterLongColEqualLongScalar(col 3:int, val 1)(children: VectorUDFAdaptor(grouping(_col2, 0)) -> 3:int))
+                      predicateExpression: FilterExprOrExpr(children: FilterLongColEqualLongScalar(col 3:bigint, val 1)(children: VectorUDFAdaptor(grouping(_col2, 1)) -> 3:bigint), FilterLongColEqualLongScalar(col 3:bigint, val 1)(children: VectorUDFAdaptor(grouping(_col2, 0)) -> 3:bigint))
                   predicate: ((grouping(_col2, 0) = 1) or (grouping(_col2, 1) = 1)) (type: boolean)
                   Statistics: Num rows: 12 Data size: 96 Basic stats: COMPLETE Column stats: NONE
                   Select Operator
-                    expressions: _col0 (type: int), _col1 (type: int), (grouping(_col2, 1) + grouping(_col2, 0)) (type: int), CASE WHEN (((grouping(_col2, 1) + grouping(_col2, 0)) = 1)) THEN (_col0) ELSE (null) END (type: int)
+                    expressions: _col0 (type: int), _col1 (type: int), (grouping(_col2, 1) + grouping(_col2, 0)) (type: bigint), CASE WHEN (((grouping(_col2, 1) + grouping(_col2, 0)) = 1)) THEN (_col0) ELSE (null) END (type: int)
                     outputColumnNames: _col0, _col1, _col2, _col3
                     Select Vectorization:
                         className: VectorSelectOperator
                         native: true
                         projectedOutputColumnNums: [0, 1, 5, 4]
-                        selectExpressions: LongColAddLongColumn(col 3:int, col 4:int)(children: VectorUDFAdaptor(grouping(_col2, 1)) -> 3:int, VectorUDFAdaptor(grouping(_col2, 0)) -> 4:int) -> 5:int, IfExprColumnNull(col 3:boolean, col 0:int, null)(children: LongColEqualLongScalar(col 6:int, val 1)(children: LongColAddLongColumn(col 3:int, col 4:int)(children: VectorUDFAdaptor(grouping(_col2, 1)) -> 3:int, VectorUDFAdaptor(grouping(_col2, 0)) -> 4:int) -> 6:int) -> 3:boolean, col 0:int) -> 4:int
+                        selectExpressions: LongColAddLongColumn(col 3:bigint, col 4:bigint)(children: VectorUDFAdaptor(grouping(_col2, 1)) -> 3:bigint, VectorUDFAdaptor(grouping(_col2, 0)) -> 4:bigint) -> 5:bigint, IfExprColumnNull(col 3:boolean, col 0:int, null)(children: LongColEqualLongScalar(col 6:bigint, val 1)(children: LongColAddLongColumn(col 3:bigint, col 4:bigint)(children: VectorUDFAdaptor(grouping(_col2, 1)) -> 3:bigint, VectorUDFAdaptor(grouping(_col2, 0)) -> 4:bigint) -> 6:bigint) -> 3:boolean, col 0:int) -> 4:int
                     Statistics: Num rows: 12 Data size: 96 Basic stats: COMPLETE Column stats: NONE
                     Reduce Output Operator
-                      key expressions: _col2 (type: int), _col3 (type: int)
+                      key expressions: _col2 (type: bigint), _col3 (type: int)
                       sort order: -+
                       Reduce Sink Vectorization:
                           className: VectorReduceSinkObjectHashOperator
@@ -675,12 +675,12 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY.reducesinkkey0:int, KEY.reducesinkkey1:int, VALUE._col0:int, VALUE._col1:int
+                    dataColumns: KEY.reducesinkkey0:bigint, KEY.reducesinkkey1:int, VALUE._col0:int, VALUE._col1:int
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
               Select Operator
-                expressions: VALUE._col0 (type: int), VALUE._col1 (type: int), KEY.reducesinkkey0 (type: int)
+                expressions: VALUE._col0 (type: int), VALUE._col1 (type: int), KEY.reducesinkkey0 (type: bigint)
                 outputColumnNames: _col0, _col1, _col2
                 Select Vectorization:
                     className: VectorSelectOperator
@@ -778,18 +778,18 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: key (type: int), value (type: int), 0 (type: int)
+                      keys: key (type: int), value (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 18 Data size: 144 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -826,7 +826,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -834,22 +834,22 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int), grouping(_col2, 1) (type: int), grouping(_col2, 0) (type: int)
+                  expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint), grouping(_col2, 1) (type: bigint), grouping(_col2, 0) (type: bigint)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4
                   Select Vectorization:
                       className: VectorSelectOperator
                       native: true
                       projectedOutputColumnNums: [0, 1, 2, 3, 4]
-                      selectExpressions: VectorUDFAdaptor(grouping(_col2, 1)) -> 3:int, VectorUDFAdaptor(grouping(_col2, 0)) -> 4:int
+                      selectExpressions: VectorUDFAdaptor(grouping(_col2, 1)) -> 3:bigint, VectorUDFAdaptor(grouping(_col2, 0)) -> 4:bigint
                   Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                   File Output Operator
                     compressed: false
@@ -939,18 +939,18 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: key (type: int), value (type: int), 0 (type: int)
+                      keys: key (type: int), value (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 24 Data size: 192 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -987,7 +987,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -995,22 +995,22 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 12 Data size: 96 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int), grouping(_col2, 1) (type: int), grouping(_col2, 0) (type: int)
+                  expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint), grouping(_col2, 1) (type: bigint), grouping(_col2, 0) (type: bigint)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4
                   Select Vectorization:
                       className: VectorSelectOperator
                       native: true
                       projectedOutputColumnNums: [0, 1, 2, 3, 4]
-                      selectExpressions: VectorUDFAdaptor(grouping(_col2, 1)) -> 3:int, VectorUDFAdaptor(grouping(_col2, 0)) -> 4:int
+                      selectExpressions: VectorUDFAdaptor(grouping(_col2, 1)) -> 3:bigint, VectorUDFAdaptor(grouping(_col2, 0)) -> 4:bigint
                   Statistics: Num rows: 12 Data size: 96 Basic stats: COMPLETE Column stats: NONE
                   File Output Operator
                     compressed: false
@@ -1107,11 +1107,11 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: key (type: int), value (type: int), 0 (type: int)
+                      keys: key (type: int), value (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 24 Data size: 192 Basic stats: COMPLETE Column stats: NONE
@@ -1119,13 +1119,13 @@ STAGE PLANS:
                         Filter Vectorization:
                             className: VectorFilterOperator
                             native: true
-                            predicateExpression: FilterLongColEqualLongScalar(col 3:int, val 1)(children: VectorUDFAdaptor(grouping(_col2, 1)) -> 3:int)
+                            predicateExpression: FilterLongColEqualLongScalar(col 3:bigint, val 1)(children: VectorUDFAdaptor(grouping(_col2, 1)) -> 3:bigint)
                         predicate: (grouping(_col2, 1) = 1) (type: boolean)
                         Statistics: Num rows: 12 Data size: 96 Basic stats: COMPLETE Column stats: NONE
                         Reduce Output Operator
-                          key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                          key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                           sort order: +++
-                          Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                          Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                           Reduce Sink Vectorization:
                               className: VectorReduceSinkMultiKeyOperator
                               keyColumnNums: [0, 1, 2]
@@ -1162,7 +1162,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -1170,11 +1170,11 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1
                 Statistics: Num rows: 6 Data size: 48 Basic stats: COMPLETE Column stats: NONE
@@ -1269,11 +1269,11 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: key (type: int), value (type: int), 0 (type: int)
+                      keys: key (type: int), value (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 24 Data size: 192 Basic stats: COMPLETE Column stats: NONE
@@ -1281,13 +1281,13 @@ STAGE PLANS:
                         Filter Vectorization:
                             className: VectorFilterOperator
                             native: true
-                            predicateExpression: FilterExprOrExpr(children: FilterLongColEqualLongScalar(col 3:int, val 1)(children: VectorUDFAdaptor(grouping(_col2, 1)) -> 3:int), FilterLongColEqualLongScalar(col 3:int, val 1)(children: VectorUDFAdaptor(grouping(_col2, 0)) -> 3:int))
+                            predicateExpression: FilterExprOrExpr(children: FilterLongColEqualLongScalar(col 3:bigint, val 1)(children: VectorUDFAdaptor(grouping(_col2, 1)) -> 3:bigint), FilterLongColEqualLongScalar(col 3:bigint, val 1)(children: VectorUDFAdaptor(grouping(_col2, 0)) -> 3:bigint))
                         predicate: ((grouping(_col2, 0) = 1) or (grouping(_col2, 1) = 1)) (type: boolean)
                         Statistics: Num rows: 24 Data size: 192 Basic stats: COMPLETE Column stats: NONE
                         Reduce Output Operator
-                          key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                          key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                           sort order: +++
-                          Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                          Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                           Reduce Sink Vectorization:
                               className: VectorReduceSinkMultiKeyOperator
                               keyColumnNums: [0, 1, 2]
@@ -1324,7 +1324,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -1332,30 +1332,30 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 12 Data size: 96 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: int), _col1 (type: int), (grouping(_col2, 1) + grouping(_col2, 0)) (type: int)
+                  expressions: _col0 (type: int), _col1 (type: int), (grouping(_col2, 1) + grouping(_col2, 0)) (type: bigint)
                   outputColumnNames: _col0, _col1, _col2
                   Select Vectorization:
                       className: VectorSelectOperator
                       native: true
                       projectedOutputColumnNums: [0, 1, 5]
-                      selectExpressions: LongColAddLongColumn(col 3:int, col 4:int)(children: VectorUDFAdaptor(grouping(_col2, 1)) -> 3:int, VectorUDFAdaptor(grouping(_col2, 0)) -> 4:int) -> 5:int
+                      selectExpressions: LongColAddLongColumn(col 3:bigint, col 4:bigint)(children: VectorUDFAdaptor(grouping(_col2, 1)) -> 3:bigint, VectorUDFAdaptor(grouping(_col2, 0)) -> 4:bigint) -> 5:bigint
                   Statistics: Num rows: 12 Data size: 96 Basic stats: COMPLETE Column stats: NONE
                   Reduce Output Operator
-                    key expressions: _col2 (type: int), CASE WHEN ((_col2 = 1)) THEN (_col0) END (type: int)
+                    key expressions: _col2 (type: bigint), CASE WHEN ((_col2 = 1)) THEN (_col0) END (type: int)
                     sort order: -+
                     Reduce Sink Vectorization:
                         className: VectorReduceSinkObjectHashOperator
                         keyColumnNums: [5, 4]
-                        keyExpressions: IfExprColumnNull(col 3:boolean, col 0:int, null)(children: LongColEqualLongScalar(col 5:int, val 1) -> 3:boolean, col 0:int) -> 4:int
+                        keyExpressions: IfExprColumnNull(col 3:boolean, col 0:int, null)(children: LongColEqualLongScalar(col 5:bigint, val 1) -> 3:boolean, col 0:int) -> 4:int
                         native: true
                         nativeConditionsMet: hive.vectorized.execution.reducesink.new.enabled IS true, hive.execution.engine tez IN [tez, spark] IS true, No PTF TopN IS true, No DISTINCT columns IS true, BinarySortableSerDe for keys IS true, LazyBinarySerDe for values IS true
                         valueColumnNums: [0, 1]
@@ -1373,12 +1373,12 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY.reducesinkkey0:int, KEY.reducesinkkey1:int, VALUE._col0:int, VALUE._col1:int
+                    dataColumns: KEY.reducesinkkey0:bigint, KEY.reducesinkkey1:int, VALUE._col0:int, VALUE._col1:int
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
               Select Operator
-                expressions: VALUE._col0 (type: int), VALUE._col1 (type: int), KEY.reducesinkkey0 (type: int)
+                expressions: VALUE._col0 (type: int), VALUE._col1 (type: int), KEY.reducesinkkey0 (type: bigint)
                 outputColumnNames: _col0, _col1, _col2
                 Select Vectorization:
                     className: VectorSelectOperator
@@ -1476,18 +1476,18 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: key (type: int), value (type: int), 0 (type: int)
+                      keys: key (type: int), value (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 24 Data size: 192 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -1524,7 +1524,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -1532,22 +1532,22 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 12 Data size: 96 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int), grouping(_col2, 1, 0) (type: int)
+                  expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint), grouping(_col2, 1, 0) (type: bigint)
                   outputColumnNames: _col0, _col1, _col2, _col3
                   Select Vectorization:
                       className: VectorSelectOperator
                       native: true
                       projectedOutputColumnNums: [0, 1, 2, 3]
-                      selectExpressions: VectorUDFAdaptor(grouping(_col2, 1, 0)) -> 3:int
+                      selectExpressions: VectorUDFAdaptor(grouping(_col2, 1, 0)) -> 3:bigint
                   Statistics: Num rows: 12 Data size: 96 Basic stats: COMPLETE Column stats: NONE
                   File Output Operator
                     compressed: false
@@ -1642,18 +1642,18 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: key (type: int), value (type: int), 0 (type: int)
+                      keys: key (type: int), value (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 24 Data size: 192 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -1690,7 +1690,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -1698,22 +1698,22 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 12 Data size: 96 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int), grouping(_col2, 0, 1) (type: int)
+                  expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint), grouping(_col2, 0, 1) (type: bigint)
                   outputColumnNames: _col0, _col1, _col2, _col3
                   Select Vectorization:
                       className: VectorSelectOperator
                       native: true
                       projectedOutputColumnNums: [0, 1, 2, 3]
-                      selectExpressions: VectorUDFAdaptor(grouping(_col2, 0, 1)) -> 3:int
+                      selectExpressions: VectorUDFAdaptor(grouping(_col2, 0, 1)) -> 3:bigint
                   Statistics: Num rows: 12 Data size: 96 Basic stats: COMPLETE Column stats: NONE
                   File Output Operator
                     compressed: false
@@ -1808,18 +1808,18 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: key (type: int), value (type: int), 0 (type: int)
+                      keys: key (type: int), value (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 18 Data size: 144 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -1856,7 +1856,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -1864,22 +1864,22 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int), grouping(_col2, 1, 0) (type: int)
+                  expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint), grouping(_col2, 1, 0) (type: bigint)
                   outputColumnNames: _col0, _col1, _col2, _col3
                   Select Vectorization:
                       className: VectorSelectOperator
                       native: true
                       projectedOutputColumnNums: [0, 1, 2, 3]
-                      selectExpressions: VectorUDFAdaptor(grouping(_col2, 1, 0)) -> 3:int
+                      selectExpressions: VectorUDFAdaptor(grouping(_col2, 1, 0)) -> 3:bigint
                   Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                   File Output Operator
                     compressed: false
@@ -1969,18 +1969,18 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:int
+                          keyExpressions: col 0:int, col 1:int, ConstantVectorExpression(val 0) -> 3:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: key (type: int), value (type: int), 0 (type: int)
+                      keys: key (type: int), value (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2
                       Statistics: Num rows: 18 Data size: 144 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -2017,7 +2017,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 3
-                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:int
+                    dataColumns: KEY._col0:int, KEY._col1:int, KEY._col2:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -2025,22 +2025,22 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:int, col 1:int, col 2:int
+                    keyExpressions: col 0:int, col 1:int, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int), grouping(_col2, 0, 1) (type: int)
+                  expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint), grouping(_col2, 0, 1) (type: bigint)
                   outputColumnNames: _col0, _col1, _col2, _col3
                   Select Vectorization:
                       className: VectorSelectOperator
                       native: true
                       projectedOutputColumnNums: [0, 1, 2, 3]
-                      selectExpressions: VectorUDFAdaptor(grouping(_col2, 0, 1)) -> 3:int
+                      selectExpressions: VectorUDFAdaptor(grouping(_col2, 0, 1)) -> 3:bigint
                   Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE Column stats: NONE
                   File Output Operator
                     compressed: false

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets_limit.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets_limit.q.out b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets_limit.q.out
index e8ca06e..dee20d1 100644
--- a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets_limit.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_sets_limit.q.out
@@ -74,18 +74,18 @@ STAGE PLANS:
                           aggregators: VectorUDAFCountStar(*) -> bigint
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 4:int
+                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 4:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: [0]
-                      keys: a (type: string), b (type: string), 0 (type: int)
+                      keys: a (type: string), b (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 24 Data size: 8832 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -124,7 +124,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -134,11 +134,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 12 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
@@ -275,18 +275,18 @@ STAGE PLANS:
                           aggregators: VectorUDAFCountStar(*) -> bigint
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 4:int
+                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 4:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: [0]
-                      keys: a (type: string), b (type: string), 0 (type: int)
+                      keys: a (type: string), b (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 24 Data size: 8832 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -325,7 +325,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -335,11 +335,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 12 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
@@ -476,18 +476,18 @@ STAGE PLANS:
                           aggregators: VectorUDAFCountStar(*) -> bigint
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 4:int
+                          keyExpressions: col 0:string, col 1:string, ConstantVectorExpression(val 0) -> 4:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: [0]
-                      keys: a (type: string), b (type: string), 0 (type: int)
+                      keys: a (type: string), b (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 12 Data size: 4416 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         sort order: +++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2]
@@ -526,7 +526,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:int, VALUE._col0:bigint
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:bigint, VALUE._col0:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -536,11 +536,11 @@ STAGE PLANS:
                     aggregators: VectorUDAFCountMerge(col 3:bigint) -> bigint
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:int
+                    keyExpressions: col 0:string, col 1:string, col 2:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: [0]
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col3
                 Statistics: Num rows: 6 Data size: 2208 Basic stats: COMPLETE Column stats: NONE
@@ -675,18 +675,18 @@ STAGE PLANS:
                       Group By Vectorization:
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:string, col 1:string, col 2:string, ConstantVectorExpression(val 0) -> 4:int
+                          keyExpressions: col 0:string, col 1:string, col 2:string, ConstantVectorExpression(val 0) -> 4:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: []
-                      keys: a (type: string), b (type: string), c (type: string), 0 (type: int)
+                      keys: a (type: string), b (type: string), c (type: string), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 18 Data size: 9936 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: int)
+                        key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: bigint)
                         sort order: ++++
-                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: int)
+                        Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1, 2, 3]
@@ -724,7 +724,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:string, KEY._col3:int
+                    dataColumns: KEY._col0:string, KEY._col1:string, KEY._col2:string, KEY._col3:bigint
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -732,11 +732,11 @@ STAGE PLANS:
                 Group By Vectorization:
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:string, col 1:string, col 2:string, col 3:int
+                    keyExpressions: col 0:string, col 1:string, col 2:string, col 3:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: []
-                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: string), KEY._col3 (type: int)
+                keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: string), KEY._col3 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 9 Data size: 4968 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_window.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_window.q.out b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_window.q.out
index 4de6ebb..9374bcc 100644
--- a/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_window.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_groupby_grouping_window.q.out
@@ -72,25 +72,25 @@ STAGE PLANS:
                           aggregators: VectorUDAFMaxLong(col 1:int) -> int, VectorUDAFMaxLong(col 2:int) -> int
                           className: VectorGroupByOperator
                           groupByMode: HASH
-                          keyExpressions: col 0:int, ConstantVectorExpression(val 0) -> 4:int
+                          keyExpressions: col 0:int, ConstantVectorExpression(val 0) -> 4:bigint
                           native: false
                           vectorProcessingMode: HASH
                           projectedOutputColumnNums: [0, 1]
-                      keys: category (type: int), 0 (type: int)
+                      keys: category (type: int), 0 (type: bigint)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3
-                      Statistics: Num rows: 3 Data size: 48 Basic stats: COMPLETE Column stats: COMPLETE
+                      Statistics: Num rows: 3 Data size: 60 Basic stats: COMPLETE Column stats: COMPLETE
                       Reduce Output Operator
-                        key expressions: _col0 (type: int), _col1 (type: int)
+                        key expressions: _col0 (type: int), _col1 (type: bigint)
                         sort order: ++
-                        Map-reduce partition columns: _col0 (type: int), _col1 (type: int)
+                        Map-reduce partition columns: _col0 (type: int), _col1 (type: bigint)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
                             keyColumnNums: [0, 1]
                             native: true
                             nativeConditionsMet: hive.vectorized.execution.reducesink.new.enabled IS true, hive.execution.engine tez IN [tez, spark] IS true, No PTF TopN IS true, No DISTINCT columns IS true, BinarySortableSerDe for keys IS true, LazyBinarySerDe for values IS true
                             valueColumnNums: [2, 3]
-                        Statistics: Num rows: 3 Data size: 48 Basic stats: COMPLETE Column stats: COMPLETE
+                        Statistics: Num rows: 3 Data size: 60 Basic stats: COMPLETE Column stats: COMPLETE
                         value expressions: _col2 (type: int), _col3 (type: int)
             Execution mode: vectorized, llap
             LLAP IO: all inputs
@@ -121,7 +121,7 @@ STAGE PLANS:
                 vectorized: true
                 rowBatchContext:
                     dataColumnCount: 4
-                    dataColumns: KEY._col0:int, KEY._col1:int, VALUE._col0:int, VALUE._col1:int
+                    dataColumns: KEY._col0:int, KEY._col1:bigint, VALUE._col0:int, VALUE._col1:int
                     partitionColumnCount: 0
                     scratchColumnTypeNames: []
             Reduce Operator Tree:
@@ -131,14 +131,14 @@ STAGE PLANS:
                     aggregators: VectorUDAFMaxLong(col 2:int) -> int, VectorUDAFMaxLong(col 3:int) -> int
                     className: VectorGroupByOperator
                     groupByMode: MERGEPARTIAL
-                    keyExpressions: col 0:int, col 1:int
+                    keyExpressions: col 0:int, col 1:bigint
                     native: false
                     vectorProcessingMode: MERGE_PARTIAL
                     projectedOutputColumnNums: [0, 1]
-                keys: KEY._col0 (type: int), KEY._col1 (type: int)
+                keys: KEY._col0 (type: int), KEY._col1 (type: bigint)
                 mode: mergepartial
                 outputColumnNames: _col0, _col2, _col3
-                Statistics: Num rows: 3 Data size: 48 Basic stats: COMPLETE Column stats: COMPLETE
+                Statistics: Num rows: 3 Data size: 60 Basic stats: COMPLETE Column stats: COMPLETE
                 pruneGroupingSetId: true
                 Filter Operator
                   Filter Vectorization:
@@ -146,7 +146,7 @@ STAGE PLANS:
                       native: true
                       predicateExpression: FilterLongColGreaterLongScalar(col 2:int, val 0)
                   predicate: (_col3 > 0) (type: boolean)
-                  Statistics: Num rows: 1 Data size: 16 Basic stats: COMPLETE Column stats: COMPLETE
+                  Statistics: Num rows: 1 Data size: 20 Basic stats: COMPLETE Column stats: COMPLETE
                   Reduce Output Operator
                     key expressions: _col0 (type: int), _col3 (type: int)
                     sort order: ++
@@ -158,7 +158,7 @@ STAGE PLANS:
                         nativeConditionsMet: hive.vectorized.execution.reducesink.new.enabled IS true, hive.execution.engine tez IN [tez, spark] IS true, No PTF TopN IS true, No DISTINCT columns IS true, BinarySortableSerDe for keys IS true, LazyBinarySerDe for values IS true
                         partitionColumnNums: [0]
                         valueColumnNums: [1]
-                    Statistics: Num rows: 1 Data size: 16 Basic stats: COMPLETE Column stats: COMPLETE
+                    Statistics: Num rows: 1 Data size: 20 Basic stats: COMPLETE Column stats: COMPLETE
                     value expressions: _col2 (type: int)
         Reducer 3 
             Execution mode: vectorized, llap
@@ -183,7 +183,7 @@ STAGE PLANS:
                     className: VectorSelectOperator
                     native: true
                     projectedOutputColumnNums: [0, 2, 1]
-                Statistics: Num rows: 1 Data size: 16 Basic stats: COMPLETE Column stats: COMPLETE
+                Statistics: Num rows: 1 Data size: 20 Basic stats: COMPLETE Column stats: COMPLETE
                 PTF Operator
                   Function definitions:
                       Input definition
@@ -217,7 +217,7 @@ STAGE PLANS:
                       outputTypes: [int, int, int, int]
                       partitionExpressions: [col 0:int]
                       streamingColumns: [3]
-                  Statistics: Num rows: 1 Data size: 16 Basic stats: COMPLETE Column stats: COMPLETE
+                  Statistics: Num rows: 1 Data size: 20 Basic stats: COMPLETE Column stats: COMPLETE
                   Select Operator
                     expressions: _col0 (type: int), _col2 (type: int), _col3 (type: int), rank_window_0 (type: int)
                     outputColumnNames: _col0, _col1, _col2, _col3


[11/12] hive git commit: HIVE-18359: Extend grouping set limits from int to long (Prasanth Jayachandran reviewed by Jesus Camacho Rodriguez)

Posted by pr...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/annotate_stats_groupby.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/annotate_stats_groupby.q.out b/ql/src/test/results/clientpositive/annotate_stats_groupby.q.out
index ed3d594..25efe1e 100644
--- a/ql/src/test/results/clientpositive/annotate_stats_groupby.q.out
+++ b/ql/src/test/results/clientpositive/annotate_stats_groupby.q.out
@@ -304,25 +304,25 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 720 Basic stats: COMPLETE Column stats: COMPLETE
               Group By Operator
-                keys: state (type: string), locid (type: int), 0 (type: int)
+                keys: state (type: string), locid (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 32 Data size: 3008 Basic stats: COMPLETE Column stats: COMPLETE
+                Statistics: Num rows: 32 Data size: 3136 Basic stats: COMPLETE Column stats: COMPLETE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: int)
-                  Statistics: Num rows: 32 Data size: 3008 Basic stats: COMPLETE Column stats: COMPLETE
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
+                  Statistics: Num rows: 32 Data size: 3136 Basic stats: COMPLETE Column stats: COMPLETE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1
-          Statistics: Num rows: 32 Data size: 3008 Basic stats: COMPLETE Column stats: COMPLETE
+          Statistics: Num rows: 32 Data size: 3136 Basic stats: COMPLETE Column stats: COMPLETE
           pruneGroupingSetId: true
           File Output Operator
             compressed: false
-            Statistics: Num rows: 32 Data size: 3008 Basic stats: COMPLETE Column stats: COMPLETE
+            Statistics: Num rows: 32 Data size: 3136 Basic stats: COMPLETE Column stats: COMPLETE
             table:
                 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
                 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -354,25 +354,25 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 720 Basic stats: COMPLETE Column stats: COMPLETE
               Group By Operator
-                keys: state (type: string), locid (type: int), 0 (type: int)
+                keys: state (type: string), locid (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 24 Data size: 2256 Basic stats: COMPLETE Column stats: COMPLETE
+                Statistics: Num rows: 24 Data size: 2352 Basic stats: COMPLETE Column stats: COMPLETE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: int)
-                  Statistics: Num rows: 24 Data size: 2256 Basic stats: COMPLETE Column stats: COMPLETE
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
+                  Statistics: Num rows: 24 Data size: 2352 Basic stats: COMPLETE Column stats: COMPLETE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1
-          Statistics: Num rows: 24 Data size: 2256 Basic stats: COMPLETE Column stats: COMPLETE
+          Statistics: Num rows: 24 Data size: 2352 Basic stats: COMPLETE Column stats: COMPLETE
           pruneGroupingSetId: true
           File Output Operator
             compressed: false
-            Statistics: Num rows: 24 Data size: 2256 Basic stats: COMPLETE Column stats: COMPLETE
+            Statistics: Num rows: 24 Data size: 2352 Basic stats: COMPLETE Column stats: COMPLETE
             table:
                 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
                 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -404,25 +404,25 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 720 Basic stats: COMPLETE Column stats: COMPLETE
               Group By Operator
-                keys: state (type: string), locid (type: int), 0 (type: int)
+                keys: state (type: string), locid (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 24 Data size: 2256 Basic stats: COMPLETE Column stats: COMPLETE
+                Statistics: Num rows: 24 Data size: 2352 Basic stats: COMPLETE Column stats: COMPLETE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: int)
-                  Statistics: Num rows: 24 Data size: 2256 Basic stats: COMPLETE Column stats: COMPLETE
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
+                  Statistics: Num rows: 24 Data size: 2352 Basic stats: COMPLETE Column stats: COMPLETE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1
-          Statistics: Num rows: 24 Data size: 2256 Basic stats: COMPLETE Column stats: COMPLETE
+          Statistics: Num rows: 24 Data size: 2352 Basic stats: COMPLETE Column stats: COMPLETE
           pruneGroupingSetId: true
           File Output Operator
             compressed: false
-            Statistics: Num rows: 24 Data size: 2256 Basic stats: COMPLETE Column stats: COMPLETE
+            Statistics: Num rows: 24 Data size: 2352 Basic stats: COMPLETE Column stats: COMPLETE
             table:
                 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
                 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -454,25 +454,25 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 720 Basic stats: COMPLETE Column stats: COMPLETE
               Group By Operator
-                keys: state (type: string), locid (type: int), 0 (type: int)
+                keys: state (type: string), locid (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 8 Data size: 752 Basic stats: COMPLETE Column stats: COMPLETE
+                Statistics: Num rows: 8 Data size: 784 Basic stats: COMPLETE Column stats: COMPLETE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: int)
-                  Statistics: Num rows: 8 Data size: 752 Basic stats: COMPLETE Column stats: COMPLETE
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
+                  Statistics: Num rows: 8 Data size: 784 Basic stats: COMPLETE Column stats: COMPLETE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1
-          Statistics: Num rows: 8 Data size: 752 Basic stats: COMPLETE Column stats: COMPLETE
+          Statistics: Num rows: 8 Data size: 784 Basic stats: COMPLETE Column stats: COMPLETE
           pruneGroupingSetId: true
           File Output Operator
             compressed: false
-            Statistics: Num rows: 8 Data size: 752 Basic stats: COMPLETE Column stats: COMPLETE
+            Statistics: Num rows: 8 Data size: 784 Basic stats: COMPLETE Column stats: COMPLETE
             table:
                 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
                 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -504,25 +504,25 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 720 Basic stats: COMPLETE Column stats: COMPLETE
               Group By Operator
-                keys: state (type: string), locid (type: int), 0 (type: int)
+                keys: state (type: string), locid (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 16 Data size: 1504 Basic stats: COMPLETE Column stats: COMPLETE
+                Statistics: Num rows: 16 Data size: 1568 Basic stats: COMPLETE Column stats: COMPLETE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: int)
-                  Statistics: Num rows: 16 Data size: 1504 Basic stats: COMPLETE Column stats: COMPLETE
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
+                  Statistics: Num rows: 16 Data size: 1568 Basic stats: COMPLETE Column stats: COMPLETE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1
-          Statistics: Num rows: 16 Data size: 1504 Basic stats: COMPLETE Column stats: COMPLETE
+          Statistics: Num rows: 16 Data size: 1568 Basic stats: COMPLETE Column stats: COMPLETE
           pruneGroupingSetId: true
           File Output Operator
             compressed: false
-            Statistics: Num rows: 16 Data size: 1504 Basic stats: COMPLETE Column stats: COMPLETE
+            Statistics: Num rows: 16 Data size: 1568 Basic stats: COMPLETE Column stats: COMPLETE
             table:
                 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
                 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -554,25 +554,25 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 720 Basic stats: COMPLETE Column stats: COMPLETE
               Group By Operator
-                keys: state (type: string), locid (type: int), 0 (type: int)
+                keys: state (type: string), locid (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 24 Data size: 2256 Basic stats: COMPLETE Column stats: COMPLETE
+                Statistics: Num rows: 24 Data size: 2352 Basic stats: COMPLETE Column stats: COMPLETE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: int)
-                  Statistics: Num rows: 24 Data size: 2256 Basic stats: COMPLETE Column stats: COMPLETE
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
+                  Statistics: Num rows: 24 Data size: 2352 Basic stats: COMPLETE Column stats: COMPLETE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1
-          Statistics: Num rows: 24 Data size: 2256 Basic stats: COMPLETE Column stats: COMPLETE
+          Statistics: Num rows: 24 Data size: 2352 Basic stats: COMPLETE Column stats: COMPLETE
           pruneGroupingSetId: true
           File Output Operator
             compressed: false
-            Statistics: Num rows: 24 Data size: 2256 Basic stats: COMPLETE Column stats: COMPLETE
+            Statistics: Num rows: 24 Data size: 2352 Basic stats: COMPLETE Column stats: COMPLETE
             table:
                 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
                 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -604,25 +604,25 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 720 Basic stats: COMPLETE Column stats: COMPLETE
               Group By Operator
-                keys: state (type: string), locid (type: int), 0 (type: int)
+                keys: state (type: string), locid (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 32 Data size: 3008 Basic stats: COMPLETE Column stats: COMPLETE
+                Statistics: Num rows: 32 Data size: 3136 Basic stats: COMPLETE Column stats: COMPLETE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: int)
-                  Statistics: Num rows: 32 Data size: 3008 Basic stats: COMPLETE Column stats: COMPLETE
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
+                  Statistics: Num rows: 32 Data size: 3136 Basic stats: COMPLETE Column stats: COMPLETE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1
-          Statistics: Num rows: 32 Data size: 3008 Basic stats: COMPLETE Column stats: COMPLETE
+          Statistics: Num rows: 32 Data size: 3136 Basic stats: COMPLETE Column stats: COMPLETE
           pruneGroupingSetId: true
           File Output Operator
             compressed: false
-            Statistics: Num rows: 32 Data size: 3008 Basic stats: COMPLETE Column stats: COMPLETE
+            Statistics: Num rows: 32 Data size: 3136 Basic stats: COMPLETE Column stats: COMPLETE
             table:
                 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
                 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -703,25 +703,25 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 720 Basic stats: COMPLETE Column stats: COMPLETE
               Group By Operator
-                keys: state (type: string), locid (type: int), 0 (type: int)
+                keys: state (type: string), locid (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 16 Data size: 1504 Basic stats: COMPLETE Column stats: COMPLETE
+                Statistics: Num rows: 16 Data size: 1568 Basic stats: COMPLETE Column stats: COMPLETE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: int)
-                  Statistics: Num rows: 16 Data size: 1504 Basic stats: COMPLETE Column stats: COMPLETE
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
+                  Statistics: Num rows: 16 Data size: 1568 Basic stats: COMPLETE Column stats: COMPLETE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1
-          Statistics: Num rows: 16 Data size: 1504 Basic stats: COMPLETE Column stats: COMPLETE
+          Statistics: Num rows: 16 Data size: 1568 Basic stats: COMPLETE Column stats: COMPLETE
           pruneGroupingSetId: true
           File Output Operator
             compressed: false
-            Statistics: Num rows: 16 Data size: 1504 Basic stats: COMPLETE Column stats: COMPLETE
+            Statistics: Num rows: 16 Data size: 1568 Basic stats: COMPLETE Column stats: COMPLETE
             table:
                 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
                 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -802,18 +802,18 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 796 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: state (type: string), locid (type: int), 0 (type: int)
+                keys: state (type: string), locid (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 32 Data size: 3184 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                   Statistics: Num rows: 32 Data size: 3184 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1
           Statistics: Num rows: 16 Data size: 1592 Basic stats: COMPLETE Column stats: NONE
@@ -852,18 +852,18 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 796 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: state (type: string), locid (type: int), 0 (type: int)
+                keys: state (type: string), locid (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 24 Data size: 2388 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                   Statistics: Num rows: 24 Data size: 2388 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1
           Statistics: Num rows: 12 Data size: 1194 Basic stats: COMPLETE Column stats: NONE
@@ -902,18 +902,18 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 796 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: state (type: string), locid (type: int), 0 (type: int)
+                keys: state (type: string), locid (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 24 Data size: 2388 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                   Statistics: Num rows: 24 Data size: 2388 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1
           Statistics: Num rows: 12 Data size: 1194 Basic stats: COMPLETE Column stats: NONE
@@ -952,18 +952,18 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 796 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: state (type: string), locid (type: int), 0 (type: int)
+                keys: state (type: string), locid (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 8 Data size: 796 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                   Statistics: Num rows: 8 Data size: 796 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1
           Statistics: Num rows: 4 Data size: 398 Basic stats: COMPLETE Column stats: NONE
@@ -1002,18 +1002,18 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 796 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: state (type: string), locid (type: int), 0 (type: int)
+                keys: state (type: string), locid (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 16 Data size: 1592 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                   Statistics: Num rows: 16 Data size: 1592 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1
           Statistics: Num rows: 8 Data size: 796 Basic stats: COMPLETE Column stats: NONE
@@ -1052,18 +1052,18 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 796 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: state (type: string), locid (type: int), 0 (type: int)
+                keys: state (type: string), locid (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 24 Data size: 2388 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                   Statistics: Num rows: 24 Data size: 2388 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1
           Statistics: Num rows: 12 Data size: 1194 Basic stats: COMPLETE Column stats: NONE
@@ -1102,18 +1102,18 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 796 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: state (type: string), locid (type: int), 0 (type: int)
+                keys: state (type: string), locid (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 32 Data size: 3184 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                   Statistics: Num rows: 32 Data size: 3184 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1
           Statistics: Num rows: 16 Data size: 1592 Basic stats: COMPLETE Column stats: NONE
@@ -1201,18 +1201,18 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 796 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: state (type: string), locid (type: int), 0 (type: int)
+                keys: state (type: string), locid (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 32 Data size: 3184 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int), _col2 (type: bigint)
                   Statistics: Num rows: 32 Data size: 3184 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1
           Statistics: Num rows: 16 Data size: 1592 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/annotate_stats_groupby2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/annotate_stats_groupby2.q.out b/ql/src/test/results/clientpositive/annotate_stats_groupby2.q.out
index ffcb20f..78c4808 100644
--- a/ql/src/test/results/clientpositive/annotate_stats_groupby2.q.out
+++ b/ql/src/test/results/clientpositive/annotate_stats_groupby2.q.out
@@ -105,18 +105,18 @@ STAGE PLANS:
               outputColumnNames: state, country
               Statistics: Num rows: 20 Data size: 200 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: state (type: string), country (type: string), 0 (type: int)
+                keys: state (type: string), country (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 80 Data size: 800 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 80 Data size: 800 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1
           Statistics: Num rows: 40 Data size: 400 Basic stats: COMPLETE Column stats: NONE
@@ -253,25 +253,25 @@ STAGE PLANS:
               outputColumnNames: state, country
               Statistics: Num rows: 20 Data size: 3460 Basic stats: COMPLETE Column stats: COMPLETE
               Group By Operator
-                keys: state (type: string), country (type: string), 0 (type: int)
+                keys: state (type: string), country (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 40 Data size: 7080 Basic stats: COMPLETE Column stats: COMPLETE
+                Statistics: Num rows: 40 Data size: 7240 Basic stats: COMPLETE Column stats: COMPLETE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
-                  Statistics: Num rows: 40 Data size: 7080 Basic stats: COMPLETE Column stats: COMPLETE
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
+                  Statistics: Num rows: 40 Data size: 7240 Basic stats: COMPLETE Column stats: COMPLETE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1
-          Statistics: Num rows: 8 Data size: 1416 Basic stats: COMPLETE Column stats: COMPLETE
+          Statistics: Num rows: 8 Data size: 1448 Basic stats: COMPLETE Column stats: COMPLETE
           pruneGroupingSetId: true
           File Output Operator
             compressed: false
-            Statistics: Num rows: 8 Data size: 1416 Basic stats: COMPLETE Column stats: COMPLETE
+            Statistics: Num rows: 8 Data size: 1448 Basic stats: COMPLETE Column stats: COMPLETE
             table:
                 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
                 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -352,25 +352,25 @@ STAGE PLANS:
               outputColumnNames: state, country
               Statistics: Num rows: 20 Data size: 3460 Basic stats: COMPLETE Column stats: COMPLETE
               Group By Operator
-                keys: state (type: string), country (type: string), 0 (type: int)
+                keys: state (type: string), country (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 80 Data size: 14160 Basic stats: COMPLETE Column stats: COMPLETE
+                Statistics: Num rows: 80 Data size: 14480 Basic stats: COMPLETE Column stats: COMPLETE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
-                  Statistics: Num rows: 80 Data size: 14160 Basic stats: COMPLETE Column stats: COMPLETE
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
+                  Statistics: Num rows: 80 Data size: 14480 Basic stats: COMPLETE Column stats: COMPLETE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1
-          Statistics: Num rows: 8 Data size: 1416 Basic stats: COMPLETE Column stats: COMPLETE
+          Statistics: Num rows: 8 Data size: 1448 Basic stats: COMPLETE Column stats: COMPLETE
           pruneGroupingSetId: true
           File Output Operator
             compressed: false
-            Statistics: Num rows: 8 Data size: 1416 Basic stats: COMPLETE Column stats: COMPLETE
+            Statistics: Num rows: 8 Data size: 1448 Basic stats: COMPLETE Column stats: COMPLETE
             table:
                 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
                 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/cbo_rp_annotate_stats_groupby.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/cbo_rp_annotate_stats_groupby.q.out b/ql/src/test/results/clientpositive/cbo_rp_annotate_stats_groupby.q.out
index 3d92a0d..63ecd8b 100644
--- a/ql/src/test/results/clientpositive/cbo_rp_annotate_stats_groupby.q.out
+++ b/ql/src/test/results/clientpositive/cbo_rp_annotate_stats_groupby.q.out
@@ -304,15 +304,15 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 720 Basic stats: COMPLETE Column stats: COMPLETE
               Group By Operator
-                keys: state (type: string), locid (type: int), '0' (type: string)
+                keys: state (type: string), locid (type: int), '0L' (type: string)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 32 Data size: 5600 Basic stats: COMPLETE Column stats: COMPLETE
+                Statistics: Num rows: 32 Data size: 5632 Basic stats: COMPLETE Column stats: COMPLETE
                 Reduce Output Operator
                   key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: string)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: string), _col1 (type: int)
-                  Statistics: Num rows: 32 Data size: 5600 Basic stats: COMPLETE Column stats: COMPLETE
+                  Statistics: Num rows: 32 Data size: 5632 Basic stats: COMPLETE Column stats: COMPLETE
       Reduce Operator Tree:
         Group By Operator
           keys: KEY._col0 (type: string), KEY._col1 (type: int)
@@ -353,15 +353,15 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 720 Basic stats: COMPLETE Column stats: COMPLETE
               Group By Operator
-                keys: state (type: string), locid (type: int), '0' (type: string)
+                keys: state (type: string), locid (type: int), '0L' (type: string)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 24 Data size: 4200 Basic stats: COMPLETE Column stats: COMPLETE
+                Statistics: Num rows: 24 Data size: 4224 Basic stats: COMPLETE Column stats: COMPLETE
                 Reduce Output Operator
                   key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: string)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: string), _col1 (type: int)
-                  Statistics: Num rows: 24 Data size: 4200 Basic stats: COMPLETE Column stats: COMPLETE
+                  Statistics: Num rows: 24 Data size: 4224 Basic stats: COMPLETE Column stats: COMPLETE
       Reduce Operator Tree:
         Group By Operator
           keys: KEY._col0 (type: string), KEY._col1 (type: int)
@@ -402,15 +402,15 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 720 Basic stats: COMPLETE Column stats: COMPLETE
               Group By Operator
-                keys: state (type: string), locid (type: int), '0' (type: string)
+                keys: state (type: string), locid (type: int), '0L' (type: string)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 24 Data size: 4200 Basic stats: COMPLETE Column stats: COMPLETE
+                Statistics: Num rows: 24 Data size: 4224 Basic stats: COMPLETE Column stats: COMPLETE
                 Reduce Output Operator
                   key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: string)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: string), _col1 (type: int)
-                  Statistics: Num rows: 24 Data size: 4200 Basic stats: COMPLETE Column stats: COMPLETE
+                  Statistics: Num rows: 24 Data size: 4224 Basic stats: COMPLETE Column stats: COMPLETE
       Reduce Operator Tree:
         Group By Operator
           keys: KEY._col0 (type: string), KEY._col1 (type: int)
@@ -451,15 +451,15 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 720 Basic stats: COMPLETE Column stats: COMPLETE
               Group By Operator
-                keys: state (type: string), locid (type: int), '0' (type: string)
+                keys: state (type: string), locid (type: int), '0L' (type: string)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 8 Data size: 1400 Basic stats: COMPLETE Column stats: COMPLETE
+                Statistics: Num rows: 8 Data size: 1408 Basic stats: COMPLETE Column stats: COMPLETE
                 Reduce Output Operator
                   key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: string)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: string), _col1 (type: int)
-                  Statistics: Num rows: 8 Data size: 1400 Basic stats: COMPLETE Column stats: COMPLETE
+                  Statistics: Num rows: 8 Data size: 1408 Basic stats: COMPLETE Column stats: COMPLETE
       Reduce Operator Tree:
         Group By Operator
           keys: KEY._col0 (type: string), KEY._col1 (type: int)
@@ -500,15 +500,15 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 720 Basic stats: COMPLETE Column stats: COMPLETE
               Group By Operator
-                keys: state (type: string), locid (type: int), '0' (type: string)
+                keys: state (type: string), locid (type: int), '0L' (type: string)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 16 Data size: 2800 Basic stats: COMPLETE Column stats: COMPLETE
+                Statistics: Num rows: 16 Data size: 2816 Basic stats: COMPLETE Column stats: COMPLETE
                 Reduce Output Operator
                   key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: string)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: string), _col1 (type: int)
-                  Statistics: Num rows: 16 Data size: 2800 Basic stats: COMPLETE Column stats: COMPLETE
+                  Statistics: Num rows: 16 Data size: 2816 Basic stats: COMPLETE Column stats: COMPLETE
       Reduce Operator Tree:
         Group By Operator
           keys: KEY._col0 (type: string), KEY._col1 (type: int)
@@ -549,15 +549,15 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 720 Basic stats: COMPLETE Column stats: COMPLETE
               Group By Operator
-                keys: state (type: string), locid (type: int), '0' (type: string)
+                keys: state (type: string), locid (type: int), '0L' (type: string)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 24 Data size: 4200 Basic stats: COMPLETE Column stats: COMPLETE
+                Statistics: Num rows: 24 Data size: 4224 Basic stats: COMPLETE Column stats: COMPLETE
                 Reduce Output Operator
                   key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: string)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: string), _col1 (type: int)
-                  Statistics: Num rows: 24 Data size: 4200 Basic stats: COMPLETE Column stats: COMPLETE
+                  Statistics: Num rows: 24 Data size: 4224 Basic stats: COMPLETE Column stats: COMPLETE
       Reduce Operator Tree:
         Group By Operator
           keys: KEY._col0 (type: string), KEY._col1 (type: int)
@@ -598,15 +598,15 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 720 Basic stats: COMPLETE Column stats: COMPLETE
               Group By Operator
-                keys: state (type: string), locid (type: int), '0' (type: string)
+                keys: state (type: string), locid (type: int), '0L' (type: string)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 32 Data size: 5600 Basic stats: COMPLETE Column stats: COMPLETE
+                Statistics: Num rows: 32 Data size: 5632 Basic stats: COMPLETE Column stats: COMPLETE
                 Reduce Output Operator
                   key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: string)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: string), _col1 (type: int)
-                  Statistics: Num rows: 32 Data size: 5600 Basic stats: COMPLETE Column stats: COMPLETE
+                  Statistics: Num rows: 32 Data size: 5632 Basic stats: COMPLETE Column stats: COMPLETE
       Reduce Operator Tree:
         Group By Operator
           keys: KEY._col0 (type: string), KEY._col1 (type: int)
@@ -696,15 +696,15 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 720 Basic stats: COMPLETE Column stats: COMPLETE
               Group By Operator
-                keys: state (type: string), locid (type: int), '0' (type: string)
+                keys: state (type: string), locid (type: int), '0L' (type: string)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 16 Data size: 2800 Basic stats: COMPLETE Column stats: COMPLETE
+                Statistics: Num rows: 16 Data size: 2816 Basic stats: COMPLETE Column stats: COMPLETE
                 Reduce Output Operator
                   key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: string)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: string), _col1 (type: int)
-                  Statistics: Num rows: 16 Data size: 2800 Basic stats: COMPLETE Column stats: COMPLETE
+                  Statistics: Num rows: 16 Data size: 2816 Basic stats: COMPLETE Column stats: COMPLETE
       Reduce Operator Tree:
         Group By Operator
           keys: KEY._col0 (type: string), KEY._col1 (type: int)
@@ -794,7 +794,7 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 796 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: state (type: string), locid (type: int), '0' (type: string)
+                keys: state (type: string), locid (type: int), '0L' (type: string)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 32 Data size: 3184 Basic stats: COMPLETE Column stats: NONE
@@ -843,7 +843,7 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 796 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: state (type: string), locid (type: int), '0' (type: string)
+                keys: state (type: string), locid (type: int), '0L' (type: string)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 24 Data size: 2388 Basic stats: COMPLETE Column stats: NONE
@@ -892,7 +892,7 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 796 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: state (type: string), locid (type: int), '0' (type: string)
+                keys: state (type: string), locid (type: int), '0L' (type: string)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 24 Data size: 2388 Basic stats: COMPLETE Column stats: NONE
@@ -941,7 +941,7 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 796 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: state (type: string), locid (type: int), '0' (type: string)
+                keys: state (type: string), locid (type: int), '0L' (type: string)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 8 Data size: 796 Basic stats: COMPLETE Column stats: NONE
@@ -990,7 +990,7 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 796 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: state (type: string), locid (type: int), '0' (type: string)
+                keys: state (type: string), locid (type: int), '0L' (type: string)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 16 Data size: 1592 Basic stats: COMPLETE Column stats: NONE
@@ -1039,7 +1039,7 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 796 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: state (type: string), locid (type: int), '0' (type: string)
+                keys: state (type: string), locid (type: int), '0L' (type: string)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 24 Data size: 2388 Basic stats: COMPLETE Column stats: NONE
@@ -1088,7 +1088,7 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 796 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: state (type: string), locid (type: int), '0' (type: string)
+                keys: state (type: string), locid (type: int), '0L' (type: string)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 32 Data size: 3184 Basic stats: COMPLETE Column stats: NONE
@@ -1186,7 +1186,7 @@ STAGE PLANS:
               outputColumnNames: state, locid
               Statistics: Num rows: 8 Data size: 796 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: state (type: string), locid (type: int), '0' (type: string)
+                keys: state (type: string), locid (type: int), '0L' (type: string)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 32 Data size: 3184 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/groupby_cube1.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/groupby_cube1.q.out b/ql/src/test/results/clientpositive/groupby_cube1.q.out
index e5ece81..37b8c62 100644
--- a/ql/src/test/results/clientpositive/groupby_cube1.q.out
+++ b/ql/src/test/results/clientpositive/groupby_cube1.q.out
@@ -37,20 +37,20 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count()
-                keys: key (type: string), val (type: string), 0 (type: int)
+                keys: key (type: string), val (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                   value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
@@ -96,20 +96,20 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count()
-                keys: key (type: string), val (type: string), 0 (type: int)
+                keys: key (type: string), val (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                   value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
@@ -181,25 +181,25 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count()
-                keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+                keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                   value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col2, _col3
           Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
           Select Operator
-            expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int), _col3 (type: bigint)
+            expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint), _col3 (type: bigint)
             outputColumnNames: _col0, _col1, _col2, _col3
             Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
             File Output Operator
@@ -265,19 +265,19 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count(DISTINCT val)
-                keys: key (type: string), 0 (type: int), val (type: string)
+                keys: key (type: string), 0 (type: bigint), val (type: string)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: string)
+                  key expressions: _col0 (type: string), _col1 (type: bigint), _col2 (type: string)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: bigint)
                   Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(DISTINCT KEY._col2:0._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col2
           Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
@@ -338,12 +338,12 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count()
-                keys: key (type: string), val (type: string), 0 (type: int)
+                keys: key (type: string), val (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
                   Map-reduce partition columns: rand() (type: double)
                   Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
@@ -351,7 +351,7 @@ STAGE PLANS:
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: partials
           outputColumnNames: _col0, _col1, _col2, _col3
           Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
@@ -367,7 +367,7 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               sort order: +++
               Map-reduce partition columns: _col0 (type: string), _col1 (type: string)
               Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
@@ -375,7 +375,7 @@ STAGE PLANS:
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: final
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
@@ -448,19 +448,19 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count(DISTINCT val)
-                keys: key (type: string), 0 (type: int), val (type: string)
+                keys: key (type: string), 0 (type: bigint), val (type: string)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: string)
+                  key expressions: _col0 (type: string), _col1 (type: bigint), _col2 (type: string)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: string)
                   Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(DISTINCT KEY._col2:0._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: bigint)
           mode: partials
           outputColumnNames: _col0, _col1, _col2
           Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
@@ -476,7 +476,7 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col0 (type: string), _col1 (type: int)
+              key expressions: _col0 (type: string), _col1 (type: bigint)
               sort order: ++
               Map-reduce partition columns: _col0 (type: string)
               Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
@@ -484,7 +484,7 @@ STAGE PLANS:
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: bigint)
           mode: final
           outputColumnNames: _col0, _col2
           Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
@@ -572,12 +572,12 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count(1)
-                keys: key (type: string), val (type: string), 0 (type: int)
+                keys: key (type: string), val (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
                   Map-reduce partition columns: rand() (type: double)
                   Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
@@ -588,7 +588,7 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: sum(1)
-                keys: key (type: string), val (type: string), 0 (type: int)
+                keys: key (type: string), val (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
@@ -601,7 +601,7 @@ STAGE PLANS:
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: partials
           outputColumnNames: _col0, _col1, _col2, _col3
           Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
@@ -617,7 +617,7 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               sort order: +++
               Map-reduce partition columns: _col0 (type: string), _col1 (type: string)
               Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
@@ -625,7 +625,7 @@ STAGE PLANS:
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: final
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
@@ -711,7 +711,7 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               sort order: +++
               Map-reduce partition columns: rand() (type: double)
               Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
@@ -719,7 +719,7 @@ STAGE PLANS:
       Reduce Operator Tree:
         Group By Operator
           aggregations: sum(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: partials
           outputColumnNames: _col0, _col1, _col2, _col3
           Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
@@ -735,7 +735,7 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               sort order: +++
               Map-reduce partition columns: _col0 (type: string), _col1 (type: string)
               Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
@@ -743,7 +743,7 @@ STAGE PLANS:
       Reduce Operator Tree:
         Group By Operator
           aggregations: sum(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: final
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/groupby_cube_multi_gby.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/groupby_cube_multi_gby.q.out b/ql/src/test/results/clientpositive/groupby_cube_multi_gby.q.out
index 9a6457c..e6126ab 100644
--- a/ql/src/test/results/clientpositive/groupby_cube_multi_gby.q.out
+++ b/ql/src/test/results/clientpositive/groupby_cube_multi_gby.q.out
@@ -52,21 +52,21 @@ STAGE PLANS:
               outputColumnNames: key, value
               Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: key (type: string), value (type: string), 0 (type: int)
+                keys: key (type: string), value (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 2000 Data size: 21248 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 2000 Data size: 21248 Basic stats: COMPLETE Column stats: NONE
             Select Operator
               expressions: key (type: string), value (type: string)
               outputColumnNames: key, value
               Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: key (type: string), value (type: string), 0 (type: int)
+                keys: key (type: string), value (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 1000 Data size: 10624 Basic stats: COMPLETE Column stats: NONE
@@ -78,7 +78,7 @@ STAGE PLANS:
                       serde: org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col2
           Statistics: Num rows: 1000 Data size: 10624 Basic stats: COMPLETE Column stats: NONE
@@ -163,13 +163,13 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               sort order: +++
-              Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               Statistics: Num rows: 1000 Data size: 10624 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1
           Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/groupby_grouping_id3.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/groupby_grouping_id3.q.out b/ql/src/test/results/clientpositive/groupby_grouping_id3.q.out
index f13b6e5..ac43413 100644
--- a/ql/src/test/results/clientpositive/groupby_grouping_id3.q.out
+++ b/ql/src/test/results/clientpositive/groupby_grouping_id3.q.out
@@ -45,7 +45,7 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count()
-                keys: key (type: int), value (type: int), 0 (type: int)
+                keys: key (type: int), value (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
@@ -53,21 +53,21 @@ STAGE PLANS:
                   predicate: (_col2 = 1) (type: boolean)
                   Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
                   Reduce Output Operator
-                    key expressions: _col0 (type: int), _col1 (type: int), 1 (type: int)
+                    key expressions: _col0 (type: int), _col1 (type: int), 1 (type: bigint)
                     sort order: +++
-                    Map-reduce partition columns: _col0 (type: int), _col1 (type: int), 1 (type: int)
+                    Map-reduce partition columns: _col0 (type: int), _col1 (type: int), 1 (type: bigint)
                     Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
                     value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: int), KEY._col1 (type: int), 1 (type: int)
+          keys: KEY._col0 (type: int), KEY._col1 (type: int), 1 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
           pruneGroupingSetId: true
           Select Operator
-            expressions: _col0 (type: int), _col1 (type: int), 1 (type: int), _col3 (type: bigint)
+            expressions: _col0 (type: int), _col1 (type: int), 1 (type: bigint), _col3 (type: bigint)
             outputColumnNames: _col0, _col1, _col2, _col3
             Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
             File Output Operator
@@ -135,20 +135,20 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count()
-                keys: _col0 (type: int), _col1 (type: int), 0 (type: int)
+                keys: _col0 (type: int), _col1 (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
                   value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col2, _col3
           Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
@@ -156,7 +156,7 @@ STAGE PLANS:
             predicate: (_col2 = 1) (type: boolean)
             Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
             Select Operator
-              expressions: _col0 (type: int), _col1 (type: int), 1 (type: int), _col3 (type: bigint)
+              expressions: _col0 (type: int), _col1 (type: int), 1 (type: bigint), _col3 (type: bigint)
               outputColumnNames: _col0, _col1, _col2, _col3
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/groupby_grouping_sets1.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/groupby_grouping_sets1.q.out b/ql/src/test/results/clientpositive/groupby_grouping_sets1.q.out
index d70f065..62fc9fb 100644
--- a/ql/src/test/results/clientpositive/groupby_grouping_sets1.q.out
+++ b/ql/src/test/results/clientpositive/groupby_grouping_sets1.q.out
@@ -53,20 +53,20 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 360 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count()
-                keys: a (type: string), b (type: string), 0 (type: int)
+                keys: a (type: string), b (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
                   value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 2 Data size: 720 Basic stats: COMPLETE Column stats: NONE
@@ -137,20 +137,20 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 360 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count()
-                keys: a (type: string), b (type: string), 0 (type: int)
+                keys: a (type: string), b (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
                   value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 2 Data size: 720 Basic stats: COMPLETE Column stats: NONE
@@ -221,20 +221,20 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 360 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count()
-                keys: a (type: string), b (type: string), 0 (type: int)
+                keys: a (type: string), b (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
                   value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 2 Data size: 720 Basic stats: COMPLETE Column stats: NONE
@@ -305,20 +305,20 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 360 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count()
-                keys: a (type: string), b (type: string), 0 (type: int)
+                keys: a (type: string), b (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 2 Data size: 720 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 2 Data size: 720 Basic stats: COMPLETE Column stats: NONE
                   value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 1 Data size: 360 Basic stats: COMPLETE Column stats: NONE
@@ -384,18 +384,18 @@ STAGE PLANS:
               outputColumnNames: a, b, c
               Statistics: Num rows: 1 Data size: 360 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: a (type: string), b (type: string), c (type: string), 0 (type: int)
+                keys: a (type: string), b (type: string), c (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 3 Data size: 1080 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: bigint)
                   sort order: ++++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: bigint)
                   Statistics: Num rows: 3 Data size: 1080 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: string), KEY._col3 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: string), KEY._col3 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col2
           Statistics: Num rows: 1 Data size: 360 Basic stats: COMPLETE Column stats: NONE


[07/12] hive git commit: HIVE-18359: Extend grouping set limits from int to long (Prasanth Jayachandran reviewed by Jesus Camacho Rodriguez)

Posted by pr...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/llap/cte_1.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/cte_1.q.out b/ql/src/test/results/clientpositive/llap/cte_1.q.out
index ddef9db..d7bc062 100644
--- a/ql/src/test/results/clientpositive/llap/cte_1.q.out
+++ b/ql/src/test/results/clientpositive/llap/cte_1.q.out
@@ -671,12236 +671,12236 @@ POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alltypesorc
 #### A masked pattern was here ####
 NULL	NULL	2735.0
-NULL	2x14G717LqcPA7Ic5	NULL
-NULL	64Vxl8QS	NULL
-NULL	Ul085f84S33Xd32u	NULL
-NULL	b062i16kuwQerAvO5D2cBp3	NULL
-NULL	efnt3	NULL
-NULL	nlVvHbKNkU5I04XtkP6	NULL
+NULL	3Ke6A1U847tV73	NULL
+NULL	45ja5suO	NULL
+NULL	4fNIOF6ul	NULL
+NULL	62vmI4	NULL
+NULL	84O1C65C5k88bI7i4	NULL
+NULL	AmPHc4NUg3HwJ	NULL
+NULL	LR2AKy0dPt8vFdIV5760jriw	NULL
+NULL	Oye1OEeN	NULL
+NULL	THog3nx6pd1Bb	NULL
+NULL	Xw6nBW1A205Rv7rE	NULL
+NULL	Yssb82rdfylDv4K	NULL
+NULL	a7GT5lui7rc	NULL
+NULL	fVgv88OvQR1BB7toX	NULL
+NULL	gC1t8pc	NULL
 NULL	p61uO61KDWhQ8b648ac2xyFO	NULL
-NULL	r4jOncC4N6ov2LdxmkWAfJ7J	NULL
-NULL	wa73jb5WDRp2le0wf	NULL
 NULL	y605nF0K3mMoM75j	NULL
+-1073279343	NULL	NULL
 -1073279343	oj1YrV5Wa	NULL
 -1073051226	NULL	-7382.0
--1071480828	NULL	NULL
--1071363017	NULL	NULL
--1070551679	iUR3Q	-947.0
+-1072081801	dPkN74F7	8373.0
+-1072076362	NULL	-5470.0
+-1071363017	Anj0oF	NULL
+-1070883071	0ruyd6Y50JpdGRf6HqD	-741.0
+-1070551679	NULL	-947.0
 -1069109166	vW36C22KS75R	8390.0
--1069097390	B553840U1H2b1M06l6N81	NULL
+-1069103950	NULL	NULL
 -1068336533	PUn1YVC	NULL
--1068206466	NULL	NULL
--1068206466	F3u1yJaQywofxCCM4v4jScY	NULL
--1067874703	us1gH35lcpND	NULL
+-1067874703	NULL	NULL
 -1067683781	IbgbUvP5	NULL
--1065775394	NULL	NULL
--1065117869	jWVP6gOkq12mdh	2538.0
--1064949302	8u8tR858jC01y8Ft66nYRnb6	6454.0
--1064623720	NULL	NULL
--1061057428	NULL	-1085.0
--1060990068	NULL	NULL
+-1067386090	HBtg2r6pR16VC73	-3977.0
+-1066922682	NULL	-9987.0
+-1063745167	NULL	NULL
+-1063745167	L47nqo	NULL
+-1063164541	1NydRD5y5o3	NULL
+-1062973443	144eST755Fvf6nLi74SK	10541.0
+-1061614989	61Oa7M7Pl17d7auyXra6	-4234.0
+-1061509617	NULL	NULL
+-1060624784	NULL	NULL
 -1060624784	Das7E73	NULL
--1059047258	e2B6K7FJH77Y4i7h6B43U	12452.0
--1055669248	U7r33N1GT	2570.0
+-1058897881	NULL	NULL
+-1056684111	NULL	13991.0
+-1056684111	7K7y062ndg5aRSBsx	13991.0
+-1055945837	Qc722Gg4280	13690.0
+-1055669248	NULL	2570.0
 -1055185482	l20vn2Awc	NULL
--1055076545	NULL	NULL
--1055076545	5l4yXhHX0Y1jgmw4	NULL
--1055040773	1t2c87D721uxcFhn2	NULL
 -1054958082	im6VJRHh5EGfS7FVhw	NULL
 -1054849160	NULL	NULL
--1053385587	NULL	14504.0
--1051223597	7i7FJDchQc1	NULL
--1050165799	hA4lNb	8634.0
--1049984461	qUY8Rl34NWRg	NULL
--1048097158	NULL	NULL
+-1053238077	NULL	-3704.0
+-1052322972	C60KTh	-7433.0
+-1051223597	NULL	NULL
+-1050388484	B26L6Qp134xe0wy0Si	NULL
+-1048934049	NULL	-524.0
+-1046913669	NULL	NULL
 -1046766350	s4LPR6Bg0j25SWD8	NULL
 -1046399794	NULL	4130.0
--1045867222	gdoaNjlr4H8gbNV	-8034.0
--1045737053	NULL	NULL
--1045196363	35lk428d1BN8Qp1M27	-5039.0
--1045181724	NULL	-5706.0
+-1045737053	FGQf6n21ES	NULL
 -1044828205	Ej05nrdc8CVXYu1Axy6W	NULL
+-1044748460	NULL	NULL
 -1044357977	NULL	NULL
--1044357977	nqThW83	NULL
--1044093617	NULL	-3422.0
--1044093617	0Dlv8g24a1Q43	-3422.0
--1043132597	yVj2368XQ64rY25N8jCGSeW	12302.0
+-1043573508	NULL	16216.0
 -1043082182	NULL	9180.0
--1042805968	NULL	5133.0
--1042805968	QUnIT4yAVU	5133.0
--1042396242	NULL	9583.0
--1041734429	NULL	-836.0
--1041391389	NULL	-12970.0
--1041391389	IL6Ct0hm2	-12970.0
--1041353707	25Qky6lf2pt5FP47Mqmb	NULL
--1039762548	ki4pfORasIn14cM2G	-3802.0
--1039715238	NULL	NULL
--1039495786	NULL	NULL
--1037297218	NULL	10880.0
--1037297218	lXhthv3GoliXESKJV703	10880.0
--1037188286	NULL	5144.0
--1036025370	8dDe31b5	NULL
--1035148422	NULL	7228.0
--1035148422	3GU0iMHI286JAUnA0f	7228.0
--1033919841	NULL	NULL
--1031797254	sKEJ8vy8kHWK7D	-326.0
--1031594611	NULL	NULL
--1031594611	dFE1VTv3P5WDi20YecUuv7	NULL
--1030993426	76VqjvX6hmnmvmDWOa8wi8	NULL
--1030634297	2060qh1mQdiLrqGg0Jc5K	15011.0
+-1042712895	iD2KrmBUbvNjuhHR2r	9296.0
+-1042396242	3E1ynn7EtEFXaiQ772b86gVL	9583.0
+-1039776293	NULL	13704.0
+-1039637549	KH8n8pUDpPj0hPA6	NULL
+-1039514580	NULL	NULL
+-1039355325	r17jGvc7gR	NULL
+-1039292315	07488p5vb4d2	NULL
+-1038649744	yl7A1QkSCYHui8cwp4b1OW43	NULL
+-1037086954	65n3amk86ayb7	4048.0
+-1036396564	NULL	-14238.0
+-1034002107	aa6sWJ28wU1wvv6it	13650.0
+-1032255988	NULL	NULL
+-1032115017	yc2pX4jTI0xKh5xTys	NULL
+-1031230441	NULL	-4561.0
+-1031230441	iF1fQ7gn0qgpH7HKS5N3	-4561.0
 -1029979211	NULL	NULL
--1029267410	in6jU6Ke8n	-5497.0
+-1029879672	NULL	NULL
+-1029267410	NULL	-5497.0
+-1027845003	NULL	15332.0
 -1026479711	806vT7T4G4Y4	-2414.0
--1026019772	T6Al7d0hN770XB65M0F2g	NULL
--1025914257	NULL	-4405.0
--1025914257	EEr7sgEv4lqC76GKb4LI7p	-4405.0
--1024159115	3a7WcjS0uc0bqUmPmu	-1885.0
+-1024321144	NULL	NULL
 -1023919084	NULL	NULL
+-1023919084	3cT82	NULL
+-1023644243	NULL	NULL
 -1023644243	Cxas82oA2hX884xmYQ2jrpDX	NULL
--1023165277	NULL	NULL
--1022326946	C1E8E3vVL16j	NULL
--1021742369	yOnsF4mFp	NULL
--1021337976	NULL	-11929.0
--1021337976	U4o3sWAqLydj0y	-11929.0
--1020466796	NULL	NULL
--1020374418	NULL	9766.0
--1020374418	1aI03p	9766.0
+-1023481424	77jNF	2306.0
+-1022326946	NULL	NULL
+-1020464283	xknXeDuW	-5126.0
 -1020120834	NULL	NULL
 -1020120834	6Ob80MBP350rI275	NULL
--1019393508	05XlEbko5Dd31Yw87y7V	4274.0
--1017122654	NULL	-12826.0
--1017122654	mCoC5T	-12826.0
--1016986173	6MS6smd0Rcn3ld	9897.0
--1016835101	NULL	NULL
--1016835101	Md2lY0T7reBu	NULL
--1016256312	NULL	-6216.0
--1015510885	NULL	NULL
--1013988078	NULL	3944.0
--1013781936	hnq6hkAfna	5926.0
--1013659284	NULL	NULL
--1009862371	NULL	-410.0
+-1019836360	8vFbY6BM35cX2G	-872.0
+-1019324384	NULL	NULL
+-1018959984	NULL	6882.0
+-1016801620	NULL	NULL
+-1016801620	8vKN51JNM7	NULL
+-1016704824	NULL	NULL
+-1015614511	NULL	-2849.0
+-1015614511	j3LaR1p1e2	-2849.0
+-1015510885	Kw7fOuw4DHeyXe2yg	NULL
+-1015272448	jTQ68531mP	NULL
+-1011976278	LxB3GrxHyeem1fekvgm	13126.0
+-1011024551	NULL	NULL
+-1011024551	cTWO4kFIrl1n	NULL
+-1010636986	NULL	NULL
+-1009581584	NULL	NULL
+-1009581584	I884R85q1kn	NULL
 -1009352973	NULL	-6439.0
--1009173337	NULL	-2985.0
+-1009299079	t5p3LN7q	-2596.0
+-1008549738	NULL	1308.0
 -1008498471	NULL	NULL
--1008498471	8uc06Qq7RP2P1RAf	NULL
+-1007972409	NULL	14665.0
 -1007972409	QRofyh6UgWdm	14665.0
--1007815487	IpyrlcegF4443KoFVNX	NULL
--1007552849	NULL	2108.0
--1007097729	r8564D7t	NULL
--1005204676	NULL	NULL
+-1007835480	NULL	NULL
+-1006411472	hQAra	14460.0
+-1005155523	1062158y	NULL
 -1004894301	NULL	676.0
--1004803191	Xf1MhqkA5n6	8058.0
--1004604371	NULL	6617.0
--1004604371	2618CM	6617.0
+-1004803191	NULL	8058.0
 -1003938647	R04RF7qkQ8Gn1PPd33pU6	6637.0
+-1003789565	NULL	NULL
+-1003789565	dq1Ji5vGb4GVow42	NULL
 -1003663525	mPp7oQ4Adp2f7Hl82	NULL
--1003653258	36g21Q	384.0
 -1003461762	NULL	NULL
 -1002568394	Vpsyy3y3607I45wt80mt8v	5012.0
--1002435712	G6KW4uOD55dfWK	NULL
+-1002498271	NULL	NULL
+-1002350795	UD71663I2qu1c5pqA2Kf1	-7893.0
 -1002277189	gGFiuV	10937.0
--1001510525	b4R0JR2yv3Gk30228	10887.0
--1001217298	NULL	-14171.0
--1000977746	NULL	11602.0
+-1002045753	bjQP6L	8401.0
+-1001487162	UrDe6x72B5ycy	12961.0
 -1000804087	H8LCu4M2u4f1S	NULL
--999783487	NULL	NULL
--998835088	NULL	9182.0
--998835088	327LJ26mRqM	9182.0
--996769125	NULL	-10813.0
--996346808	NULL	NULL
+-999783487	I6Yl6OVpH65i	NULL
+-996912892	NULL	NULL
 -994853271	YNsNwqw8y7D65	NULL
--994634414	PNs6tw6fjOl1yNl1e	-11377.0
+-994526450	Y55ytQtGRN8l58131e	NULL
+-994104389	piK2mt5jDn	NULL
 -993447992	NULL	NULL
--992653997	NULL	NULL
--992454835	NULL	NULL
--991137058	NULL	-3128.0
--990765448	NULL	-2693.0
+-993291633	NULL	NULL
+-992653997	YIxsR	NULL
+-992176092	NULL	7031.0
+-991049363	yif2md2VvY	NULL
 -990765448	Ki4yIh3hXjHn26	-2693.0
--990740632	NULL	NULL
--989969289	UK0lin57gy	-7662.0
--989220156	LAg3ad48X41nC22ThrX4	-70.0
--986848527	YCSg3CF070FDEip2r7djAA	7571.0
--984148230	cklLRY5lqR5bojRXCTaAFg	10015.0
+-989521057	NULL	-10688.0
+-986848527	NULL	7571.0
+-983336429	8U0bLsWq8444DJ5TW	NULL
+-982218899	TBbxkMGlYD17B7d76b7x3	13786.0
 -981689559	iSWa0uvV1O16A3H	-31.0
--981529187	KCaXaJvGKfj1tr	NULL
--980921154	NULL	NULL
--980375431	NULL	NULL
--980375431	mc3NjQOr14RVi	NULL
--978064614	NULL	NULL
+-981501268	NC7F5u31	12800.0
+-980921154	j337j4544rq	NULL
+-980795786	rELQhxExg7NKKs8hS5c	-4843.0
+-980511555	NULL	NULL
+-979388590	ovf0gMXhh2H86Alw2C0	2045.0
 -977661266	NULL	NULL
--977661266	b	NULL
--974429749	NULL	10933.0
--972401405	es103bnsOVpy	NULL
--971594866	2bc3O0wh	-3079.0
--969455852	0Apbh7X08i2JyMK	NULL
--969157542	4Y8NFk7mqmC3	8738.0
+-976688676	NULL	NULL
+-973002254	yHf3d	-13269.0
+-972704111	NULL	-10146.0
+-971543377	NULL	NULL
+-971543377	uN803aW	NULL
+-970918963	suoqdh	NULL
+-969472955	NULL	-11432.0
+-969455852	NULL	NULL
+-969157542	NULL	8738.0
+-968537902	NULL	-7803.0
 -968054937	NULL	14266.0
--967332397	NULL	NULL
--966581785	NULL	5323.0
--966581785	6vl6871LI44R1g1A58lhDH5r	5323.0
--966248336	6255bIgnJx36iq1nNFiQ1	11685.0
--963400769	l1xK7L0L6TjOPrB1tc	NULL
--960321207	NULL	NULL
+-968054937	3l2B8dk37cU2tI73S74Iw	14266.0
+-965597463	NULL	NULL
+-965597463	b0G65a66732y6yE65hQ0	NULL
+-964373678	58dScG1eiYxH	-9013.0
 -960321207	JvGVOip65N3hgA	NULL
--959536113	NULL	183.0
--959536113	6sv3ND7cm7oj62dW5A8ms	183.0
--958189198	NULL	-12313.0
+-959745051	NULL	-5818.0
+-958302213	5d4rPb72As3cr1UU04go8	NULL
+-958189198	B0q1K7dlcKAC46176yc83	-12313.0
+-958046031	NULL	12073.0
 -958046031	ytj7g5W	12073.0
 -957669269	OQk1qTc7L6BHW0IU5cbY	5188.0
--956384224	NULL	-5503.0
--956049586	NULL	-10014.0
--956027484	NULL	NULL
--956005635	NULL	6362.0
--956005635	pkx6Ce4rM6PyWw4q1T	6362.0
--955690983	NULL	-4191.0
+-956049586	Hj3R632OuQwd0r	-10014.0
+-954361618	NULL	-11009.0
+-954361618	8e5DWN6xSnwJyy	-11009.0
+-952682211	NULL	NULL
 -950198887	NULL	NULL
+-950198887	58hP5c4e3S68K72k1tO1Edw	NULL
 -950164694	NULL	NULL
+-949589359	NULL	NULL
 -949589359	6n3S324AM	NULL
--949286785	XWuYuk5qpn5Khs3764E56	NULL
--947302120	NULL	NULL
--947255611	NULL	13661.0
--947250116	NULL	2803.0
--946347591	vfY7008pQEkX2F315E	NULL
--945792347	NULL	1638.0
--943342622	3w6XYq04J0Lb3Sv82eOV2HJ	NULL
--943276546	7PE3Nv5LTl	6206.0
--942970125	7V65Eih84lc86QMJ2O	NULL
--941887337	dIaRCgF47dy7ICv2EWJ4YN	NULL
--941583325	NULL	-10829.0
+-949587513	NULL	NULL
+-946531910	NULL	NULL
+-944227723	03Kvh3FL1P5FN0BY37kHpH	1307.0
+-941887337	NULL	NULL
 -940778067	vjtW5U2e1	NULL
--939175504	NULL	-12288.0
--939175504	J54mWKFYUD081SIe	-12288.0
--938612134	NULL	NULL
--938540627	NULL	NULL
--938412408	NULL	NULL
--935902496	NULL	-3406.0
+-939492022	NULL	NULL
+-939492022	uT5e2	NULL
+-938612134	6bnEapMI6L	NULL
+-938540627	I642k31ww3Dpg87fN41	NULL
+-938297418	G7IJs50P82Y5G4s1nH52Y2j	NULL
+-938136664	Md0yyD6nXB1OBFdM2Gc	NULL
+-936910207	NULL	NULL
+-936910207	ImYiNP1Y0JoBfQLbd	NULL
+-935954054	NULL	NULL
+-935790912	NULL	-12757.0
+-935243511	88Gp8064umWOY	3290.0
 -934621405	NULL	-852.0
--934621405	5OcrJ	-852.0
--932173888	NULL	NULL
+-934037832	NULL	-4583.0
+-932998902	NULL	NULL
 -932173888	0N7O6L1Gg1ja	NULL
--931748444	qNE6PL88c2r64x3FvK	10538.0
--931195659	5y65rNnX4IsiQHRe8327	-12704.0
--930947105	lOyq082EPF1mv7Aldf	7187.0
--930688343	NULL	-8351.0
--930153712	NULL	NULL
--930153712	Jj21024T2xdn6	NULL
--929911781	NULL	-10084.0
--929911781	VWD2O2vD	-10084.0
--928500968	34oSgU32X	NULL
--928315588	NULL	-12244.0
--928315588	6THl7n0OK0Eiq7	-12244.0
--926898562	NULL	-5249.0
--925970696	46uf5iNX	NULL
--925336063	060EnWLmWE4K8Pv	NULL
--924196532	LfUyaaMR2	NULL
+-930947105	NULL	7187.0
+-930924528	NULL	3242.0
+-930286025	NULL	NULL
+-924070723	NULL	NULL
 -923967881	NULL	-11896.0
--923783523	bd6LedV7	-5511.0
--923308739	K27XxFR7JP5b07DPwL	16343.0
--922125566	NULL	NULL
+-923783523	NULL	-5511.0
+-923400421	NULL	NULL
+-923085953	Y452MvjJO04RMqES3O3	15530.0
+-922060433	CHP5367P06dFMPWw23eQ	-15760.0
+-921160274	G0PNHsT6RM4	NULL
+-919606143	NULL	NULL
 -919086142	NULL	-10390.0
--919000494	NULL	-14534.0
--918121938	NULL	-13932.0
--918121938	oVbH3m8HbK1lc7T23YH57C	-13932.0
--917704043	NULL	-10286.0
--917704043	3q4Mex4ok5Wj6j706Vh	-10286.0
--917046030	r3CkPpt24	NULL
--916961534	NULL	NULL
+-918847065	NULL	12969.0
+-917825506	NULL	NULL
 -916961534	x28I3iV5XV870TUy3Fww	NULL
 -916222455	NULL	NULL
--916222455	dG8B5PQ3b85U362G6huu	NULL
+-916043488	BPm3v8Y4	3151.0
+-915948843	631404U8x6HaGp62LP6o	5468.0
 -915663531	NULL	6474.0
--915661374	3VI3qF5L1rHaYfdh	-10967.0
--915640580	HhttPdKp4	NULL
+-915640580	NULL	NULL
 -915397772	NULL	NULL
 -914887396	NULL	NULL
--914258866	833RMHSwWvEg01S	-1639.0
--913679461	NULL	1997.0
 -913679461	V0aUb2c8h6sjlr1EaX5	1997.0
--912111773	NULL	NULL
--911476567	NULL	151.0
--911228872	NULL	NULL
--910580287	NULL	NULL
--909727812	NULL	186.0
--909436335	NULL	-4713.0
+-912375058	NULL	423.0
+-912295013	NULL	NULL
+-911324411	NULL	NULL
+-911324411	0dtVL5IFPf	NULL
+-910451798	W8515aW82L	NULL
 -907260907	oyxhfOgpr	-2565.0
--907171178	NULL	NULL
--907171178	HfdKopI	NULL
 -906869010	NULL	NULL
--904839154	Cgxm73PXWLlvbIm	-11563.0
--904556183	NULL	-8980.0
--904556183	Y6L2obKBywPjBP	-8980.0
--902987695	D2cd5	-2179.0
--901934849	NULL	NULL
--901934849	6tH7O0gw0gJ	NULL
--901668129	NULL	NULL
+-905885890	NULL	14557.0
+-905885890	Holgr1pin	14557.0
+-904482179	NULL	NULL
+-904482179	k3GuA6TkIg322clu8v55qt	NULL
+-904319033	puBJkwCpLJ7W3O144W	-14585.0
 -901668129	P3p570gQ8	NULL
--900785703	khbfu5Ui5SQ88sCkT05Vq	NULL
--900583154	1sJei0Gh	NULL
--899422227	NULL	NULL
--898241885	NULL	NULL
--896721091	NULL	-5772.0
--896629175	10	-13008.0
+-900785703	NULL	NULL
+-900044062	NULL	NULL
+-899756697	NULL	NULL
+-899756697	5nDHTQtR7	NULL
+-899385340	NULL	NULL
 -895220143	Xtw4eM002sS1101p	NULL
--894717108	GPijCx2T8HpOF1dN6	NULL
--894716315	NULL	-16379.0
 -893936088	j5QBwD36Ay5	NULL
--892021712	NULL	NULL
--891360004	NULL	NULL
--889347475	NULL	-15020.0
--889199554	BWiKbU8s3	10147.0
+-892924454	NULL	NULL
+-892924454	akfWVGu2g0io	NULL
+-891685715	G3a6E0Mll	NULL
+-891316721	NULL	-16030.0
+-888580429	NULL	-11781.0
 -888269444	NULL	NULL
--888269444	F13clAHtHaUN2t6wLxE7S3T	NULL
--885862812	NULL	11253.0
--884671420	QbGMK	NULL
--883321517	RJsFsi3a85svGBfT8	NULL
--882306033	NULL	6798.0
--882279083	NULL	NULL
+-887750610	NULL	NULL
+-886426182	0i88xYq3gx1nW4vKjp7vBp3	NULL
+-885788893	LX6QHG6sEmBAIbA6e6Am24	NULL
+-885777373	NULL	NULL
+-885777373	F3wAY4D4XxYt	NULL
+-885024586	NULL	NULL
+-884913446	NULL	NULL
+-882327854	NULL	6348.0
+-882306033	3h01b8LfJ812JV4gwhfT8u	6798.0
 -882279083	BYD32YqIWlOgNpL	NULL
--881691043	NULL	6262.0
--879467959	NULL	-15727.0
--878138057	NULL	8128.0
+-881630661	NULL	NULL
+-878577676	ea23p2penJ5W5T4	NULL
+-877935440	mLcj2Cd6L317mcE8Wyv5	NULL
 -877904231	NULL	NULL
+-876398260	NULL	NULL
 -876398260	2kechLGLtV1b2FK6h	NULL
+-876146622	dQsIgL	2624.0
 -875527384	NULL	NULL
--875176385	2dU734cvN0P2k65CE	NULL
--874869587	XGUO2CP2gvDb	3540.0
+-874869587	NULL	3540.0
 -874250037	NULL	-10928.0
--873326413	NULL	NULL
+-874250037	K3imEW3S7DRihILRDg7qq	-10928.0
 -873076557	NULL	14197.0
--871906906	NULL	-13617.0
+-873076557	m1r44v7Vm6O6Et2	14197.0
+-871945058	lcL6t	NULL
 -871729045	7cyjB646NeRKiJ2	14015.0
--871616990	yfR36R70W0G1KV4dmi1	-15590.0
--870425713	NULL	-5903.0
+-871616990	NULL	-15590.0
+-871053717	NULL	15217.0
+-869486135	NULL	NULL
 -868817933	NULL	NULL
--866979144	NULL	-4050.0
--866979144	oX8e2n7518CMTFQP	-4050.0
--865393033	yujO07KWj	15600.0
--864283055	NULL	NULL
--863132856	NULL	-7645.0
--862663154	NULL	-10288.0
--861976705	Q282L11WWFni6av8FGn	13894.0
--861754250	NULL	NULL
--861754250	74aYA3Gbe0GnVm6lR3Vjh	NULL
--860437234	Fb2W1r24opqN8m6571p	-16300.0
--860076303	LBaRLg3	-6204.0
+-867244616	NULL	-7246.0
+-865393033	NULL	15600.0
+-865283615	NULL	-7691.0
+-863937148	vUum3jv	NULL
+-863239524	NULL	NULL
+-861509703	5tdqo738BN	NULL
+-861480849	NULL	8068.0
+-859441069	NULL	804.0
 -859441069	01JwN1NVt1HU3sW3	804.0
--857698490	SeT3MaHfQ2	NULL
--857484124	65NJ5u6TD716OP4hB	NULL
+-857251816	II1600yobW7p	NULL
 -854749761	NULL	NULL
 -854062357	NULL	NULL
--854062357	2j2W3xc42VkSq4Nh	NULL
 -853693520	NULL	NULL
 -853174251	kf0sFoH0CK1HEIOTntq	-8708.0
+-853118632	er5IUhd505r0lT6sc20Tef5q	NULL
 -852864663	NULL	NULL
--852864663	bMKsgu5OdWu4vjTa1nt	NULL
+-852228124	563414Ge0cqfJ8v5SaIQ2W3j	-7170.0
+-851067861	NULL	NULL
 -851067861	lD0h1L8852501n	NULL
--850655056	35nkObNsO2p045cJ3	270.0
--850434394	4eWh0BTSBEu2	NULL
--850094446	8Bshk4eu870M3VyJ8c4D1upr	NULL
--848947717	NULL	NULL
--848015950	NULL	NULL
--847982475	NULL	NULL
--846295151	MJXhdk7vIa46PIHO5R67oc	-11227.0
--845450039	HG52N6amN	NULL
+-850295959	NULL	NULL
+-850094446	NULL	NULL
+-849536850	NULL	NULL
+-849536850	U3MM60y4t4Ykm	NULL
+-849286968	U83eH0Y8P1	NULL
+-847982475	0A2k346GBQ	NULL
+-847027327	NULL	7125.0
+-846295151	NULL	-11227.0
+-846105768	EPCRx8ObNv51rOF	NULL
 -845351824	1WRcDois5	-11392.0
+-844012686	NULL	1681.0
 -844012686	3U6OMM3	1681.0
--843407989	NULL	NULL
--843407989	wLm0KO7A8v2S88GbFqMvP4	NULL
--841726321	dLYpl55rytQl5	-4011.0
--841119873	NULL	NULL
--840060695	NULL	3642.0
--840060695	wwp1nVv5UU85	3642.0
--838810013	NULL	NULL
--838810013	N016jPED08o	NULL
--837529554	yAl0UQdXg0	NULL
--837491676	NULL	-5701.0
--835897529	NULL	NULL
--834997594	NULL	NULL
--834792062	NULL	NULL
--833225522	f448c4T81BR	NULL
--831789704	HnxkMvjEL0rF	NULL
--831527643	NULL	-4242.0
--831527643	mo7jS24bQ1gHL83xV1h	-4242.0
--831072496	NULL	-14674.0
--830792891	a	4991.0
--830610139	NULL	NULL
--830330452	NULL	-3056.0
--830330452	x1j2lFY5YIM5	-3056.0
--829224292	M7xB374ixGAp	NULL
--828175356	NULL	5679.0
--827490071	CbbC4f5L6l3L6k	-28.0
--827212561	NULL	NULL
--826698716	NULL	-7554.0
--824231957	NULL	571.0
+-839336166	r5osh2m507Ot387emvDxNY	NULL
+-839128780	NULL	NULL
+-836821859	3tARUFE5DqTe7	NULL
+-835885621	IQnp6a50KF	NULL
+-833770179	NULL	-10682.0
+-833770179	NEK1MY7NTS36Ov4FI7xQx	-10682.0
+-831468557	5ealv0e6tmDnoS0bOmX	NULL
+-830255911	NULL	-15550.0
+-830255911	s0v64CJR22531	-15550.0
+-829660206	V78Fw1q	-269.0
+-829429490	DJxhgDD0mIQeDgs8	NULL
+-829409877	NULL	NULL
+-826698716	sUPw866pq	-7554.0
+-825630453	NULL	NULL
+-824231957	pCP7Qwk2d1i5vBo	571.0
 -823911743	NULL	9528.0
--823391707	NULL	NULL
+-823911743	W4GLKnA2Nwk0HJ	9528.0
+-823391707	YXy2ny	NULL
+-822796861	NULL	4980.0
 -822641109	126aSR	-1988.0
 -822105069	HN3I58	NULL
--820979485	x8RcAb7i5eeGulx4U200AN8F	NULL
--820334107	NULL	-11044.0
--818322129	NULL	-8814.0
+-821479281	OA8N5i1UCdUv87i	NULL
+-820082961	NULL	NULL
+-820082961	nuKKHi	NULL
+-819686939	d77tW1Y01AT7U	-15267.0
+-819657767	NULL	-14640.0
+-819152895	NULL	NULL
 -818322129	8hMHl64qhfWSdC	-8814.0
--817390578	t18Qu	NULL
--816466475	NULL	NULL
--816457176	Dk6tb8PWF643qyp258O2	NULL
+-816258769	NkGnA	NULL
+-816219598	SMeUi5ykXo0Vi6I	-6913.0
 -815431072	NULL	3658.0
 -815431072	5RyN2I4gSo	3658.0
--815246045	NULL	863.0
--815145125	KW3ODiKfbW3fS03W625w0	-1050.0
+-815145125	NULL	-1050.0
+-814492539	0JiVbqP3cG7I20UlHuc	NULL
 -814200252	8WC462P3JLhaXTN	NULL
--813519584	NULL	15869.0
--813519584	7g13w40lHv7wDaf1m4MQ8m	15869.0
 -813066804	fo7hQ0lLo0K78	253.0
 -812907272	3HlOeEUFSLcdPk	16171.0
+-812890478	NULL	NULL
 -812631881	NULL	NULL
--812125875	S7ilpQTm4W0w	NULL
--812098587	NULL	3844.0
 -812098587	S7a45WOo7	3844.0
--811374694	NULL	NULL
--811374694	5sQ4qB4ML02YI5Jo	NULL
--810657270	NULL	NULL
--810657270	38XES7ME0108oTOlH1I7BiWn	NULL
--810605184	NULL	NULL
+-811306029	8TY873CPrH82JPwf	NULL
+-809646785	hO87j00S6nkbuEFh1rL5ie	NULL
 -809338218	NULL	NULL
--809338218	OLGDak48jmju2r2v26LQIlx6	NULL
+-809162203	NULL	NULL
 -809162203	shMOr3b8w1F4F38D4wih0	NULL
+-808977278	NULL	NULL
 -808977278	kN1P50L5yeSw	NULL
+-808669759	WQk67I0Gk	2489.0
+-808412943	NULL	10896.0
 -808412943	32Q066E	10896.0
--807026780	NULL	-11797.0
--806862853	NULL	1154.0
--806644736	NULL	NULL
--806644736	N5sqt2k	NULL
--806577273	NULL	-9151.0
--804959350	NULL	-8072.0
+-807026780	53OS1HM8	-11797.0
+-806577273	Fg05tGcQqI78e4cgDn538v	-9151.0
+-805261582	NULL	NULL
+-804390280	NULL	-10737.0
 -804390280	uNJPm	-10737.0
--803735837	F65r0poAe2	-731.0
--803418256	2STdm3wq2BF3JJ6DdRWbl	4328.0
+-803890067	e4ie13qpm6LnXF21C5	-14982.0
+-803418256	NULL	4328.0
 -803212304	NULL	-12742.0
 -802835753	vp8Wvr40Cc3xhVFK230H	5389.0
 -802740333	NULL	10725.0
--802740333	QI3ERh13R	10725.0
 -802706391	NULL	NULL
--799860725	NULL	NULL
+-802505616	NULL	NULL
+-801826220	NULL	NULL
 -799860725	b01GFHiSj4Yig1tk4bSex	NULL
--799316028	NULL	NULL
+-799432675	6b72Wg1nICD	8219.0
 -798837262	NULL	NULL
--798837262	U16wryUI	NULL
--795348154	NULL	10681.0
--793534749	SrPY18L7FKBp8WO	NULL
--793309769	Bu1QtYr5sfcMxyD2c650GW	NULL
+-798734139	FO81NX2MQ1Tv2	NULL
+-798407322	NULL	-7179.0
+-796614931	NULL	-4586.0
+-796067023	NULL	NULL
 -792320898	NULL	-11447.0
--788756901	bTT4xqcq	-2477.0
--787673764	NULL	7358.0
--786856993	5hnxP2wPy2xu	11603.0
--786730910	r4fjAjel4jHu27vYa1Vox3	-12443.0
--783026310	NULL	NULL
--783026310	5EkunkVdHYCBxI30D36L6oM	NULL
+-790091464	NULL	NULL
+-788340979	NULL	-12026.0
+-786987890	NULL	-3937.0
+-786987890	Vn4S1kpwhJ016S007em56Ll	-3937.0
+-786733525	OVMDTY5Y4L8iaNgw8V3qrfHP	-15289.0
+-786511858	NULL	NULL
+-786511858	7Kp283Fa5	NULL
+-783282474	sRY8V5YDK4MvY	10852.0
+-783004176	NULL	-16092.0
+-783004176	7JDt8xM8G778vdBUA1	-16092.0
 -781894394	NULL	-11227.0
--781678672	QYW7H8ta63kcfM	4434.0
+-781678672	NULL	4434.0
+-780969554	NULL	-10291.0
+-780875740	NULL	2438.0
 -779155816	LI5r3n388rMETn6	1008.0
--778016256	NULL	-13050.0
+-778541551	t66fkUkSNP78t2856Lcn	15678.0
 -778016256	UL8rV5M81k6hVJ	-13050.0
--777049854	NULL	NULL
 -776603040	M5MJdPI5Agcy5T	NULL
--776253314	NULL	NULL
 -776034535	NULL	NULL
--775576170	NULL	7006.0
--775326158	NULL	NULL
--774129472	jeOFkUX5u5flcN5hCr4	NULL
--772614141	NULL	15490.0
--771993806	NULL	9517.0
--771786697	A2REERChgbC5c4	11056.0
--771611394	RD6GIHDtJFX4481	-8703.0
--770958258	NULL	8059.0
+-775576170	0F5hWvBF2QOa8A5ThNXq	7006.0
+-774129472	NULL	NULL
+-772812640	uu20hX	NULL
 -770958258	uXu1mj3tWs36cGpu4p3aHq	8059.0
--770833110	H42eLKO	11010.0
--770484362	NULL	4869.0
--770058550	NULL	NULL
--769831732	vvT8tpW518	NULL
--768237704	NULL	NULL
--768237704	2X0XRt20B70F7B	NULL
+-770852384	252YCGI2DXxpdm7	NULL
+-770833110	NULL	11010.0
+-770484362	kkbBss8Ie65SWe	4869.0
+-770058550	NkytEWShAd84ojaKa7A	NULL
+-767533824	NULL	NULL
 -767533824	3y1D3A7yxnQenJs	NULL
+-767080360	5dENnx6VjU14iaLFV0IR	NULL
 -766188002	5oUu102B4tP7	NULL
--764743983	g8my0HUWRfpYm65D85r	12553.0
--764178373	XJtfPtv77	NULL
+-764942166	7aiqnEep0bBDD04D370	NULL
+-764743983	NULL	12553.0
+-764462878	NULL	NULL
 -763516052	NULL	-5964.0
--762443988	iB4VI	NULL
+-762216959	NULL	NULL
+-761848023	NULL	NULL
 -761848023	f8bmVVkEd2TmeFy7wKq11	NULL
--761589729	NULL	NULL
--761589729	QT8H3G133r01VKlM3P45iP	NULL
 -761324268	mOofw7T57kng3V161Mg4YYK	NULL
--761010465	W3bnCmB	NULL
--760170906	h15Uw8Uidj2K5OYWOqQ5	NULL
+-759733294	1381p1T7376j	NULL
+-759670834	NULL	-5469.0
 -759561469	NULL	9835.0
--759392740	NULL	NULL
--759301896	04p3riU20lo7A7s0OvBepl	1887.0
 -757292921	FMVqyn08R5kuEv8	NULL
--754845455	4emY37V37o2B3dw426G7v	-2737.0
--753212347	Kroshtr	5815.0
--752592373	NULL	-12214.0
--752093742	JUrP4	-8130.0
--751232356	aBL26v67ENBr3T47crW	-27.0
--750478127	NULL	13049.0
+-756618727	NULL	8381.0
+-756134523	v555LQ	NULL
+-754845455	NULL	-2737.0
+-754555297	P5PT4r2Syq367	-1767.0
+-753745605	5h6A0ennI	9677.0
+-753518696	NULL	12479.0
+-752544676	NULL	-1268.0
 -750478127	O2aPT	13049.0
--749367136	NULL	NULL
+-750036400	M22umK0Q1S2Q80358P6	NULL
 -749219999	NULL	-15202.0
+-749171518	NULL	-948.0
 -749140515	NULL	NULL
--748695819	NULL	NULL
--748287202	NULL	NULL
--748287202	ngUkOdOBOk67o3mcc	NULL
+-746687884	x65DlyX2Q41Xq7AEIS6	5831.0
+-745791354	NULL	1517.0
 -745791354	5T0k456v4	1517.0
 -745089551	NULL	NULL
 -745056837	Tt1BcY8q3welBr7o22KI3jF	NULL
--744728348	47kMyrkI1u51WS7y75pyy6S	NULL
--743921863	NULL	NULL
--743030587	NULL	-4682.0
--743030587	6wSoiDE22846jIPRH87	-4682.0
--742677488	NULL	8047.0
--742672838	5SUwkc	12499.0
--741339611	NULL	-7465.0
+-744728348	NULL	NULL
+-743039371	NULL	NULL
+-742677488	mjO2T3mw	8047.0
+-741433118	NULL	-2991.0
 -741171393	NULL	NULL
+-740823515	NULL	NULL
 -740823515	SM7dk420iy847o8hn	NULL
+-740792160	NULL	-1388.0
+-740228725	NULL	208.0
 -739895170	NULL	NULL
+-739502997	NULL	NULL
 -739502997	50J08qKXC44G8HDMu7FF	NULL
--738340092	e6F51mDOrN481rfhqk67lF40	NULL
+-739006691	NULL	-5920.0
+-738747840	NULL	NULL
+-738747840	vmAT10eeE47fgH20pLi	NULL
+-738340092	NULL	NULL
 -738306196	NULL	NULL
--737864729	NULL	NULL
 -737485644	OQQgFcOqtpjdsCCejbvAAi	NULL
--736991807	XI2ak7U1yv05DAI71	-9397.0
--735935786	NULL	NULL
--735854636	1r83U1NHOu8n42Kn8gTpb	14061.0
+-735854636	NULL	14061.0
 -735849607	NULL	-13345.0
--735694489	pExfh0681v3E6	-13377.0
--735527781	Uwyw8I50	NULL
--735434877	NULL	NULL
--733761968	c23S6Ky4w7Ld21lAbB	NULL
+-735694489	NULL	-13377.0
+-735434221	NULL	NULL
+-735434221	S21x1133h	NULL
+-735428232	7MJd7FQgF0U2O	-9305.0
 -732816018	2SDuH1XKN0	-11484.0
--732065049	hSb1x4	NULL
 -731427364	NULL	NULL
 -731427364	cb33ksHDf3lMrp0OW4dMdvos	NULL
--730200970	NULL	NULL
--729494353	NULL	NULL
--729494353	K2mrUY	NULL
--729196225	NULL	NULL
--729196225	J1an665U	NULL
+-730289443	2n2cwjWAp2R56c2GYtKHQf0i	NULL
+-730076015	NULL	477.0
+-730076015	ss	477.0
+-729075167	m3itBVH5	NULL
 -727471145	NULL	NULL
--726473298	NULL	NULL
--726003912	NULL	-6947.0
--725009730	NULL	6867.0
+-727471145	MgMjEMssUEN1	NULL
+-727158360	0uA7It5CJu16eJ4JS1uuxNJ	NULL
+-725416692	Ja872lhYn6T31tPIOB85eb	NULL
+-724156789	NULL	NULL
 -724156789	ANpel663M	NULL
--723592170	NOLF8Cv0gchW6gNPX4	-14014.0
--720277866	NULL	NULL
--720001688	wKX3SY	-8236.0
--719899789	umNykRkKiih6Cx6K42	-10134.0
--719840187	NULL	NULL
--718863675	NSLFx	NULL
--718719178	NULL	NULL
--718719178	6IVP5k05jNwj1Jqr8UAPD1r	NULL
+-724060262	NULL	-3214.0
+-722944609	71rC651of3swM7w13027216	NULL
+-722873402	8GloEukQ0c68JDmnYL53	NULL
+-720277866	M462UC	NULL
+-719840187	Wg1pcPx06	NULL
+-718594328	NULL	-6352.0
+-718299286	NULL	-14224.0
 -718063540	1wb02g3mc	NULL
--716198125	DRodCrmwkH35tuMes8V	4943.0
--714255290	NULL	8521.0
--713284555	NULL	NULL
--712811861	qC2BA3oYp	NULL
--711545009	BI34Ap4r3c210R1UBF6Lp	12440.0
--711088427	NULL	3709.0
+-716198125	NULL	4943.0
+-714107996	806X4jKS0Lo7cO	NULL
+-712811861	NULL	NULL
+-712573435	NULL	NULL
+-711795817	NULL	NULL
+-711795817	4hMaavAE	NULL
+-711465111	NULL	-13228.0
 -710765959	JJIVc80Pgv	16242.0
--710706524	NULL	NULL
--710318638	S45x7dofb8hIodJ4e7bV5P	11550.0
--709936547	YXbTksK2YAt32i4vi6xyT2	NULL
+-709987288	NULL	-14159.0
+-709701040	Nd6hm74FA4k65m2A	2326.0
+-708939757	4t88O3hdap24Qp4182u1	-11906.0
 -708830292	NULL	8825.0
--708830292	NeXCu	8825.0
--706163634	NULL	13366.0
+-706227781	NULL	NULL
+-704909057	NULL	-10278.0
+-704909057	04m0G4	-10278.0
+-703928918	NULL	NULL
 -703928918	2fbAP8EJ4D5sArmrfUo3r	NULL
--703523559	Ydq2dX	NULL
--703039722	NULL	NULL
--701824447	NULL	13246.0
--701037296	J2El2C63y31dNp4rx	-4190.0
--698529907	gv7hVe3	NULL
--698191930	00MmJs1fiJp37y60mj4Ej8	NULL
--697488741	vl31hFdNGwaI	5417.0
--695504237	NULL	NULL
+-701166275	46Y3G8Rf12bRc7KcY	NULL
+-700300206	NULL	NULL
+-699797732	NULL	4012.0
+-697609216	jxkVe1YhhX3	NULL
+-697488741	NULL	5417.0
+-695529452	7s6O45GD7p4ASq08a26v8	NULL
 -695504237	5314P0Xu85GA60lJaVPd10	NULL
+-694015335	NULL	9540.0
+-693906915	NULL	NULL
+-693906915	4j16o2bV34xFa36	NULL
 -693724726	NULL	NULL
 -693724726	23R287wx8g5N22kp034161	NULL
--693113839	03SnoFNyeHxQ2X	NULL
--692803121	NULL	NULL
--692591329	NULL	-12485.0
--690785065	2YOJT4Sveu	NULL
--690254761	NULL	NULL
--690254761	dv4kivc	NULL
+-692803121	V6IvSow	NULL
+-692700240	NULL	10368.0
+-691793383	40i6Qf07	NULL
+-690377505	NULL	NULL
+-690377505	QuuIO6rBsRCOs7AcM2	NULL
 -689498872	8ndB1604	NULL
--689268099	NULL	5478.0
--689268099	5N2rSTIXMp1	5478.0
+-689159238	MjI4i6E	657.0
 -688450515	NULL	-14946.0
--688179977	NULL	NULL
+-687741322	NULL	5948.0
+-687741322	v782YnRD5	5948.0
 -687691627	NULL	NULL
 -687470971	NULL	NULL
+-686436142	NULL	NULL
 -684842867	1kFnQ8Xw3	NULL
 -684471798	0Fx62li4	9588.0
--683591861	TT4CHN	-6060.0
--683520575	d5gs2s6trx20upPuW3SAi4o	NULL
+-684231619	13YQWi5	-15534.0
+-683520575	NULL	NULL
+-682804669	4Y6F2QEy0v68	NULL
 -681738484	NULL	867.0
+-681738484	AH6e820tOV6HSThd30w	867.0
 -680963583	WBT2XnSX5c176OF	-6789.0
--680871647	NULL	NULL
--679633235	NULL	11166.0
+-680871647	f0QmOLoGtou7gq42fy01Brn	NULL
+-680526056	NULL	NULL
+-680526056	3R4fUi3r5212N4L05I47VU3	NULL
+-680152656	NULL	NULL
+-678315326	pMb26nLwOep46S63x1WjPC	2480.0
 -677971807	mnfiV3	NULL
--677517681	NULL	14826.0
+-677042919	4YJx505OYOoh0r6SnMF6UF8	1258.0
+-676939616	8YHG1	4661.0
+-676680436	NULL	7751.0
+-675551396	NULL	NULL
 -675249658	NULL	13618.0
--674846687	8l433e5J6I0fj0PM	NULL
--674384350	NULL	12220.0
--674384350	FqW3gSD2	12220.0
--674231012	NULL	16280.0
--674231012	y4AB7n55M6	16280.0
--673848121	NULL	NULL
+-673848121	gjsL355dId0aH1mj0yGky1	NULL
 -673181993	IblvAnYcnAwTiEM	NULL
--673034938	0pOTqi3O44rEnGQ	NULL
--671940285	Se4jyihvl80uOdFD	15076.0
--671097916	NULL	NULL
--671097916	iR76SEs2C4V	NULL
+-671940285	NULL	15076.0
+-671342269	3DE7EQo4KyT0hS	-16274.0
 -670969300	NULL	1187.0
 -670497702	NULL	NULL
--670497702	gSJS1mpb5Khx8140U3	NULL
--669632311	3r3sDvfUkG0yTP3LnX5mNQRr	NULL
+-670376861	NULL	NULL
+-670376861	uRcc7	NULL
 -669373262	NULL	NULL
 -667926140	vkbGEG4q11J550U7u5EnSs	NULL
--667036345	NULL	NULL
--667019924	uo1oJ7l	NULL
--665315088	88G108W	-11774.0
--664764100	3yeq763N	NULL
--664501487	NULL	NULL
--664501487	TYkMYn1v6giCqpy30s	NULL
--664344817	NULL	NULL
--664341725	64K51WMTs	NULL
--664049013	NULL	2663.0
+-666649586	8308ogefQEebr48	-11776.0
+-666325620	a5MyXRAIwPX1CO3w53Rar8wf	NULL
+-665315088	NULL	-11774.0
+-664084238	NULL	-2477.0
 -664049013	s3Q3nW2K1uFid4x1NeDVn5	2663.0
--663707772	NULL	NULL
+-663707772	M76D058tDDD25v3g	NULL
+-663328541	NULL	-5198.0
 -663328541	D7G7Ubc64866fFh	-5198.0
--662446721	NULL	9071.0
--660174857	NULL	NULL
+-663027791	053saXP1gR5mg06644Qd	NULL
+-662882243	V5oM8YBx2Kq63oy0um7	NULL
+-662503053	NULL	NULL
+-662294896	NULL	-14518.0
 -660093358	jH7VH38C77M08h5GNPp8M	NULL
--660084489	AfW67EWaHMIQ7yvfqHRUwB	NULL
+-659859636	kStdI4lGTUx	10289.0
+-659186324	QDK4Rtj7CX01p	NULL
 -659065840	NULL	NULL
--659065840	KjAOvl4yBG7Rw7d	NULL
--657828756	NULL	-5958.0
--657828756	S4Ww7287AGI80OOTGeN60	-5958.0
--657809731	AKSumJy2fP	14054.0
--657384344	NULL	6900.0
--657225349	U1aid52v	NULL
--656621483	6bO0XXrj	11248.0
--656146882	12YH5vxufod8Wu1R	NULL
--655733894	HA1yh	NULL
+-658968870	NULL	NULL
+-656621483	NULL	11248.0
+-656149143	NULL	NULL
+-656149143	M10C4DWJ0Gn	NULL
+-655795794	NULL	4090.0
+-655733894	NULL	NULL
+-654830637	NULL	NULL
 -654132946	NULL	NULL
--652756870	3N1o1bou84BHA70	NULL
--652391262	cNav7FGYOHd3EUXMS	4943.0
+-653871722	NULL	13268.0
+-652391262	NULL	4943.0
+-651131620	NULL	1385.0
 -650579342	4p32f3dqm6X0Vyd	NULL
--650301029	NULL	NULL
--650027443	5nV8bh0O	NULL
--646910476	BcTvH1XwLh0QJGAU2wA	NULL
+-650239890	3080Y5smP4JT6	-9841.0
+-650027443	NULL	NULL
+-648704945	NULL	NULL
+-648704945	02v8WnLuYDos3Cq	NULL
+-648392003	eWc3t8r71Mlq	-12374.0
 -646477070	NULL	NULL
--646339276	NULL	NULL
--646339276	2yd00UDPJUO37S4qfT0gHyg	NULL
 -646295381	NULL	NULL
 -645108590	NULL	-1309.0
--644442330	NULL	NULL
--644442330	Y0P5Re5poIwn	NULL
--643591379	Kw3RwUP6RQaQCgVSHjU0Gqr4	-14133.0
--642457423	NULL	NULL
+-645108590	hnyI5T	-1309.0
+-644743845	NULL	-9934.0
+-643109215	KPS5d134FEJJu	NULL
 -642352375	NULL	NULL
--642242459	084055856V0l	-228.0
--642177596	KAbJb	5609.0
--642100019	NULL	-10879.0
--641108454	275JjYk724e	-1655.0
--640155079	NULL	13878.0
+-642242459	NULL	-228.0
+-640155079	Jh7KP0	13878.0
+-639730180	LD1u8eTfXl	NULL
+-639661074	NULL	-5544.0
 -638825747	ox4gTH52	NULL
--638236518	NULL	-13470.0
--637617059	6E5g66uV1fm6	-9886.0
+-638494713	NULL	-16168.0
+-638371995	7Sb0367	NULL
+-637617059	NULL	-9886.0
 -637615240	NULL	7029.0
--637588182	e4rLBwDgWm1S4fl264fmpC	9962.0
--637544459	346v1tVDI4iB	-2049.0
--635141101	NULL	NULL
--635141101	ss	NULL
+-637485072	NULL	-8346.0
+-637039550	NULL	10429.0
+-637039550	W3P5WMsmv6UJnfph5D	10429.0
+-633442328	K5OgpFUUHCnm3oif6f	NULL
 -632554773	jc3G2mefLm8mpl8tua3b3	236.0
--632278524	NULL	NULL
--631783210	8cC24gh	NULL
--629867172	NULL	-3277.0
--629475503	NULL	NULL
--627968479	NULL	-13012.0
--627968479	U408t6TLdH18sJeyO	-13012.0
--627816582	NULL	-14173.0
--626424514	NULL	NULL
+-632107906	4tFQX5	9390.0
+-631010149	6c6b1XPMiEw5	-8731.0
+-629475503	X1cNlHRHJ5h6H8qs832	NULL
+-629330638	NULL	NULL
+-629254416	f6f4h5NY5Ffi	2017.0
+-624769630	NULL	NULL
+-624769630	1063cEnGjSal	NULL
 -623381272	NULL	NULL
--623381272	ktJI200FR0TY4Oq	NULL
+-623012636	m1Bd53TD	5512.0
 -622956305	NULL	NULL
+-621783323	NULL	-8459.0
+-620996505	Tx2ghNxT1b	-9677.0
 -620782562	NULL	-450.0
--620140340	NULL	NULL
+-620140340	YBRSCj3Qdb24l1MnE5IIr	NULL
 -619943931	NULL	NULL
+-619943931	iASE7cWnCT4NRf	NULL
+-618935259	NULL	NULL
 -618456924	4E0nI655Vd0uNE31pU8x4SD	7628.0
--617998763	NULL	1373.0
+-617263915	NULL	NULL
+-617263915	8IgBmN0xkLDIlj2y	NULL
+-617025388	PLFB86o84end3tdsS2hVL	NULL
 -616680895	0AgcEEPHf4vXNU	-16149.0
--616147774	NULL	NULL
--616147774	PUjn241mg3Qfjj6nG51	NULL
 -615585213	NULL	10268.0
--614828184	58Vl5WFf8p	-5241.0
--614678162	oa2Tuhc5i72WE417y1	14675.0
+-614727924	ARECS	NULL
 -614265907	NULL	NULL
--614168073	NULL	15740.0
--610887675	nYK5s12fK544K	3702.0
--610854924	NULL	NULL
+-614168073	6p2vWrdBsj30fSy0c7o5X7m5	15740.0
+-614043298	e035q4Ba4721NL1l	NULL
+-613772247	NULL	NULL
+-611994002	12Y88CFE3600p4daxwcd1x	NULL
+-610854924	0T08CcDm0fDWR25u	NULL
 -610692263	NULL	NULL
--610644732	FKDPbFp241	NULL
--609169973	u6HT8fTw6IgPf2	NULL
--609095216	51pI6Y6pcEoC4	5607.0
+-610692263	IAX1cjB8p2	NULL
+-609917990	3h8mD2F76eq4mS	NULL
+-609818054	NULL	NULL
 -609075254	NULL	-7555.0
--609075254	rR4SvF6ME4BtJOx0Q	-7555.0
--607308279	NULL	2234.0
--606705834	miQXFj3fd8Uk388	NULL
--603645790	2sQ408i6h2V7MI7	NULL
--603332229	NULL	-12127.0
--603332229	EkPP1	-12127.0
--600422927	NULL	NULL
--600422927	A30e7a8ia36g25YQc8xTXBgB	NULL
--600048425	NULL	-1079.0
--598790130	NULL	11461.0
+-609074876	EcM71	NULL
+-608412235	NULL	NULL
+-607145105	NULL	NULL
+-606964047	sW5pS8s02FERo5xGn0p	-5282.0
+-606187635	NULL	-9076.0
+-605065222	GciA5Y0kP	NULL
+-603601682	poE6hx8xV36vG	NULL
+-602670850	XD4Ss	-7980.0
+-602640740	NULL	NULL
+-602640740	s1K04o1	NULL
+-602583536	NULL	13167.0
+-602029849	u8PxNYK4	NULL
+-601825532	NULL	11021.0
+-601697788	d64pbe5ih0aYr8gR77	15349.0
+-600048425	rWCcVpLiV5bqW	-1079.0
 -598790130	iggCGFADtrd6k25FD4r4375I	11461.0
--598316647	E20mj4rXE8p38WB0	-10912.0
--598018937	6FY0I4YdYA	NULL
+-598592411	NULL	3684.0
+-598077215	NULL	4953.0
+-598015213	X75olERkL08uR	12481.0
 -598010006	NULL	NULL
 -598010006	7bD30suWFdI4o5Jp6m	NULL
--597298726	NULL	-2179.0
--597298726	7afdC4616LFIHN	-2179.0
--597089099	vsX2f2YM0vC5E21f1	NULL
 -596698349	142kQq4fbeX3mT	NULL
--595551350	NULL	NULL
--592954658	t5JDt3u6jk748	-8181.0
--592237581	NULL	NULL
--592237581	auGhMXSG3mUqnh	NULL
--591488718	NULL	NULL
+-596597402	NULL	2162.0
+-595551350	L0if56g18jb2G4ThBy8FLD	NULL
+-593723498	NULL	-704.0
+-593723498	713lDu43	-704.0
+-593069569	NULL	14827.0
+-593069569	x71s6pP2W5A7O0H35Up1cD46	14827.0
 -591488718	NULL	NULL
+-591135184	NULL	-14843.0
+-590989147	8FpQRPC5B82ow502W46FQB	NULL
+-590047093	NULL	15540.0
+-589056165	NULL	-5524.0
 -589056165	AFhn1et6NTnUO3F81D1i	-5524.0
+-589040469	NULL	-1587.0
+-589040469	YpM63	-1587.0
 -588409997	NULL	NULL
--586956961	2uE6vb52q	8524.0
 -586805970	NULL	-9367.0
--586171860	NULL	NULL
+-586687086	pr5tSeG7X	NULL
+-586171860	A1h6G3bgyRxxvyhyWhVL	NULL
+-585770596	ss2PoJAipj6B1tn75O	NULL
 -585595718	NULL	NULL
--584928290	NULL	NULL
+-585595718	cbo7HQc	NULL
 -584928290	e8HP8Yt7uoB	NULL
--584874573	FkpSyCaSiA2X28rAMNt5687	-9301.0
 -584661738	NULL	NULL
--584277163	NULL	-8761.0
--584277163	qw430g35j	-8761.0
--583737386	NULL	NULL
--583576221	xOSHRK0e6243CG0Q	NULL
+-583737386	GEwSJy0Bk1KRf1JxHqY	NULL
+-581868488	xqa4i5EAo4CbOQjD	15218.0
+-580766784	NULL	-212.0
+-580175448	kmVtK172xdC862vqYE468bJm	NULL
 -579727578	NULL	-7768.0
--579044960	6o50QhXglfo0TlCF	NULL
--578805115	NULL	-7161.0
--577684224	0EU2GSKN4svnsv	NULL
+-578805115	Q2TIySPl735	-7161.0
+-578167934	VqevY22vG478444ob4XCKnb	NULL
 -577599727	Q82FD1RrW	5860.0
 -577517220	NULL	NULL
--577045743	dD15XhaAk	-7298.0
 -576843680	6xn1INe8xSG0487IUAaMYRH1	NULL
--575703053	NULL	NULL
--575167266	bBAKio7bAmQq7vIlsc8H14a	1949.0
--574661100	NULL	NULL
--574526858	jK5m2h	6109.0
--573854884	NULL	NULL
--573854884	s3WL6smnb7	NULL
--572547597	7k0Ypeij4V2jcvT66TW5	175.0
+-575848794	NULL	NULL
+-575848794	H37833CDTytf1mp4	NULL
+-573398708	NULL	-9437.0
+-573051430	NULL	11500.0
+-572511045	gm1ouRn6LL8IvrB	4610.0
 -572083301	NULL	NULL
--571440987	NULL	NULL
--570411440	NULL	NULL
--570152957	5Jm0c0pa7	NULL
--570151156	NULL	NULL
+-571605313	NULL	NULL
+-571440987	Wu3285CX753	NULL
+-570151156	a3sk76Jt1SL	NULL
 -569743570	OVJrt7Ag4JY573PrTY	NULL
--568687194	Sago0hfsWqeGkVo8n38Hh5eC	-9519.0
--568012450	NULL	NULL
+-569386581	NULL	NULL
+-569386581	83tP8	NULL
 -568012450	8F3j56	NULL
--564905383	W45L2Xb54yhtJMWDFb	8700.0
--564643917	NULL	NULL
--564643917	8JNVrH3Lasa826	NULL
--564418131	NULL	-6747.0
--564035439	r42aU41pQBY7Xk3ic37hR	15098.0
--562131910	NULL	NULL
--560393762	NULL	NULL
+-566868938	NULL	NULL
+-564927612	NULL	-13555.0
+-562702081	gLGK7D0V	11865.0
+-561168205	NULL	-2015.0
+-560827082	NULL	NULL
+-560827082	1H6wGP	NULL
+-560393762	OSc0r	NULL
 -559669968	NULL	NULL
+-559669968	R8B6PMUCp8Fuw	NULL
+-558226014	Iy2ED	10728.0
+-557177923	NULL	-6843.0
 -557055309	NULL	3385.0
--557055309	7bO18f2QAcD2	3385.0
--556329510	NULL	NULL
--554729864	NULL	NULL
--554456306	NULL	NULL
+-556504948	NULL	NULL
 -554456306	6JLTA0I2Jx60HU470LO	NULL
+-554094419	4GEqmyTpaQ	NULL
+-553779656	weQ0d24K116Y0	11147.0
 -553103982	NULL	-8790.0
+-552944417	NULL	NULL
 -552944417	y6LhmEv	NULL
--552611420	NULL	4624.0
--552611420	H5mOb2OF3E8oI25	4624.0
--551996785	NULL	-5458.0
--551235732	G8Yan	10141.0
--550834733	u6IQ0Ih8kEh0E6T3P	NULL
--548941295	NULL	-11137.0
--548767061	NULL	NULL
--548767061	C47O7D3RF	NULL
--547844155	5j3588UoxeUDcD4tg5vH75W6	-13400.0
--547166857	NULL	NULL
--546780199	NULL	-5407.0
+-552461106	NULL	NULL
+-551235732	NULL	10141.0
+-546268530	77E8Xqg4LgN6ShBGOC4	NULL
+-546115224	NULL	NULL
 -546115224	YG6upJAu1AHo1g85T	NULL
--545805153	Kj0Rtt5r6bFQ2NGQ	NULL
--545520854	NULL	NULL
--540859120	fju0XS06MyUS7Nqk8P8	NULL
+-545520854	5b7222ls0wgFVAff7D	NULL
+-544928158	NULL	-12861.0
+-542362651	NULL	NULL
+-539981927	NULL	NULL
 -539892577	Tw06W0Qga0	3100.0
--537996072	NULL	NULL
--537988055	NULL	12793.0
--537374580	e542YmP0Fu1hw25eP263UA	9436.0
--535270858	s8C16hIJCvCdrOg3q8a1Go	NULL
--533588831	0Ryd7J0wt3N80Yc64GCpr1	12800.0
--533170835	NULL	-429.0
--532611088	wLWrtVNx188P7uXPV	-1428.0
--530687964	NULL	NULL
--529304330	NULL	9661.0
--529058223	NULL	NULL
--528897930	TNaUMA6If0kmHQp2xRhqr	NULL
--528532585	ijU4c	NULL
--525793386	K4Npj34S8iAOa6qRd7y88Sb	NULL
--523681673	NULL	NULL
--523681673	UQv8T28745qO62T	NULL
--523594697	NULL	NULL
--523594697	scPuaL7lo	NULL
+-538982534	NULL	2464.0
+-538982534	VrRTMth0WY7T	2464.0
+-538700123	2MXQgy3CnV528om4I77x51i7	NULL
+-538151009	NULL	8892.0
+-538050258	NULL	-15017.0
+-537988055	5nAPf8Jm	12793.0
+-537167684	38Y2u	-5884.0
+-535991858	NULL	NULL
+-534924789	X5oShc74RP	NULL
+-533588831	NULL	12800.0
+-532800347	40CP0hDas6g7m	NULL
+-530519974	ss	12329.0
+-529472391	NULL	NULL
+-528897930	NULL	NULL
+-527994943	NULL	13691.0
+-527426311	NULL	NULL
 -523321995	pERC8ns	NULL
--522373381	0AkI4K24GeFC1Aa2Sr6	NULL
--521698157	g243G86C2uHdC38K	NULL
--521365810	ibHg41d7f	NULL
--520765672	NULL	-3969.0
--520674232	NULL	NULL
--520674232	JhS7I21kB6X43NB8U8	NULL
--519969910	NULL	NULL
--519653089	NULL	-4319.0
--519504074	NULL	-15057.0
--519504074	lKk18ML	-15057.0
--517148926	NULL	-1465.0
--517148926	3NXGGhNOjVMRWV	-1465.0
--516660759	d57LuTxW0Pk5cXu	5215.0
--516349200	NULL	10183.0
+-522373381	NULL	NULL
+-522000585	A1g0Myv7	858.0
+-521698157	NULL	NULL
+-520054643	wc4Ae163B5VxG2L	301.0
+-519969910	gVS43C76q67h70Yi	NULL
+-519653089	JRN4nLo30dv0bRtsrJa	-4319.0
+-518918140	ugq0uAy0qXj2D0fX	5245.0
+-516660759	NULL	5215.0
+-516349200	5OOnLN015tAyeCnl6	10183.0
 -516041254	NULL	NULL
 -516041254	Tqar00A	NULL
--514493171	NULL	517.0
--514165397	NULL	NULL
--512621098	0p5PiWBMN2nO0y88tnHcw	NULL
--511447734	7hX1B0bSs	-6472.0
+-515722466	NULL	-6296.0
+-515203523	NULL	NULL
+-510636860	NULL	NULL
 -510510347	NULL	6866.0
--510510347	ycx8b7P8h2O87cJD	6866.0
--509342542	5Pg84i1bGapv5qoYCrtvV3VW	7161.0
--509337580	NULL	NULL
--509060047	N62KU05S73f5I0F77DK	NULL
--508993879	gjqfa41BgO5pRK03	NULL
--506702601	NULL	15847.0
+-509342542	NULL	7161.0
+-509337580	2UTX78oBg574jiOyOy2	NULL
 -506702601	3t3EB	15847.0
--504649401	N16sP2YTPvJFPcoCDlg86Qv	-7091.0
+-506688723	NULL	NULL
+-505970378	r121C	11387.0
+-504649401	NULL	-7091.0
+-504479350	M0JtV	-13306.0
+-503229939	NULL	2613.0
 -503229939	2GN33486Eatu7tJi2832NSx5	2613.0
--503145856	NULL	NULL
--503145856	H1v2G	NULL
--502819345	NULL	NULL
--502819345	BxH575uxOuCE6sxn6frt	NULL
--501472253	NULL	-5679.0
--500301311	27lDtVbT38gR	-8969.0
--499831750	NULL	-15423.0
--498103625	JHGoQkiiNx0K522UDD4	15863.0
+-501914557	NULL	NULL
+-499831750	5Jwa8e3	-15423.0
+-497812675	NULL	8541.0
 -497620057	NULL	-15212.0
+-497211600	m4eSLx4qihVg1e32	NULL
 -495094625	NULL	460.0
--495094625	1ccoB38	460.0
--494505216	NULL	NULL
 -494092730	I3w7NEK56OB4G26h7MU	-79.0
--493656327	NULL	7988.0
--491708622	NULL	NULL
--491708622	n2W51l	NULL
--491589443	NULL	NULL
--491184664	u85A6B	NULL
--489489313	NULL	10080.0
--488515173	12yT2agBjx3yQ	NULL
--487903609	NULL	-9147.0
--487086773	NULL	-10868.0
--487086773	VMlhJes4CVgyK7uFOX	-10868.0
--486316774	NULL	NULL
+-493670740	7et28dsw03son237	-15298.0
+-491589443	0Y641jaPl	NULL
+-491184664	NULL	NULL
+-488515173	NULL	NULL
+-487161292	46X778w0r1Ueuv052rvegFJi	13332.0
+-485297539	NULL	12605.0
+-485297539	UR83Iqx405t0jOOhF	12605.0
+-485104169	NULL	NULL
 -484905228	F5n0SfL8CT53dFr51vvW0S3	4432.0
--484306883	NULL	-12137.0
--482913182	NULL	13554.0
--482257270	NULL	NULL
--481987039	NULL	13298.0
--481987039	5M62EjXtos2G	13298.0
--481043394	NULL	NULL
--479620735	NULL	NULL
--479620735	6GpbwQ3mT	NULL
--479548677	NULL	-3914.0
--477740295	NULL	-13512.0
--476335225	8eSO14	NULL
--476163172	1LRgweD3Na	NULL
+-484306883	ip3Y6RAg87Hgr3u	-12137.0
+-484174274	NULL	NULL
+-483017884	NULL	NULL
+-480396900	NULL	8848.0
+-479902149	2jpKwIdt6T	-13331.0
+-478114375	4kyK2032wUS2iyU28i	8061.0
+-477593990	NULL	NULL
+-477267518	5I8oh5Sb56pDl2V05R02	1804.0
+-476163172	NULL	NULL
 -476031993	6m3p4wd4i7GCSm0PCO	14835.0
 -475787560	NULL	-10320.0
+-475776796	NULL	NULL
+-475707077	NULL	NULL
+-475707077	qPiV0J6QDu	NULL
 -474621692	NULL	NULL
 -474621692	3vB11S	NULL
--473904084	75cBSvBTtog25E28v	NULL
--473387081	3afvyfFbo6GH6JS416cesO	NULL
--472770015	NULL	8979.0
--472770015	775e0LbXs7vkg3j8QSEnc	8979.0
--472464142	TouYieKTG	-9370.0
+-474526814	NULL	6719.0
+-473904084	NULL	NULL
+-473444294	NULL	-8114.0
+-473171480	NULL	10859.0
+-472811852	NULL	NULL
+-472464142	NULL	-9370.0
 -471640869	NULL	NULL
--469669959	NULL	-9408.0
--469588679	NULL	5326.0
--468629330	O2U2c43Dx4QtYQ3ynA1CLGI3	NULL
--468260022	NULL	NULL
--468252992	NULL	-11273.0
--468252992	6D4H88YldHdj0	-11273.0
+-471640869	XeI6xQ2v1E	NULL
+-470177692	Y6n3LVp5tIlVm3kc	NULL
+-469581869	NULL	NULL
 -468160946	NULL	6722.0
--468112720	NULL	NULL
--467455128	NULL	12949.0
--467092982	btcI68W882	NULL
--466883304	NULL	-3335.0
+-468160946	eXJSaD2y6i8Cr2wwmc	6722.0
+-467644956	NULL	-9158.0
+-467644956	bMyM0QL	-9158.0
+-466687333	NULL	-1379.0
+-466215267	NULL	14936.0
+-466059793	NULL	-8567.0
 -465994327	NULL	-7307.0
--465602858	S48lTs10R	NULL
--465378001	NULL	5674.0
+-465994327	HXUyE4BVO5tji6	-7307.0
+-465378001	ILCAW28PE	5674.0
 -465298892	NULL	-12819.0
--464920233	M7OQK3MFU5QYjW1ja5jEj2E0	2337.0
--464190105	NULL	NULL
--462821352	NULL	NULL
--462052517	NULL	NULL
--459602806	PnD8l5	NULL
--459571311	NULL	-13901.0
--459571311	taArL704d542R82qw8	-13901.0
--459407000	NULL	522.0
--457224565	NULL	NULL
--457224565	NULL	NULL
--457111770	F10SR3l5836pq7TCfYeGrEl1	NULL
--456955151	NULL	NULL
--455178779	NULL	10997.0
--454967666	658SAQuUGC	NULL
--453860130	NULL	-3486.0
--453432177	8Jvom23dkWvvqv81DY5Ub3	NULL
--453047708	06KkQ1787E25QFmGj87yjd	NULL
+-465036867	NULL	NULL
+-465036867	41OuKHD4wRu238388Cq	NULL
+-464361432	Ayw2CUsH0QjG64m2cmDy	NULL
+-462839731	NULL	NULL
+-462052517	ppK2D7Hurv4FEpES74	NULL
+-460130999	704TqKdO554m38WDk0W2g	NULL
+-459602806	NULL	NULL
+-458141412	8x33aIF0uGR	-14268.0
+-457111770	NULL	NULL
+-457078324	NULL	15647.0
+-457078324	hn35LQWu0t6	15647.0
+-456758172	o8BJbkeG3228	13500.0
+-456032481	NULL	NULL
+-454967666	NULL	NULL
+-453860130	nySmD256M7wH3o	-3486.0
+-453047708	NULL	NULL
+-452995064	Wq28q24Of	-1608.0
 -452599200	NULL	8757.0
--452350925	NULL	13179.0
--451168080	NULL	1005.0
+-451592563	NULL	NULL
 -451168080	CqVN87Pm5hyraKaq45O	1005.0
--450893169	NULL	NULL
 -450682274	NULL	-1364.0
--450682274	8B1e0uEbua066H8dUrR742	-1364.0
 -450036866	NULL	NULL
--449708868	qjnGh17cDy3S4K	-156.0
--449562906	VDTWq	NULL
 -449228789	eis5ky6Km	15466.0
--448390532	NULL	9941.0
--446908760	cCaJdJUbsd4Su8F	-10736.0
--445661757	16twtB4w2UMSEu3q1L07AMj	2940.0
+-446674576	33woPLwH3MFmK	NULL
+-445131275	SgVxsU2832X4w	NULL
 -445000613	4kUFI473BsE2rgG	NULL
--444063458	68QfqfP1AK8f8	15125.0
--442594876	Lcat8FGEhBw	NULL
--441465124	nClXBWi0y0f664ah3	NULL
--441306270	iEb04t2x333EF5wHoKRs6oKB	NULL
--440738102	NULL	-14712.0
--440645306	R6xXNwfbk	-2129.0
--439810061	NULL	NULL
--438587970	NULL	NULL
--436791598	1oiwKGMsFXabXo	NULL
+-444756572	NULL	NULL
+-444063458	NULL	15125.0
+-443615712	LFo3Ls	-15303.0
+-443023828	NULL	NULL
+-441306270	NULL	NULL
+-437228896	NULL	-369.0
+-437013589	NULL	NULL
+-436982628	NULL	2786.0
 -436323820	p3DvmcsqP6xMf	NULL
--436288707	S5MwtN1mg3CO46HGJ0UrK1Ab	-5229.0
--435246644	sFRsqLf	NULL
--435225012	NULL	NULL
--435199896	R8EqThU	NULL
+-436171992	1I0750N5l6vsLXoySV	NULL
+-435678004	ExWpHq2H5O0nP	-3977.0
+-435225012	bU42b017V0K1G5v1L3B	NULL
+-435127410	0CkUHn44bl6xbyYLk	NULL
 -434808886	B257X5x	16191.0
--434105688	NULL	-3544.0
--433657233	63QHPb4LMH52Rr52	-12040.0
--433146870	NULL	NULL
+-434301965	p568R4q2d3342ejH4	NULL
+-434024748	E1fHP15nPQXjBxCo3u	-12098.0
+-433657233	NULL	-12040.0
+-433149581	NULL	6723.0
 -431383655	40PQ82QY6	NULL
--431086633	NULL	NULL
--430900389	ct55nKy6085wEBl	-8391.0
--429839155	jSUVVR	-7375.0
--428885897	5rvGhuUle	-13956.0
+-431086633	48fOGR7H6oNnh7m3Y	NULL
+-430900389	NULL	-8391.0
+-430590982	3B3ubgg3B6a	14468.0
+-429107590	NULL	NULL
+-428789177	NULL	-10558.0
 -428789177	rUMy375oEX854bi6Q8VU0Wl	-10558.0
--428332947	GPntPwnx0	-14438.0
--426394849	NULL	NULL
+-426519728	NULL	-16221.0
 -426394849	JUm3vwG65q33	NULL
--426155472	r1L2WTM	NULL
+-426300618	o085ifc06u6558WpyJX0	NULL
 -425961561	QOh77Nn0071FMlBWw	15897.0
--425940445	NULL	-165.0
--425555896	2WB7711J	-11074.0
+-425849690	NULL	NULL
+-425555896	NULL	-11074.0
+-425233772	NULL	NULL
+-424953123	eX01IDE0Y7qmepEq57Gh6x2	-7123.0
 -424190481	NULL	5770.0
--424190481	g5su4Pm4QR6jx	5770.0
--423689797	Kft68MpoAc4tLMS2ck3	NULL
+-422969530	NULL	-12585.0
+-422035309	NULL	NULL
+-421649126	p0s376hDu	-14817.0
+-421513283	NULL	-6328.0
+-421513283	T7eUGy8NktrfLCyXKIK	-6328.0
 -421492474	Sv5fP736jr43u8dlx10lIOwi	-6764.0
--420674961	NULL	NULL
--420135468	NULL	-34.0
+-421277688	MXefAh62BQEYn6T54AuUf	NULL
+-420460509	4s1k1B653oP	-4657.0
+-420135468	6Fd38ih	-34.0
 -419494681	NULL	12819.0
--418168174	4dYt6bF5xfHG2v4Fd56P	NULL
 -417554494	6v1086YVc6I73mp	NULL
--416995183	t2Hlw6483gjNM4UmOetl44	NULL
--415509551	p20f1VG8h	9417.0
--415089543	Crlnej6pMKb	-748.0
--412772386	NULL	-11809.0
--412327394	1Av1DMN8BV7	-3789.0
--412298950	37EE5NIy	-12996.0
--411225246	h0F64HhMhM78JIo3tWkVN	1594.0
--410545279	R1dYp46f6	13776.0
--410211396	NULL	NULL
--410211396	C470S3c	NULL
+-417159357	cAULCRDJ	-246.0
+-416995183	NULL	NULL
+-415983930	WL65H3J	-13307.0
+-415276695	NULL	-14790.0
+-413553449	NULL	NULL
+-412772386	uO4aN4J0dKv3717r8fPG	-11809.0
+-411689727	l616H6JH2J6U4263R41sP4	5263.0
+-411535469	DUSKf88a	6764.0
+-409413973	NULL	-16109.0
 -409413973	gA0M8GmMH6TcQCGdQi40Mj	-16109.0
--409299881	NULL	NULL
--408535432	NULL	NULL
--408535432	a4F87eJ6H	NULL
--408410552	LrOMx3GjUHE614W7s36tp	NULL
--408205889	NULL	NULL
+-408970065	NULL	NULL
+-408799577	bHf404	15823.0
 -408205889	0jP5vF5FAwp	NULL
 -407328434	66wWE8r6	-3065.0
--406995493	r54ce	NULL
 -406033828	au3q16lrAbWbHFqF	NULL
 -405352567	7qYP01VYV7LgSn3bdxRcv6RI	8058.0
--405122882	NULL	NULL
--404205020	NOCE8N1D5yL2NU6	-12888.0
--403638902	365IQF87op3G5G7	16218.0
--401887816	snx0x	-5482.0
--401213271	71Jt3gli42yRhyWk0	-4574.0
--399616165	CmsLN67Kn06aGHb0nWJrh0o	13270.0
--398903644	xDJlfn	12426.0
--398718046	NULL	14449.0
--398691999	NULL	-12348.0
--398691999	131Dphpt2j2FB	-12348.0
--398120138	NULL	NULL
+-405122882	54GiCgon04NXfnms6b5WRj3W	NULL
+-404012579	NULL	-15055.0
+-402903993	SIUKQ52i702FMVn5	NULL
+-401213271	NULL	-4574.0
+-398120138	6IWllEnT	NULL
+-396971948	e2m8waBVlVU	NULL
 -396656886	NULL	NULL
--394956612	aTuJRwHes2vW1Rl	9767.0
--394531032	V57x8Ma3SD2eM877o5	NULL
--394064473	10	2459.0
--393115076	f2IpQuEKjVlAdLrmeSqeH8	NULL
+-396656886	XtF80FdC1a3Uw22G6GIPr	NULL
+-394531032	NULL	NULL
+-392722012	B2pg4xQ01oKud01	7327.0
+-391657207	NULL	8482.0
 -391432229	NULL	NULL
--391432229	00k3yt70n476d6UQA	NULL
+-390984182	NULL	NULL
+-390984182	gew1eby3AlYSvPICC3	NULL
+-390244123	NULL	NULL
+-389868111	NULL	2322.0
+-389868111	He570RJQUrj7VmG	2322.0
+-389586882	NULL	NULL
+-389556832	NULL	NULL
+-389049392	NULL	13877.0
+-388258881	EjY6DSn57x1v5h	NULL
+-387828644	NULL	NULL
 -387744292	NULL	NULL
--387744292	3JpLF0U3uFrIM	NULL
--387378001	NULL	NULL
+-387057742	gu1GY0	-2481.0
+-386882338	NULL	16141.0
 -386882338	p0L6EI7X5jX66cV	16141.0
--386083106	hRUvK70d5B4F	NULL
+-386298671	NULL	-8256.0
+-386083106	NULL	NULL
+-385971882	V0w3pYUxg4Pe85bSga6	NULL
 -384309925	cL4J4B	15260.0
--383248491	2g07108CQP0nN6tb	NULL
--382713185	4Pv3ny42Wj23L	NULL
--382525011	Xvyjl2vcUcxY4	-14086.0
--382359353	ha4TkVEql240gCbQ17A	-10760.0
--382099202	NULL	NULL
--382099202	FBWY8rR466Y	NULL
--381433945	NULL	5517.0
--380794509	bFmH03DgwC5s88	3956.0
--380733719	NULL	-2120.0
--379541306	NULL	2039.0
--379504185	NULL	10994.0
+-383529039	NULL	NULL
+-383527791	fEU8HAO6NWJjF44X87	-695.0
+-383248491	NULL	NULL
+-382713185	NULL	NULL
+-382359353	NULL	-10760.0
+-382041363	NULL	3907.0
+-382041363	CRP2ah1peUgDrj750RU53l	3907.0
+-381420136	3G0hB0J4W5	NULL
 -379279396	NULL	NULL
--378499098	NULL	328.0
--377908428	JC6BaR5i7	NULL
--377568943	8Fx0J88	NULL
+-379279396	n3WIT2YtCj	NULL
+-378716466	RR75iYIk1Ni2005Ua74s58cY	-807.0
+-378082477	G3yY14P0epy8DUS5KR	10152.0
+-377908428	NULL	NULL
 -377167247	NULL	7468.0
--376510221	Ho2IJ5Vpi16A	-9994.0
--374000216	2M106hVFEhu	NULL
+-375983250	KG2X4bEy5bahXgT7OPn	-10416.0
+-375824013	83d6qEj647pMQC7	-13439.0
+-375807166	NULL	NULL
+-375807166	K2uHR7U36540Kx6tC	NULL
+-375550719	a58Ux	8558.0
+-373584666	NULL	-11521.0
+-373584666	2Mf0x4c2BF24c2w734t1EY72	-11521.0
 -372530019	NULL	NULL
--372530019	758SskfjqM6DdFRN0a	NULL
 -372506148	NULL	-12525.0
 -372474751	5Q1O33oqrTMit1GsEy7h	2052.0
--372247894	NULL	-5423.0
+-371793957	NULL	NULL
+-371592167	NULL	-11546.0
+-371592167	oi8Ci6j3bY6b417nURA	-11546.0
 -371174938	NULL	NULL
 -370919370	Ybpj38RTTYl7CnJXPNx1g4C	NULL
--369233503	NULL	NULL
+-369004155	r55X6tJ4eKvh	NULL
 -368633061	NULL	1806.0
--367267662	76vQ4v6BuhJ401g6U6	-6450.0
+-367417430	2sF6Qdn5w5qO805cSaFV	NULL
 -367195514	NULL	-13339.0
--366013983	NULL	NULL
+-366013983	Jm1d3h3OxQE	NULL
 -366008709	NULL	NULL
--365854616	ErbOvqGF6Yyik074	-3350.0
--364990139	NULL	NULL
+-365823160	NULL	-9188.0
+-365558923	5MU66wbAk41JUMg0055Nlv	14841.0
+-364367902	NULL	NULL
 -364224586	NULL	NULL
--363596446	8M42dX6x214GLI	7956.0
+-364224586	7AJH2574A48M0I1wN	NULL
+-363618814	akSq5ElsFg	10225.0
 -363405691	NULL	-6280.0
 -363405691	TD5Y632oD1u	-6280.0
 -363080167	NULL	-1997.0
--363032626	NULL	NULL
--363032626	0f4422CBSl	NULL
+-362866190	NULL	NULL
+-362835731	10V3pN5r5lI2qWl2lG103	NULL
 -362365213	NULL	-6239.0
--360997782	Qfy07	NULL
--360810585	u0N4kDl	NULL
--359066897	NULL	NULL
--359066897	So2K42KNS063nP0N1	NULL
--358501153	3wlj3rr4GuYKMG6QxL64jT	NULL
--356765323	3Ea11tis	NULL
+-362048030	NULL	-5536.0
+-362048030	N7L608vFx24p0uNVwJr2o6G	-5536.0
+-361425507	SbaXC0mXWAJCc	1294.0
+-358815699	NULL	NULL
+-358815699	aCU4m258	NULL
+-356345328	NULL	-1687.0
 -356069467	NULL	NULL
 -355846558	CtU2PW66tBCk0swxglxDIp2F	NULL
--355812913	sl0k3J45	-12657.0
--355493507	NULL	NULL
+-355426292	74KfTA5ji7V0	NULL
 -354874566	NULL	9917.0
--354874566	o7QfkIJkvGnvlntbH0Ul417F	9917.0
--353919302	EHS5Xo4	14502.0
--353070013	NULL	4774.0
--352723732	d7468A5L3hm8c7gYb2	13299.0
--352430030	NULL	NULL
--352033194	wP18V45lb74l	NULL
--351639708	1sU7A2KLR2QaP3Qu	-13240.0
--350827820	NULL	NULL
--350827820	q6iS3txi22Rj22Ks4Dd	NULL
+-353397036	3LWXOlGelGXQu64Lxws	NULL
+-352637533	NULL	NULL
+-352637533	1Lh6Uoq3WhNtOqQHu7WN7U	NULL
 -350786813	S802T685lde	NULL
--349776081	11gEw8B737tUg	-8278.0
+-349776081	NULL	-8278.0
+-349618829	NULL	NULL
 -349193245	kmK1pk	NULL
--348676458	0njk0OC3d8486u	-3627.0
--348347902	8eBnNbUAGV6AAAshW	6913.0
--348315046	7p5eY6u03Oc	NULL
+-348808299	NULL	-4882.0
+-348808299	5DDtS4Q	-4882.0
+-348676458	NULL	-3627.0
 -347968026	NULL	-9643.0
--347461068	NULL	-11865.0
--346262793	78BOELSKlk1as7F	10725.0
--345607613	NULL	-10295.0
--345607613	rNLf85aEj3p4HL3x4o	-10295.0
--343728006	5Fytvc0SA8G48x0B	1160.0
--341395520	NULL	NULL
--339581189	ay5XPK0e5q3173	7657.0
--339244391	NULL	-11827.0
--339214974	UtriJV4U5N2J7M	NULL
--338131778	a0P3sn1ihxJCsTLDb	NULL
+-347968026	XMd2TpQd0MJ2Kjh1d4Pf5	-9643.0
+-345967358	NULL	-14942.0
+-344846856	7bv4R8	9296.0
+-341460675	NULL	-5226.0
+-341395520	7uEJE7MbCywRC46tr	NULL
+-340961376	NULL	-12409.0
+-339581189	NULL	7657.0
+-339244391	cQ8To	-11827.0
+-339214974	NULL	NULL
+-338184935	86C34fOeI	6113.0
 -337975743	NULL	NULL
--337874812	WT37Vm67A7YcqB	NULL
--337243024	NULL	10572.0
--335832881	ojkuXpt1U3654	-14905.0
--335475138	TrVt3076w4QSXF83Io	NULL
--335061002	7c4q8O8ft1FuY1Mbsme	NULL
--334745244	4y5o6RndF	NULL
--334622891	NULL	NULL
--334533462	oTEu1ql	4111.0
--333625346	MP6mdTJr380	NULL
+-337874812	NULL	NULL
+-334595454	u5C7glqT5XqtO0JE2686lk1	NULL
+-333549746	6tnH37n7Ow3sLtJBwoGs	NULL
+-333146464	NULL	14373.0
 -333146464	40n4Pw3EiSUL2e0	14373.0
 -332860300	4LtlcjfB4	-5811.0
 -332797811	1v6A2yY2i	NULL
--331560663	NULL	2546.0
--330475285	NULL	-923.0
--330475285	kD3piv6YvImO3b	-923.0
--329940514	NULL	NULL
--329940514	Nxy6uK6mWCk	NULL
+-331560663	imH3YwNd33DOtJ	2546.0
+-331193390	UlWG4BWte66	-9374.0
+-330939696	NULL	-1295.0
+-330939696	wa56XmVPK66nC1ob3	-1295.0
+-329995234	1Jq7kLUa3loRL	NULL
+-329126843	NULL	NULL
 -328823470	NULL	4888.0
--328662044	8EPG0Xi307qd	NULL
--328594981	Ahnqoop12M16YT	-7967.0
+-328252175	NULL	NULL
+-328252175	h1xHE	NULL
 -327724567	NULL	NULL
+-327724567	41MRiDLLRHaL18	NULL
 -327697565	01oQGbtfGX	678.0
+-325987371	NULL	NULL
 -325987371	nbcHJDu3	NULL
--325931647	NULL	NULL
--325738237	d3pn8	-9898.0
--325530724	NULL	NULL
--325401718	NULL	NULL
--324181296	NULL	NULL
--324030556	32v414p63Jv1B4tO1xy	NULL
--323664986	55W7c	11528.0
--321131702	NULL	11619.0
--320414826	0CjRwkbxbqh7T0brNr01	2823.0
+-325931647	2a7V63IL7jK3o	NULL
+-325667461	nk8ff5B5H5R7Si	NULL
+-323362404	NULL	NULL
+-321376847	1jDB0	-8984.0
+-321005021	NULL	-15816.0
+-321005021	2xgkuN5E8h7t51	-15816.0
+-319890654	NULL	-16187.0
+-319812965	NULL	-12602.0
+-319812965	xmG2iGNF6M6oc	-12602.0
 -319437654	NULL	-10606.0
--319256521	QjASi0tbFqIACJ68VtCYwh	NULL
--318800625	nISsBSmkQ1X1ig1XF88q7u7	-10913.0
--317993556	NULL	14815.0
+-319437654	1Sq6q2cfuq8	-10606.0
+-319256521	NULL	NULL
+-317846687	NULL	NULL
+-317846687	07rw6mP4WPoYcTNy1R	NULL
 -316718275	NULL	6544.0
--315584449	x5RVyqgb1TH	NULL
--313351465	s5V2MYimc0	-11724.0
--312922774	NULL	NULL
--312734094	NULL	1225.0
--311529984	NULL	NULL
--311497752	NULL	NULL
--307778402	7827246tBw33	NULL
--306404797	NULL	12378.0
+-314292799	NULL	NULL
+-313936109	JDWi48mC38uf	12470.0
+-312922774	myW247hI5iQQ4U37x5hK	NULL
+-312734094	lEXXcvYRGqGd31V5R7paYE5	1225.0
+-311497752	jXnS0M0vmQSg1Y61g	NULL
+-311401114	K7tGy146ydka	-1236.0
+-309792162	NULL	NULL
+-309792162	bXNd8y50350i1Chtw	NULL
+-309039348	NULL	12608.0
+-308199490	NULL	9289.0
 -305961377	eu3X5Qfp4sHv5H	NULL
+-305278652	XMFgr8DLLoX7m2en6X	-10476.0
+-304943885	NULL	NULL
+-304150435	3mQI8u6Qx0sf2b03t86084	NULL
 -303315524	NULL	NULL
--303049147	H1I67eBt4Lj6hL07	13259.0
+-303254000	NULL	NULL
+-303254000	DHy1oyJ2887Mr5	NULL
+-300868770	NULL	-15470.0
 -300487502	NULL	NULL
--300487502	Xe01mh1Ku5BD	NULL
 -300005579	NULL	-7075.0
 -299535011	VhrdQM4gb5	-12453.0
--297978563	NULL	NULL
--297130624	g8n6YN	14027.0
--295671643	NULL	-15121.0
--295671643	771j7A2oQyUEA1gti	-15121.0
--294794385	NULL	-12466.0
+-294794385	HTe03	-12466.0
 -293920788	T8764UNruF67h3	3720.0
+-293193244	NULL	NULL
 -292743071	NULL	15879.0
--291979841	Ghx2a1SF4w11N4880KqG5TW	1926.0
+-292729794	NULL	NULL
+-292729794	jSqRIf7HS	NULL
+-292105999	0ne4VG	NULL
+-291979841	NULL	1926.0
 -291912800	NULL	-115.0
--291820669	NULL	-7357.0
--291738291	NULL	-10424.0
--291703241	1o5T8oXJi5CAYe8540C	NULL
--291460153	NULL	NULL
+-291820669	84CIr82	-7357.0
+-291738291	BeCJRnF7x42QV53G	-10424.0
+-291180836	h2Sf5Q335KntN1ee1WHT	NULL
 -291173815	NULL	NULL
--290612265	NULL	-1989.0
--289892421	nSa8Lur3OP	NULL
--289221373	NULL	NULL
--286232918	DuLQkL6	NULL
--286135520	NULL	NULL
--285355633	LFgU5WT87C2yJ4W4YU0r8Pp	NULL
--284672864	NULL	15347.0
--284672864	AHd7wkKJOW0oL11A30rx1	15347.0
--284181298	NULL	NULL
--283317859	NULL	NULL
--283317859	6IY8ud47LutPL77K0	NULL
--282937245	NULL	-15895.0
--282899080	NULL	3158.0
--282391224	NULL	-14257.0
--281372201	NULL	-13815.0
--280993725	NULL	NULL
--280186008	WWo570W28lhx415	6392.0
--279987023	l6E3G8	NULL
+-289655108	NULL	NULL
+-289221373	vRRg2BqTsJEV	NULL
+-285915852	w3KFMs0WYfmy3vmXIoR5K	-8315.0
+-285355633	NULL	NULL
+-284981473	H3Nyq7H1t221	NULL
+-282491807	YCY6SM1FK83x0XYANbo	NULL
+-282335546	lb51aPvl6DbQ3xUpY1ce58	NULL
+-280186008	NULL	6392.0
 -279446199	P64485rj	-11565.0
+-279443756	P5fGyI5L8Slr	6036.0
 -279424983	NULL	NULL
--278512571	0863bBy3dkL74WtiERo3L	NULL
--277828168	6WRFtUnuF3scFWKkY4h782J	NULL
+-278441506	2vdVp	-11832.0
 -277497288	NULL	NULL
--277492461	NULL	NULL
--277280197	NULL	13266.0
--276642546	NULL	NULL
--276178451	NULL	-7382.0
--275477900	NULL	NULL
--275477900	6k775i02NM8tHyWkkUSbb8O	NULL
+-276841727	Y5ls7N3Qy30h43866R3cL53	NULL
+-276841263	8w7oRLS1	15861.0
+-275395091	NULL	NULL
+-275345690	D47gT3qx6tQ51hCO	-12242.0
 -274506971	NULL	-4483.0
--273802324	UA0H368kj	NULL
--273747294	NULL	-11125.0
--273130047	0qC12eb788WuYsfVmiN078	-7794.0
--273020973	dpXsh6	2456.0
--272188972	NULL	11605.0
--272069852	wwQoIT73jYdodDKWu27T4p	-10954.0
--271972718	cC7QeLfb	14459.0
--271507814	pek1nHrGOn8u4tof80T	NULL
--270759251	NULL	-7660.0
--270759251	21c1MADfD3n1QJ6j	-7660.0
--269215897	NULL	NULL
+-274500674	NULL	12004.0
+-273130047	NULL	-7794.0
+-272624632	q0YasY0Y17250cD	NULL
+-272589516	Hf8123hK0	NULL
+-272378722	NULL	NULL
+-271972718	NULL	14459.0
+-270753820	NULL	NULL
+-269689350	NULL	2401.0
 -269215897	7LdfF1415i51qpmHQI	NULL
 -268608970	XKb3MvO6I8a656xQv2ikTV	7803.0
--268579842	NULL	12690.0
--267385302	El5RUByTr1xve1tM	NULL
+-268190799	0AKcTvbG7	4608.0
+-268085738	f7oB3Nx8	4660.0
+-267883232	NULL	NULL
+-267883232	IgMk407Y	NULL
 -266645029	NULL	-6767.0
--265418401	03x70MmrDft3GtJF7y82QL8	-6665.0
--264683279	sU7rit	NULL
+-266323750	rss1vw14N	NULL
+-265220686	NULL	7270.0
+-264809208	v56YAf71SP32	7519.0
 -264128642	T0rmM12M1kobD2yqIsO	NULL
 -263093466	NULL	NULL
+-262998236	NULL	NULL
 -262884790	VC5R8kT0F7y3Y	NULL
--262730120	DHsQn6ygx86F	15555.0
+-262730120	NULL	15555.0
 -262516610	nmin10bW3n3x5JdK	-12357.0
--262169500	NULL	5840.0
--260934801	Ae8v6oxYn77701gt	-12847.0
--258812751	q4QqIdrk1tThy0khgw	-12074.0
--257468784	NULL	575.0
--257187270	M6fqXU5eC	-262.0
--257073357	NULL	-8010.0
--256767096	10ljXCFT6fG6Qi3S7414e	-7238.0
+-260816304	Ik28kU0xl50FU3Uk4opJYBA	5218.0
+-260528967	NULL	NULL
+-258933358	NULL	NULL
+-258933358	314nQ6nVj	NULL
+-257468784	I50781U82Bk0	575.0
 -255758222	NULL	8173.0
+-255758222	p8wdUiqcj165fVm	8173.0
 -254706225	06geS0K71heCEffYM	NULL
 -254223511	NULL	-7788.0
--253733916	NULL	NULL
--253336173	15w3qCVPlsGoqbi1	NULL
--253213330	OxfCar17	NULL
+-253733916	QL665K2OF6nQ7Agd6Q	NULL
+-253553869	NULL	-11158.0
+-253553869	AGI4mak	-11158.0
+-251321091	kkHRoY7	NULL
 -249787360	NULL	-2583.0
--249787360	pC6BM285	-2583.0
--249248450	NULL	NULL
 -249248450	j1lyplu58dBa	NULL
--248798534	NULL	NULL
--248449790	NULL	NULL
--247337613	NOl00pk86Qix8KT3QA0pva	NULL
--247083698	NULL	6088.0
--244295604	NULL	NULL
--244295604	m80sprxq3O4J4YC6gh	NULL
--243157819	NULL	11532.0
--242983326	5b5ILkyshcQJ04	NULL
--242346914	NULL	2719.0
--242346914	LAFo0rFpPj1aW8Js4Scpa	2719.0
--240770611	NULL	NULL
--239794059	NULL	NULL
--236448021	Xxk00X	NULL
--236279683	aEvOE7hUNO0d67AM3V7BwUCK	NULL
--234926605	DX2rT	-9078.0
--234579282	NULL	NULL
--234216761	NULL	NULL
+-248403123	7CKu35ao6U121E3o	NULL
+-248095285	5V15opaByT3DY4	5698.0
+-247337613	NULL	NULL
+-247297647	NULL	NULL
+-247083698	KRm0RfHnXwI5lA0VO5k7e	6088.0
+-244631104	NULL	NULL
+-243641076	x535B4s3elsi8Cguc2432Xw	NULL
+-242005800	NULL	2724.0
+-241696305	xPJN71vYb00l2QRpr0A8128	-14164.0
+-240770611	NULL	NULL
+-240770611	sE158DS55	NULL
+-240134636	NULL	-12207.0
+-239791677	76Xl5E7ttiejsqcvfJmtNB0	NULL
+-236448021	Xxk00X	NULL
+-236279683	NULL	NULL
+-234579282	NULL	NULL
 -234010772	x0JhWPrCmV0Vr2Ss8BO	4411.0
--233716145	NULL	2139.0
--232994980	NULL	-12086.0
+-232865856	Ocv25R6uD751tb7f2	-3657.0
 -231906343	aC14b1kcXO	15284.0
--230394617	135FVb62E6	125.0
--230164944	6Ld4Q60l3KhhGt6	1438.0
--224982624	NULL	-13574.0
--223315484	7v3bUgTi6IBDVdvyb6sU	14124.0
--222748166	NULL	NULL
--222748166	1u4j8lva4XKq	NULL
+-231833850	Ub176WlT6f78Y5s	NULL
+-229080680	8Lh4G52x4	NULL
+-228907811	NULL	1382.0
+-227080564	NULL	10581.0
+-226923315	NULL	NULL
+-223315484	NULL	14124.0
+-222793813	NULL	-5796.0
 -222632007	NULL	-651.0
--222603306	NULL	NULL
--222249017	NULL	-16201.0
--221632911	NULL	-15838.0
--219322221	NULL	NULL
--219095239	dFhWoN8nr0oDs	-4866.0
--218835680	8v8D0Sfhscn45vBdn6H	NULL
+-222249017	BuPfkehWx0mcq26yta7bf	-16201.0
+-221475929	NULL	10520.0
+-221475929	PK1Ato	10520.0
+-220482197	j0Sw233w51d1PQ	-11142.0
+-219095239	NULL	-4866.0
+-218835680	NULL	NULL
 -217767379	840ng7eC1Ap8bgNEgSAVnwas	5625.0
+-217528596	MDHRWctP3rjjvG0eio7SJ	-1316.0
+-217304850	NULL	5698.0
+-217304850	Wv6BkKRpxN	5698.0
 -217068969	NULL	4025.0
--217068969	63HcQ7E3o2M73mtoUlsr1	4025.0
--216861328	NULL	NULL
--216861328	EUl4i	NULL
--216821121	NULL	-2133.0
+-216817113	H1wKsxw3t00r7	9040.0
 -216449975	NULL	-15666.0
--215053412	NULL	-577.0
--215053412	lpqrfP03K543xi4HpDg	-577.0
--212807763	NULL	2081.0
--211853287	sOLhNq8p65eoW8e46X12WL	NULL
--210567157	NULL	NULL
--209526737	Qcgkl434Q8113uls	NULL
--209250585	NULL	10133.0
+-216272270	NULL	12505.0
+-215807367	w56Uy63x23B4T04	-15785.0
+-212807763	pYC01XWbNcD	2081.0
+-211161323	pc0F7	-14270.0
+-209250585	UExcNQO	10133.0
 -208218331	NULL	-13368.0
 -207371911	4Uh5kCybH	-15867.0
--207014540	NULL	NULL
+-207143115	NULL	NULL
 -206105661	7w4U48Dkch7l6d2sr3PpVP	NULL
--205296894	Bbow1DFvD65Sx6	7182.0
--204359131	21UE6fJyy	NULL
--203460029	72F3g4s43q208a2	NULL
--203191502	NULL	-6663.0
--203067915	yRtwkNoJ5b6x0HJ0fxP	NULL
--202022029	NULL	-9296.0
--200147500	27pysB0Qg6oA8Cf4cjWChH7J	NULL
+-205754732	NULL	NULL
+-205395916	NULL	NULL
+-205207300	riW64mY710pF87mVeIh8	NULL
+-204497854	C30EryLS	-6.0
+-204467845	6x1C4Y57mY3	11558.0
 -199287411	pxUt0f57qNtt3	NULL
--199213521	NULL	343.0
--199213521	77U1exR00smD242q6fs8sv2	343.0
--198739996	NULL	-14709.0
--198665379	NULL	NULL
--198550246	NULL	-9263.0
--197635456	MQ0fqWv7k48r6kw	NULL
--195610877	j83cOtj22H5Aje7H3	NULL
--194466522	NULL	13109.0
+-198550246	05qf7K4cL0	-9263.0
+-198215530	NULL	8984.0
+-197635456	NULL	NULL
+-195238744	NULL	-7352.0
+-195238744	KA2M874c7v83T	-7352.0
 -194083213	NULL	NULL
--194083213	gfSFVGxrOrW0Bu3UuhmFb50	NULL
 -194042802	XqKG6hVEyI5D	NULL
--193440333	NULL	NULL
--192762939	k68DME5w7XXl	NULL
--192513817	xK8VYEW	NULL
--191554922	NULL	8868.0
--191554922	488l506x	8868.0
+-193820010	NULL	7841.0
+-193820010	ocqmW20m5	7841.0
+-192762939	NULL	NULL
+-191606236	WML05unAVOf1F5IDw1S1Yv1	NULL
 -190561683	NULL	1042.0
--190561683	nfsbu2MuPOO5t	1042.0
+-190313992	NULL	-8636.0
 -189798695	NULL	-985.0
+-188910187	NULL	NULL
 -188493874	sodtQ7I41ON4	NULL
+-188335239	NULL	-7285.0
+-188165330	NULL	NULL
+-186879703	6qFCTec4H4fY5YnL4esu7	-7609.0
 -186109218	NULL	NULL
--186106849	NULL	NULL
--185626432	OST82YETg7Je2xE0J2	5245.0
 -185078755	D63exrPA1TG2XQd6406tA	-12593.0
--184384635	NULL	NULL
+-184697009	0OtfuTVJM42tR837710A7u	NULL
+-184451020	xjk22HQH0F0E161	NULL
 -184384635	OUUn180cqH5Gf1sO	NULL
--183956512	NULL	-13597.0
--183551804	NULL	5617.0
--182794914	NULL	NULL
--182794914	EqAU5Jit8kJfgutgf0U7Ren5	NULL
--182575358	8cn0K	NULL
+-183956512	rwwp4SB	-13597.0
+-183551804	AU1Wbf	5617.0
+-182575358	NULL	NULL
 -181975317	NULL	NULL
--180100086	NULL	NULL
--177894354	NULL	10195.0
--175856827	OOxiRM5Eqgu81j4o3v6	-2395.0
--173590468	S7UM6KgdxTofi6rwXBFa2a	12520.0
--172807758	8r4JLW	NULL
--172496742	NULL	NULL
+-181975317	Le1vfH	NULL
+-180649774	NULL	NULL
+-177894354	8A3dS	10195.0
+-176999609	NULL	NULL
+-176461172	2dj7o	NULL
+-175735614	NULL	950.0
+-173905228	1MJ884f1w6B38WBeya	-2575.0
 -172458795	NULL	NULL
+-172458795	0M6LCA6u038J33jdFuHfF0AS	NULL
+-171758919	NULL	-15018.0
 -171639825	NULL	-5612.0
--171103336	5ocI6aD	NULL
--169180763	NULL	NULL
--168704131	NULL	NULL
--167198275	CN30RbmhOI5ipQ6x47ca5gK	-8068.0
--164254265	NULL	-15139.0
--164144678	NULL	-4029.0
+-171639825	Sn4Y23KEE20LV	-5612.0
+-171103336	NULL	NULL
+-169899674	NULL	NULL
+-168704131	0m8aHX5yF5muTQW	NULL
+-167198275	NULL	-8068.0
+-166049169	NULL	NULL
+-165138715	Pi82o7b1r22Q0miJ2HPet	498.0
 -164144678	14UXn3xvdW88b	-4029.0
--163738679	N8222wByj	NULL
+-163857342	NULL	7413.0
+-163102235	07x1c	NULL
+-162505703	QAHN2k5a5UY046x7ae	15734.0
 -161643982	iDlPQmQC7RSxNA	-16004.0
--161594866	ah5Eixq6P7Q5	5558.0
--161029628	NULL	NULL
--161029628	1lxocR56Tc6bWcLf1GHE7	NULL
--160814339	NULL	75.0
--160760206	NULL	NULL
--159188124	o7H1gvt5G6	NULL
--158749945	NULL	8744.0
--157295768	O1Kq8bfOEoDR	NULL
+-161202090	NULL	NULL
+-160666024	NULL	-8576.0
+-159396265	8W3nO2rOr026L8	6672.0
+-159188124	NULL	NULL
+-157295768	NULL	NULL
+-156439782	NULL	-2489.0
+-155766911	7EOTdCSaFwhwSd1xuwGp6T6e	NULL
 -155139046	sL1ht23v3HEF8RT2fJcrb	9519.0
+-154870406	Oi00P6K0mQf07v7j66QXRb4	NULL
+-154730927	NULL	-3581.0
 -153945621	NULL	NULL
 -153888210	aEi5JQHQPd4Y8	NULL
--153844323	6mDJr6FCiu6d12VCj	-10502.0
--153650293	UR2F0Uwk6E5	NULL
--153460722	s53mOU	-13517.0
--153191589	NULL	NULL
--150822571	6Qjs3Ih3xykeT0	-9034.0
--150572448	ReN3066RXtQ3	NULL
+-153650293	NULL	NULL
+-153460722	NULL	-13517.0
+-153199179	NULL	-1841.0
+-151602800	LH7Gx2g0V3EV2Y1J17	14028.0
+-151596142	NULL	15662.0
+-151081820	4HI5bS2f78nG4Ig1l7	NULL
+-150805445	NULL	2175.0
 -150105259	NULL	8773.0
--150105259	27Xm6ui	8773.0
+-149220746	NULL	-12860.0
+-149106503	NULL	11393.0
 -149106503	q7GeFu8AaI0XBU5P0I3fGJJ	11393.0
 -148703640	NULL	NULL
--148155438	NULL	-7484.0
--147194845	bq2VE4s1Ps	NULL
--145970409	NULL	NULL
+-147421454	NULL	-1473.0
+-147118989	uN2i0aJe27Js	-11503.0
+-146635689	r251rbt884txX2MNq4MM14	-16296.0
+-146022581	NULL	NULL
+-146022581	c4jN67LlOd5e0tc333TN0riL	NULL
+-145106201	DOBR48RQx025y13q4767snyt	-5495.0
+-143895980	NULL	15236.0
 -143795356	gMxuFTWhkh5RQ1VJ	-13302.0
--142785248	NULL	NULL
--142742658	NULL	-7070.0
 -142742658	O8cWpb	-7070.0
--142368397	NULL	4969.0
--141728181	PC25sHxt4J	9052.0
--140428008	LXs6Xx05R8n6Yg	NULL
--140207738	wcOt34D461JG1PC2qE4014T	-13539.0
+-141426829	N3K7NJPTO620OUo	-1600.0
+-141301844	NULL	354.0
+-141301844	Mr3q8uV	354.0
+-139592123	x15jGM0RqU	NULL
+-139418541	5BkJb	NULL
 -139136637	NULL	NULL
 -137889725	p2V22B730Pto1t1Q	-10567.0
--136960950	DaV6Mq83h805DSGAI	9578.0
--136358047	NULL	NULL
--134262608	NULL	13308.0
--132996457	NULL	-6455.0
--132700287	kPhAAl8l	9571.0
--129268646	Pm1l0q2mlqmy2L55XFdLrx	-10489.0
--129248849	w3OO7InLN4ic3M0h8xpvuBMn	3255.0
--129128931	NULL	11324.0
--129128931	L05l0uM5UWt80OvwJ68M88N	11324.0
--128948759	fAlgqr6d0P817Xv2	14120.0
--128820361	NULL	8264.0
--128566414	3weWVXQv3HgolM52OI2J8NAn	NULL
+-137090086	WA6Cb1YeX7TOI7j3jnrh7W	NULL
+-135809226	sBGjdF6	-3036.0
+-135796062	d6kPi7FNW1Y	8653.0
+-135093782	uS42Umy03u16l1c6	-1943.0
+-132662286	NULL	11899.0
+-130737625	JbOAgILdJQ	10268.0
+-129415058	NULL	NULL
 -128522957	NULL	-11273.0
--128417177	ygkC2e2sUm2036Sd1U8kCG62	-8871.0
 -128253072	NULL	NULL
--127478233	31rhe	NULL
--127304786	Oi4wXnLvOLI42	-3849.0
--127134731	NULL	NULL
--127134731	WYv3r54T7Ct4h607XnR	NULL
--126780346	Rdj0Jt0pa8fLFYq24hu3UR	NULL
+-128253072	VfD3Byd4aV358l12	NULL
+-127334222	EIDkp	-5418.0
+-127304786	NULL	-3849.0
+-126780346	NULL	NULL
 -126585940	D65SRo	-15775.0
--125153778	RiF2m743j35L16v	-11273.0
 -125085670	NULL	NULL
--124623418	NULL	10869.0
--122440273	F08xx7g2V6CB0q3y	4002.0
+-124759917	Y3oJ30U4LUuen7U6JjfaexL6	NULL
+-123986376	RqGu3	-10583.0
+-122303648	NULL	NULL
 -121442810	j51d0i7u3KGhTKavw1C	NULL
--121160645	78J23v	NULL
--120885651	NULL	10854.0
--120885651	5Y503avvhX3gUECL3	10854.0
--118512520	NULL	3594.0
--117915469	NULL	NULL
--117728205	Jy4CAuL25v4JrHsIdj3d4q2M	-11781.0
--115732747	243SuYo3E	-6853.0
--114674646	NULL	-11695.0
--114647521	NULL	NULL
--114347780	NULL	-8608.0
--113231923	NULL	NULL
--113231923	5844aXalb33GMTW	NULL
--109958777	iS5AY33Qun8O1UqRcPMV	NULL
--109813638	NULL	NULL
--109479877	4LQe2Pd4m640E58XFA	NULL
+-121160645	NULL	NULL
+-120483644	NULL	-13334.0
+-120063765	NULL	NULL
+-119612683	NULL	2432.0
+-118844684	NULL	NULL
+-117903731	NULL	NULL
+-117075001	Xi7kOTT	NULL
+-115926110	28MAXOSiX	-10476.0
+-115862500	NULL	NULL
+-115862500	3ocGWW4eY55A	NULL
+-114647521	04Y1mA17	NULL
+-114347780	NULL	-8608.0
+-112517967	44vcS2S5wu684R05fq01fu	NULL
+-109813638	NULL	NULL
+-109479877	NULL	NULL
+-109176674	NULL	NULL
 -105622489	NULL	-15886.0
--103135998	NULL	-3705.0
--102936434	NULL	NULL
+-104657851	xf1y2WfXYQJ772QYXBH866y	-5550.0
+-103135998	0ciu8m3N8Mds44yxps	-3705.0
+-102544659	NULL	NULL
 -102544659	84HS58kw8B32q717TMOCYKx	NULL
--102085569	NULL	NULL
--102085569	h6pSh1A3WMOI3eY4IxD	NULL
--101217409	NULL	NULL
--99630018	NULL	NULL
--99630018	2SOiwMlQ55T05111LrY5	NULL
--99497470	NULL	4868.0
--98755301	NULL	-161.0
--97634781	51pwyg3Pdfr0	-12285.0
--96999743	NULL	-2165.0
--96060763	5cD132LLXI13CK5eGM	5867.0
--95837226	hxH7487S3TS	-2286.0
--95123914	pu2N7if4qfrnK5	NULL
--94647961	28os423	NULL
+-101198972	NULL	-8469.0
+-101177976	c8b3TkeXYCq0fvRes62t5H	-13174.0
+-98755301	kM7800unA1	-161.0
+-96444025	4e4RSbbS	-6299.0
+-95719039	NULL	NULL
+-95719039	0G60dEaeNN2vkI	NULL
+-94647961	NULL	NULL
 -94325735	NULL	NULL
--94241347	NULL	14574.0
+-93493455	NULL	NULL
+-93266641	NULL	NULL
+-93266641	QJocgOK5m46i2F1rfSCy	NULL
 -93047063	ewpwJSDQ7V8yVPSl1x2E8ey	NULL
+-92464376	NULL	12705.0
+-90911544	NULL	9371.0
 -90905568	IA46V76LhS4etye16E	2402.0
--90700531	habBG0aDt3MJeAL6	-4420.0
--89423973	NULL	-7441.0
+-89563510	U70UOCk8B7pI7k	NULL
 -88945006	NULL	-15205.0
 -88561978	NULL	-2378.0
--88303756	NULL	NULL
 -88303756	43h32gpaBvB4T3elN4s	NULL
+-87887337	NULL	-13669.0
 -87681231	4ieWq56f7mIjQNs783D	NULL
--87632890	wvd3uAAa01J6a6L	NULL
--87192706	NULL	-14948.0
--86577814	NULL	10550.0
--83972466	NULL	NULL
--83171554	YHVB0	NULL
--80005892	fIjNh3dt21cMWe8	NULL
--79994624	rw607T5rxKlE04761q	-15779.0
--79081903	NULL	-9721.0
+-87388872	NULL	10039.0
+-87388872	veoqj217BlDBBVkN0ei3c	10039.0
+-87192706	bXmqr7WJQWrLR271l	-14948.0
+-86248570	NULL	NULL
+-85760130	NULL	NULL
+-84973792	NULL	NULL
+-84925170	NULL	-7700.0
+-83972466	h5s74V3xB6SKD71q7tkjXlW	NULL
+-83309996	Ktp44q	NULL
+-82551006	FwMw41y68NnU0FGJ5k6	NULL
+-80527843	NULL	NULL
+-79994624	NULL	-15779.0
 -78695871	NULL	6113.0
--78661751	NULL	NULL
--78449163	NULL	NULL
--78323214	NULL	NULL
--76877665	q7R00045lYjcd	-11216.0
--76654718	NULL	16292.0
--76469060	2QNVLQqPARH24r6rb4	NULL
--74122040	q2y64hy2qi458p2i6hP3	-7982.0
--72806461	NULL	NULL
--71645226	NULL	NULL
--70850117	APvOgiDChph5N	10569.0
--70626947	mbc5yM1H41i	NULL
--70542516	Q31pMN30tPv010W0U2h1s124	NULL
--70008482	NULL	279.0
+-78323214	7o0LS1	NULL
+-77830367	NULL	NULL
+-76560910	KDr0tMRnCJJIBA84	NULL
+-75279452	F4J3N2IsV4JvOl8i0B	-5378.0
+-74972257	NULL	1668.0
+-73603164	2wRURKtw8	NULL
+-72587448	NULL	10201.0
+-71645226	Sm7i8BB	NULL
+-71635506	036tLb	-9761.0
+-70626947	NULL	NULL
+-70087205	NULL	-14550.0
 -70008482	B4QXimuNY4jvyEB0o	279.0
--69741460	EbLh7DAd	-682.0
--69523076	yV8IBrXiawvrRqVkpmp111p	NULL
--67798147	NULL	10069.0
+-69210760	NULL	15631.0
+-68719772	NULL	NULL
+-67924063	5O4amH0XK1mu8716	NULL
 -67700809	NULL	4819.0
--66580803	TBj2D5CqREcC5	NULL
--65974755	2of2Yx7uYE6fE	5384.0
--65507877	NULL	NULL
+-67700809	qo2Go5OQTco35F2	4819.0
+-66684246	g2i0JT65x	10658.0
+-64947310	NULL	6612.0
+-64947310	vvictFVSOgi	6612.0
 -64916643	NULL	NULL
 -64916643	nQ1I5X4X01qL8FyieiED0	NULL
--64615982	8J5OB7K26PEV7kdbeHr3	NULL
--64438684	A063k5	NULL
--64349066	3E1qqlB24B	14152.0
--63554177	BS36Mx2tu76K	5654.0
--63489627	NULL	NULL
--63489627	8DiQ6F8xlhM188R0eyIOb	NULL
--62918432	rKJRy0v1t2MRedVl	NULL
--62451652	NULL	-15358.0
--62451652	4mWvIJC3fkoF0XMf24g0	-15358.0
+-64519684	NULL	-8512.0
 -62136233	NULL	-12160.0
--61251924	NULL	14070.0
--61079237	MD7aMN1a0s7S1H2QS530	-2815.0
--59729639	NULL	10775.0
+-62136233	5f20hgbl5yG38L15f4m	-12160.0
+-59729639	P61xNCa0H	10775.0
 -59237850	60KqhA	NULL
 -59020090	NULL	16092.0
--59020090	eCd2BHx36NE3eVQQX7YO2c	16092.0
--57891846	aQW84A	-3947.0
--57495168	NULL	NULL
--56999124	NULL	NULL
--56713844	6kT46TpQ0yPY0	NULL
+-57891846	NULL	-3947.0
+-56713844	NULL	NULL
+-56645863	NULL	10398.0
 -56317608	s2N0j0FMB2k5hnMb	NULL
--53222518	NULL	-7398.0
--53015643	NULL	-15091.0
--50482170	00LnqxnThlCib	-12444.0
+-53015643	03ej428XuL0ryi86e542	-15091.0
+-51563665	NULL	-179.0
+-51563665	HBWrcQ4pLka11738w	-179.0
 -50437999	NULL	NULL
--48546907	Qm31gHB65	-6193.0
--47899189	s1q74N5JbQBuw23	NULL
--46147998	NULL	NULL
--46147998	T3D1O22bKcQigRmWhE5iXG5	NULL
--45105417	nkn5JmM4Fw58	NULL
+-49548829	Eg14uIJR0L4A0	1609.0
+-48738794	V8nNN6	NULL
+-46934679	NULL	-13436.0
+-45105417	NULL	NULL
 -45044339	4W87PCaousB	-7002.0
--44458509	OgARV6n1iMYIW1VUm1ybG	NULL
--43011781	NULL	-3553.0
--42528294	NULL	NULL
--42359142	NULL	10750.0
--42334147	45WlaD0HipAojCT	-6060.0
--42252884	NULL	NULL
--42252884	2wbgE0Yo1RX82H2sp4f1l5	NULL
--42108886	NULL	NULL
+-43427084	NULL	782.0
+-43153140	NULL	NULL
+-43153140	567H50IcGCq1a3u1	NULL
+-42936634	NULL	13810.0
+-42936634	5ryBb3VcnJhasRP45	13810.0
+-42528294	bI55nJLOusG5i	NULL
 -42108886	1d8jOa45wiiv	NULL
--41279133	NULL	-9776.0
--39876755	NULL	NULL
--37953195	NULL	NULL
+-41176806	NULL	-2942.0
+-38284561	NULL	-13787.0
 -36574440	NULL	2315.0
--36340646	NULL	NULL
--29994278	TlU343q2ha8vt	NULL
+-36259286	W4BV6M3DalIc8ypF5K3j	NULL
+-35545528	NULL	8587.0
+-35253945	NULL	-3514.0
+-35226400	NULL	-1937.0
+-35226400	nl88MG1Uf7dNgIXK5nc6	-1937.0
+-34865797	IFW3AU8X61t86CljEALEgrr	11329.0
+-34050882	W8IM4inL46o67VXd	NULL
+-33446556	Sekt3bIDh7sr6X8	NULL
+-31312632	NULL	NULL
+-30765502	8fILes	-4357.0
+-29994278	NULL	NULL
+-29958522	NULL	-14302.0
 -29634594	NULL	-684.0
--29086815	S2XuI4SnrfBF	NULL
+-29527270	NULL	NULL
 -28925879	5F31f22Fy1tSMjqt800	NULL
--28369340	NULL	3890.0
--27997612	D7nv643DTrg0H	-7610.0
--27946144	NULL	NULL
 -27028573	7GFyG3	12402.0
 -26791429	8TM0eO67oHDf3spTRmJ8k	NULL
 -26259288	NULL	-12163.0
--23608683	NULL	14202.0
--23503077	NULL	-7118.0
+-25171721	NULL	16169.0
+-25171721	u768s	16169.0
+-25028803	NULL	-4002.0
+-25028803	x8n40D35c65l	-4002.0
+-23503077	0mQ565Vg5K1886	-7118.0
+-23321680	NULL	5057.0
 -22545737	NULL	NULL
+-22531931	G4XIV50v8Ncd3	NULL
+-21648710	NULL	-16140.0
 -20301111	NULL	NULL
--20147182	NULL	-15001.0
--20147182	c7awd4680fkDD47oM0N	-15001.0
--20121529	anVE0u	16018.0
+-20301111	e13dNAo71UXm4Yt1u	NULL
 -19828752	U2KLqT2	7242.0
+-19679626	NULL	8196.0
 -18878335	NULL	NULL
--17626436	hgy7Y	NULL
--17453444	voB0wFAf7H2PvUe180Gkj710	9365.0
--16159124	NULL	NULL
--14916473	30S16Yv88FUQsDS2	NULL
--14414827	NULL	NULL
--13569695	NULL	NULL
--12173784	a88x2Cl	NULL
--11498431	0p7sCjwPHtR5u1	8532.0
--11126607	pPDa1	NULL
--10784880	E0E7P7p84ltGE4	NULL
--9329892	NULL	NULL
+-17651497	NULL	-12817.0
+-16906075	NULL	NULL
+-16159124	U3pW0g	NULL
+-13569695	Qgoscb7	NULL
+-13156992	NULL	NULL
+-11126607	NULL	NULL
+-10413649	NULL	NULL
 -9011819	NULL	10852.0
+-8413710	NULL	-3942.0
 -8230445	K6J1LIb5	-8836.0
--6197970	NULL	-5750.0
--5383616	2Xgj2n	NULL
--3909905	NULL	NULL
--3142913	NULL	NULL
+-3909905	8QWCbCQMIc3bsI7	NULL
+-3740791	410L723g40Le351u	-11597.0
+-3142913	RlrTc	NULL
+-3123115	NULL	-11852.0
 -3123115	8sGhaa2c	-11852.0
--2502463	Bu4Dn5U0tvu	7474.0
+-2816147	NULL	NULL
+-2502463	NULL	7474.0
 -1637020	NULL	NULL
--992630	NULL	1824.0
--3728	3YXp6Mn7N2jSCncj8S6DX2U	-75.0
-762	q5y2Vy1	NULL
+-1637020	73yDbT5WqsMNEB7FmJ3h	NULL
+-992630	tUFKK5Qb31YWBiNT440tv	1824.0
+-3728	8tF35fd8P30QE4nDj1YkEj	NULL
+762	NULL	278.0
 6981	NULL	NULL
-6981	4KhrrQ0nJ7bMNTvhSCA	NULL
-6981	a3EhVU6Wuy7ycJ7wY7h2gv	NULL
-6981	o5mb0QP5Y48Qd4vdB0	-75.0
-1248059	Uhps6mMh3IfHB3j7yH62K	-3799.0
-1286921	NULL	10782.0
+86028	NULL	1535.0
+1000828	NULL	NULL
 1288927	yinBY725P7V2	-13036.0
 1310786	W0rvA4H1xn0xMG4uk0	NULL
+2089466	NULL	NULL
+2089466	cXX24dH7tblSj46j2g	NULL
+2101183	NULL	-8915.0
+2229621	NULL	NULL
+2229621	q7onkS7QRPh5ghOK	NULL
 3073556	NULL	NULL
+3253295	Ut5NYg5XWb	-12328.0
 3583612	hrSdTD2Q05	NULL
-4756105	NULL	10144.0
-4972984	NULL	NULL
+5378273	NULL	NULL
 5378273	JxddK7Pl4VF48	NULL
-5635387	NULL	-16008.0
-5635387	ksgjhJ	-16008.0
-5643626	a	3350.0
-6171245	RYxq5	NULL
-6363876	NULL	-13672.0
-7473341	NULL	NULL
+7473341	5VexJO	NULL
+7625769	NULL	NULL
 7625769	k552ySnmJE64PBfOx	NULL
 8469390	m6Q36741pMsD5JK	-8059.0
-9162604	Gn2Q3q7bvg6J56K	NULL
-9785206	NULL	15895.0
+9785206	U4MrN4CKBl84	15895.0
 9813513	NULL	NULL
-9813513	8G82H54442m0AjgH3a4h	NULL
-9862235	NULL	-4000.0
-10844929	7oGCjqpW2HtYrd6h2	NULL
+10621146	NULL	NULL
+10844929	NULL	NULL
 11340479	NULL	NULL
-11910281	NULL	-1876.0
-11953776	1110xVQF524nk2h2k4Aw225	NULL
+11340479	64BdFi2c15JM5X17	NULL
 12156753	NULL	3083.0
+12236295	NULL	8148.0
 12471559	0xsFvigkQf7CEPVyXX78vG7D	4014.0
-13248172	knO0j77	7889.0
-14160401	NULL	10796.0
-16407274	NULL	-1298.0
+13042011	NULL	NULL
+13042011	4s0J04m4B52	NULL
+14667203	NULL	NULL
+15734060	qs15562E0jiXE	-4546.0
+16175754	No3B0Y	NULL
 16407274	G8N7338fFG	-1298.0
-19384083	NULL	NULL
+18864236	4hyAJ1G3u61	-1184.0
+19443550	NULL	NULL
 19852217	NULL	-11198.0
-21294119	NULL	NULL
-21560842	NULL	NULL
-21560842	vxwTTLWW2SR5u	NULL
+19852217	oTh026tl2Ena	-11198.0
+19970255	NULL	NULL
+21294119	FWwENlTM6u	NULL
 21749133	NULL	NULL
-23401060	NULL	14993.0
+23334727	58xyX	6346.0
 23658127	NULL	-6276.0
+23658127	jeH4F8mXX3r7k5LAE0D0S2	-6276.0
 23816414	NULL	NULL
+24087172	NULL	14894.0
+24381414	4lN2ugyM0MGtsv4Ak1	9916.0
+24516353	NULL	-892.0
+24516353	y3WX5	-892.0
 24591591	NULL	NULL
-25096973	NULL	NULL
-25355635	vyIcEkPjI	-6359.0
-26092668	bXQMX15tRQ8PeY0jg	NULL
-27005810	418K4e01f6b	NULL
-28300976	NULL	-6041.0
+25096973	ctL23E5x1d1	NULL
+25892751	NULL	NULL
 28300976	RofP7f28bOQVdiqDqB45Q	-6041.0
-28645783	Gg6B3fm2KvV4mnVO08GYQd	13553.0
+30128333	NULL	10511.0
 31546342	NULL	NULL
-33589012	NULL	NULL
+31831906	NULL	15061.0
+31831906	8tL4e4XE8jF2YLJ8l	15061.0
+31832752	mby00c	NULL
+32273371	NULL	16127.0
+32273371	TxL3nqa285133l	16127.0
+32447323	NULL	368.0
+33438962	NULL	NULL
+33659728	NULL	NULL
+33659728	Qmin46	NULL
 33788039	xtKOiPbIr0p	2731.0
-34725959	NULL	8218.0
-35326765	77WBDf3sbTiSpv8SS4cp	-14820.0
+34725959	J67TT5A	8218.0
 35585446	AMW7A	NULL
-35970391	HyL5Mriw867oUioTmr2SLfO0	13619.0
-36071331	RHmS8V3K3lwHRXMOOQh	11156.0
-36143086	NULL	-8154.0
-36674501	NULL	NULL
+35949208	NULL	6775.0
+36071331	NULL	11156.0
+36271512	NULL	7894.0
 38136538	N7Cd61u56HG5ih0AD2u6	5761.0
-38325593	NULL	NULL
-38325593	S87OO	NULL
-39631348	FUuADXtCD5	NULL
-40332298	NULL	-15640.0
-42580880	NULL	8119.0
-43902220	st73jSGkw03I	-10976.0
+39199236	Y1gVqivH	NULL
+40332298	61u4nyOWkEKfsnkFsDWYr	-15640.0
 46485849	aDNmF88FfTwOx7u	-8251.0
+46926142	NULL	-9681.0
 46926142	SE4SQ1Mk7n50W7832a68e	-9681.0
-47430299	qBbicAX56Fb7ay6w3p	14367.0
-50780313	A6F00275L4jx8tNc	NULL
-51219128	NULL	NULL
 51356621	NULL	NULL
+52223342	NULL	NULL
+52590239	NULL	NULL
+52590239	13AA4buw5j0xj33Fie0FAl5	NULL
 52754168	NULL	7480.0
-52759230	yX1Yqh86o275cYKdoU38	NULL
+52819344	NULL	NULL
+53682820	NULL	-15516.0
 53682820	3X6iff67S3	-15516.0
-55059147	NULL	-10736.0
-55364990	NULL	14724.0
-55364990	UpgW013RlYKu1NusJDW	14724.0
-56435815	NULL	NULL
+54170876	NULL	NULL
+54170876	1gdr1s14ckUm4h0A6Qj	NULL
+54908166	NULL	8499.0
 56435815	I8xs313m1Nk0aC4ofVyYV	NULL
-56488773	NULL	2808.0
-56786044	NULL	1116.0
-57613109	NULL	11245.0
+56439112	65mIi6OLkWrv1iSiM1wia	NULL
+56942024	NULL	7148.0
 57613109	8NjevW2H3Kjnws2iC2qrom	11245.0
-58198060	t7Sx50XeM	7557.0
-59656792	NULL	NULL
-62033736	NULL	15821.0
+58675385	42NY72w	NULL
+59081575	NULL	NULL
+59822905	kXk5i4iD4GuhDA4e5FCojf	7677.0
 62033736	rN3lL6o2iL5ivV1nbA0HEL7E	15821.0
 62078884	NULL	8246.0
 62191674	a	-5905.0
-62288881	a7654w	NULL
+62368995	T8G173Q7r	NULL
 62879768	w001v23l5b6tau7H	NULL
-63278416	NULL	NULL
 63582999	NULL	-5904.0
-63582999	HxBe5ucg73m6	-5904.0
-64196648	NULL	13963.0
-64196648	NLeWW8OXjm1680DM5MU	13963.0
-65604420	NULL	NULL
-67874426	NULL	-16020.0
+63936970	jnd73503RfJPdliu05654ToE	NULL
+65604420	b3T1L5u7us8	NULL
+67874426	qn33qx7P6AO453mw7VnHqf	-16020.0
+67880747	NULL	-9400.0
 68539643	NULL	NULL
+68539643	FIVQ8	NULL
 68546171	NULL	-1207.0
-68546171	S2I2nIEii3X5	-1207.0
-69176247	R03eo03Ntqej0VDQbL3	-1976.0
-70633449	61eT82N24	NULL
-72582846	NULL	NULL
-72733259	NULL	NULL
-73020444	NULL	NULL
-74088054	NULL	NULL
+70144994	NULL	-4168.0
+71286944	NULL	-3833.0
+72351386	NULL	15130.0
+72545355	pet0IMWH73YrC3UesG2jRRQ	-1364.0
+72582846	0YAn3Qyo	NULL
+73020444	0HxgXxO8E4kP4pBLH8qH	NULL
+73052485	NULL	6134.0
 74116189	NULL	6780.0
-75552664	NULL	NULL
-75998482	NULL	-15010.0
+74429277	NULL	NULL
+74429277	HP835voXi4JJFIQH4Bj24t3e	NULL
+75740836	NULL	NULL
 75998482	5wf4DOCHD2jarRA76GQ6dX2	-15010.0
 78912991	NULL	-1211.0
-79493016	NULL	-15635.0
-79493016	D02Xb5NBPo58PrT3i00	-15635.0
-79986354	NULL	NULL
-80966580	Odc3l6Y0PG	NULL
-81249405	NULL	553.0
 81249405	LSX841mxv72hO7	553.0
-82922609	8yLnMOGxRK4e0Nff	NULL
-84105819	NULL	-5132.0
-84859536	NULL	-1198.0
-85636588	OP2o26bb8V3	-815.0
+82579826	SaLkDRK8Eo45NsVo	2984.0
+84404564	NULL	7723.0
+84859536	U8qkvKqHFm85	-1198.0
+85352426	CwKybtG8352074kNi8cV6qSN	-15279.0
+86752468	NULL	-11034.0
 87257330	NULL	NULL
-87681013	5427N64msn31	NULL
-88129338	NULL	NULL
+87681013	NULL	NULL
 88129338	100VTM7PEW8GH1uE	NULL
-90291534	fE6QXN3HR04aEMiV6AM8	11859.0
-90530336	NULL	-6209.0
-91248216	K5H5uc6M367aVUqW1QP72smC	NULL
+90291534	NULL	11859.0
+91228532	7YdpF7T2	-8350.0
+91248216	NULL	NULL
 91421179	A72HPe7U2Ss24o0mmt58YXMm	NULL
-91838950	NULL	NULL
-92351302	NULL	NULL
-92365813	NULL	NULL
+92372470	NULL	14126.0
 94443726	CP1IS	NULL
-94492492	0Pgnxt8CrtOEWy	348.0
-94926750	gqgj30mc6Sb2aY8chi4	NULL
-95051545	NULL	NULL
-95424126	NULL	9766.0
-95424126	txKwQS70d20	9766.0
-98829108	H1V38u	-809.0
+95818830	NULL	3659.0
+95883332	aNuMW2	NULL
+96245731	NULL	NULL
+96245731	2Is2C874	NULL
+96592452	2kQ5t0876n4JffOpftYceg5	NULL
+96612657	NULL	NULL
 99016582	NULL	NULL
-99016582	TjA21WuE8m63UJis51Y	NULL
-100184890	SI0aUsOw28FfHfuCHj5pd	6408.0
-102100092	dfGQS66i2xSq5TmD7	-2704.0
-102639277	NULL	-9379.0
-102940972	NULL	7585.0
-102940972	02e5aKv	7585.0
-103964317	NULL	10252.0
 104431185	NULL	NULL
-104464149	NULL	-13944.0
-104464149	CXpa3gF20	-13944.0
-104591404	NULL	12314.0
+104591404	qEnAcc0d104j	12314.0
 106531071	wkgvVMn7Xf	6787.0
-107771124	NULL	NULL
-107771124	7vH6I81S0	NULL
+107557231	1FC278dD8i67Hw	NULL
+107800292	NULL	11526.0
 107800292	Fdsa3uDj6	11526.0
-108023602	veIw1kh7	9239.0
-108508199	GFH0nk84rU7	-10029.0
-109852993	u1DvW52x	NULL
-110864207	NULL	NULL
-110864207	nPy0TgiIloESA8nQ4Kkt2	NULL
-111309368	NULL	-14789.0
-112317273	NULL	-5732.0
-112364307	NULL	5495.0
+108023602	NULL	9239.0
+109514412	NgfUMoYbR7kETkr8	14073.0
+109724523	SQo81Uq6IwK035	-6097.0
+110291227	NULL	NULL
+110720051	3HhL08q56583	NULL
+111628027	NULL	-18.0
+111628027	6U73ihbtbGkqB	-18.0
+112317273	FpsIohh60Bho67Fb7f	-5732.0
+113444661	NULL	NULL
+113722032	IXMkdqJHU46dVte76I3Cy36m	NULL
+114010008	NULL	NULL
 114525251	NULL	-6467.0
 114525251	JAT5D2Fkpd5FC	-6467.0
-116481537	NULL	NULL
-117485330	NULL	-9419.0
-119552806	NULL	NULL
-120409809	NULL	163.0
-120817922	w0cH16P44K2bo4grtgoOyEM	-1370.0
-121354662	SCh73	NULL
-121694374	NULL	16336.0
-122184977	2W4pf6Qy1bP	11437.0
-122188591	NULL	NULL
-123302077	NULL	NULL
-123392939	NULL	-4122.0
+118684026	Y442l2y0Y5rdjju4tIR	7409.0
+118872475	NULL	-7493.0
+120409809	rrXQo1n6PXke	163.0
+122689479	NULL	NULL
+122968917	NULL	-15189.0
+123978922	8Fif8LgR5X32HbH4	NULL
+124173685	NULL	16327.0
+124173685	gL4Yd4kwC7853nBBfiWTmk	16327.0
 126451718	NULL	NULL
-127979645	u2v3K7Me88Xm3Hqq6uNn	-877.0
-128783886	RY01bhu1p0G	NULL
-129290549	NULL	NULL
-129305993	K8Y8N	NULL
-130057843	NULL	NULL
-130278332	x4Hx22rY8	6005.0
-130790788	NULL	4246.0
+126451718	b7tPXCg67lmmr	NULL
+126654973	1VtwojBM48g0	4525.0
+127021686	6PpbCyjf6c88b	NULL
+129290549	o1uPH5EflET5ts1RjSB74	NULL
+130440890	8nrs8SX553uTd63hTJ	NULL
 130790788	dPPDUuv2ISw501i2p	4246.0
-133601931	hu6I51nNlePTerleQ	-4005.0
-134099479	NULL	NULL
-134144492	4Mk3721iRh6	NULL
-134810808	1rr8w33DhG7xf1U	7263.0
-135052738	NULL	-7424.0
-135576981	NULL	NULL
-136715714	y2Q3YW	11813.0
-137170534	NULL	NULL
-138360884	NULL	NULL
-139403142	Y1B7s	-13161.0
-139942318	drGld1C74Thqq38208jQ7B	NULL
-139959654	NULL	-12426.0
-141383360	H4fFjtoak	NULL
-141491522	NULL	NULL
-141523816	NULL	5640.0
-141919366	NULL	-15729.0
-141919366	Fq87rJI5RvYG3	-15729.0
-142591324	04yYaarM36u3dD3Ho	-3794.0
-144081773	w7PV8VhGA	NULL
+133601931	NULL	-4005.0
+134000318	NULL	NULL
+134000318	8Q14Obe1sC82s2s10v44Pb	NULL
+134099479	Bb2AdwWmQOcwJhqF	NULL
+134144492	NULL	NULL
+134249513	NULL	-4855.0
+134249513	p5P22Rk	-4855.0
+134810808	NULL	7263.0
+134957435	NULL	NULL
+134957435	342N64u7yB	NULL
+138250210	NULL	NULL
+139218747	NULL	-8342.0
+139218747	n3M7aAb5257vTBYg747533L	-8342.0
+139403142	Y1B7s	-13161.0
+139931394	i5bJlwLtK8	-4896.0
+139942318	drGld1C74Thqq38208jQ7B	NULL
+139959654	5bE05Udr7Xm	-12426.0
+141207921	NULL	-2716.0
+141461867	NULL	11865.0
+143493564	3Fhv1QY7Y776eQ38a	NULL
+143648493	NULL	NULL
+143648493	4L44FU3D3OA0FN4y	NULL
 144397324	3yb1J836s0x	NULL
-144613217	mq6H1L8F72	1836.0
-145894839	3epPVP3r6d	8748.0
-146682000	PQv3N3YYx	-3072.0
+144613217	NULL	1836.0
+145999066	eYi4x1MVI7	-4165.0
+146682000	NULL	-3072.0
 147650801	vHIBETRJieO3a6px	NULL
-148145514	NULL	3700.0
+147876792	NULL	NULL
+148746074	NULL	NULL
+149536220	qWjiN8uWg1n	-173.0
+151286620	NULL	-9624.0
+151286620	kBjHVSj8v3Xvx58q824D	-9624.0
 151374813	NULL	-4251.0
+151374813	3GQ55vjr7oQI3u55bFk4GOL	-4251.0
+151510572	NULL	NULL
 151510572	1RWm38Sn4LfJyr7341Mg	NULL
+151711545	NULL	NULL
+152370249	NULL	7505.0
+152502054	NULL	-13152.0
+152502054	6H463iHBu1HNq3oBr1ehE	-13152.0
 152755896	NULL	-12874.0
-154675411	u2n76PICX	NULL
-155829109	NULL	NULL
+153385427	LT14Ev	NULL
+154731292	U7JukXmI	NULL
 157179135	njgth	-12635.0
-157862310	NULL	NULL
+157444379	NULL	NULL
+157444379	kPC4VEoqGJthyOfD1r82GId	NULL
+157718265	F1eRVdjR66sHY20F	-7593.0
 157862310	C677g7qo071FQ4a	NULL
-158416501	NULL	NULL
+158364173	HPeuF	-4059.0
 158646563	f0Gw70hO6b	-11092.0
 159560945	REq7q4Gr20HvT36r68	-11270.0
-160101548	xwSvVvb	8026.0
+159616847	mepTjD	13128.0
+160101548	NULL	8026.0
+160442882	NULL	-11824.0
+161176356	Bsi3VIb	NULL
+161945940	M3jjDj4cJP3yk67GlPULUx	NULL
 163703173	t6Y38CKxB3keFFwxHN1eQh	NULL
-164554497	NULL	NULL
+164227369	hl4w6g0LGTr2q7740MWXNhi6	NULL
+164704353	FjUt2ol81V3DS18I	NULL
+165059151	KG0HCim7s5nX	-5626.0
 165700459	NULL	-9039.0
-166224677	NULL	-13615.0
+166093417	NULL	7231.0
+167329119	NULL	10034.0
+167746177	NULL	NULL
+167827042	0J1T41Nj0r72	-640.0
 167948939	NULL	11837.0
-168027481	04fq7M416mV7CwI1q	NULL
-168200400	NULL	NULL
+167948939	f1b7368iTH	11837.0
 168200400	L4nk83x6pU	NULL
 168572953	NULL	3514.0
-169019471	8Nj7qpHBTH1GUkMM1BXr2	NULL
-169671645	3yJpSNg1f2m3J486g4TF1uT	-12847.0
-170405019	7XhwAvjDFx87	-7033.0
+169095916	NULL	NULL
+169671645	NULL	-12847.0
+170405019	NULL	-7033.0
 171063263	NULL	NULL
-171363771	NULL	NULL
-171363771	GdT0mf0U4Q0Mc8AFsCJ6a61	NULL
-173677339	NULL	-4493.0
+171751204	NULL	NULL
+173606512	ihk4IyjQeRwF6	-11944.0
 173677339	I82Ofg1C8f	-4493.0
-176022086	NULL	1567.0
-177504789	NULL	NULL
-178055726	NULL	NULL
-179257199	NULL	-7247.0
-180472843	NULL	16310.0
+175313677	y22uYe4fE	11130.0
+178055726	W4MsK1d70i	NULL
+178957343	NULL	NULL
+178957343	118iOoSACcy2X4f2k4Y	NULL
+179942307	NULL	4745.0
 180545454	NULL	NULL
+180909333	NULL	7882.0
 180909333	Kamb1E	7882.0
-181182341	NULL	14146.0
-181738960	Wu4j4UNU6JLF70XKoN0X4	NULL
-181952939	N6Dh6XreCWb0aA4nmDnFOO	NULL
-181997534	NULL	3147.0
-182412604	JSjAUy	11259.0
-182960505	NULL	NULL
-183238070	l240RaDaGI	NULL
-186064718	8qVY4hgVfu4JW41cTi	NULL
-186169802	NULL	1600.0
-186967185	NULL	NULL
-187206627	NULL	NULL
+181182341	ToOQ4YhGHo	14146.0
+182276589	RxIBul6t78rw01d	15727.0
+185520768	NULL	12201.0
+187066081	t6C0o5n7Hl6t5M488	-5864.0
 187206627	w13G1635lvs30qJavVn	NULL
-188519887	NULL	NULL
-188738437	Oyt670i0bysk650i2to	NULL
-190231202	NULL	-879.0
-191348822	NULL	-10961.0
-191348822	amj5TglKcJV4yx	-10961.0
+187503456	NULL	4767.0
+188704616	fCw04e5L8Q6scDQ52Hnd	9906.0
 191372331	NULL	NULL
-191372331	4Cf7gWmeh3Gw3bHx50iT2	NULL
-192849057	XSv8Ti8c	NULL
-192961550	7660JjSpC0gG	NULL
-193598322	H6UGGj6Bq4n0Dxr	NULL
-194020972	NULL	NULL
-194020972	1F1K4Rd	NULL
-197102642	1tJ44D7df078VJPOgd38	-15731.0
-199130305	NULL	NULL
+194370460	NULL	1836.0
+194

<TRUNCATED>

[09/12] hive git commit: HIVE-18359: Extend grouping set limits from int to long (Prasanth Jayachandran reviewed by Jesus Camacho Rodriguez)

Posted by pr...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/groupingset_high_columns.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/groupingset_high_columns.q.out b/ql/src/test/results/clientpositive/groupingset_high_columns.q.out
new file mode 100644
index 0000000..3456719
--- /dev/null
+++ b/ql/src/test/results/clientpositive/groupingset_high_columns.q.out
@@ -0,0 +1,1169 @@
+PREHOOK: query: create table facts (val string)
+PREHOOK: type: CREATETABLE
+PREHOOK: Output: database:default
+PREHOOK: Output: default@facts
+POSTHOOK: query: create table facts (val string)
+POSTHOOK: type: CREATETABLE
+POSTHOOK: Output: database:default
+POSTHOOK: Output: default@facts
+PREHOOK: query: insert into facts values ('abcdefghijklmnopqrstuvwxyz0123456789')
+PREHOOK: type: QUERY
+PREHOOK: Input: _dummy_database@_dummy_table
+PREHOOK: Output: default@facts
+POSTHOOK: query: insert into facts values ('abcdefghijklmnopqrstuvwxyz0123456789')
+POSTHOOK: type: QUERY
+POSTHOOK: Input: _dummy_database@_dummy_table
+POSTHOOK: Output: default@facts
+POSTHOOK: Lineage: facts.val SCRIPT []
+PREHOOK: query: drop table groupingsets32
+PREHOOK: type: DROPTABLE
+POSTHOOK: query: drop table groupingsets32
+POSTHOOK: type: DROPTABLE
+PREHOOK: query: drop table groupingsets33
+PREHOOK: type: DROPTABLE
+POSTHOOK: query: drop table groupingsets33
+POSTHOOK: type: DROPTABLE
+PREHOOK: query: drop table groupingsets32a
+PREHOOK: type: DROPTABLE
+POSTHOOK: query: drop table groupingsets32a
+POSTHOOK: type: DROPTABLE
+PREHOOK: query: drop table groupingsets33a
+PREHOOK: type: DROPTABLE
+POSTHOOK: query: drop table groupingsets33a
+POSTHOOK: type: DROPTABLE
+PREHOOK: query: create table groupingsets32 as 
+select 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31 
+,count(*) as n from ( 
+select 
+substring(val,01,1) as c00, substring(val,02,1) as c01, substring(val,03,1) as c02,substring(val,04,1) as c03,substring(val,05,1) as c04,substring(val,06,1) as c05,substring(val,07,1) as c06, substring(val,08,1) as c07,substring(val,09,1) as c08,substring(val,10,1) as c09, 
+substring(val,11,1) as c10, substring(val,12,1) as c11, substring(val,13,1) as c12,substring(val,14,1) as c13,substring(val,15,1) as c14,substring(val,16,1) as c15,substring(val,17,1) as c16, substring(val,18,1) as c17,substring(val,19,1) as c18,substring(val,20,1) as c19, 
+substring(val,21,1) as c20, substring(val,22,1) as c21, substring(val,23,1) as c22,substring(val,24,1) as c23,substring(val,25,1) as c24,substring(val,26,1) as c25,substring(val,27,1) as c26, substring(val,28,1) as c27,substring(val,29,1) as c28,substring(val,30,1) as c29, 
+substring(val,31,1) as c30,substring(val,32,1) as c31 
+from facts ) x 
+group by 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31 
+grouping sets ( 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31 
+)
+PREHOOK: type: CREATETABLE_AS_SELECT
+PREHOOK: Input: default@facts
+PREHOOK: Output: database:default
+PREHOOK: Output: default@groupingsets32
+POSTHOOK: query: create table groupingsets32 as 
+select 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31 
+,count(*) as n from ( 
+select 
+substring(val,01,1) as c00, substring(val,02,1) as c01, substring(val,03,1) as c02,substring(val,04,1) as c03,substring(val,05,1) as c04,substring(val,06,1) as c05,substring(val,07,1) as c06, substring(val,08,1) as c07,substring(val,09,1) as c08,substring(val,10,1) as c09, 
+substring(val,11,1) as c10, substring(val,12,1) as c11, substring(val,13,1) as c12,substring(val,14,1) as c13,substring(val,15,1) as c14,substring(val,16,1) as c15,substring(val,17,1) as c16, substring(val,18,1) as c17,substring(val,19,1) as c18,substring(val,20,1) as c19, 
+substring(val,21,1) as c20, substring(val,22,1) as c21, substring(val,23,1) as c22,substring(val,24,1) as c23,substring(val,25,1) as c24,substring(val,26,1) as c25,substring(val,27,1) as c26, substring(val,28,1) as c27,substring(val,29,1) as c28,substring(val,30,1) as c29, 
+substring(val,31,1) as c30,substring(val,32,1) as c31 
+from facts ) x 
+group by 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31 
+grouping sets ( 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31 
+)
+POSTHOOK: type: CREATETABLE_AS_SELECT
+POSTHOOK: Input: default@facts
+POSTHOOK: Output: database:default
+POSTHOOK: Output: default@groupingsets32
+POSTHOOK: Lineage: groupingsets32.c00 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c01 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c02 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c03 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c04 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c05 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c06 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c07 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c08 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c09 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c10 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c11 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c12 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c13 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c14 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c15 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c16 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c17 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c18 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c19 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c20 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c21 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c22 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c23 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c24 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c25 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c26 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c27 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c28 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c29 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c30 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c31 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.n EXPRESSION [(facts)facts.null, ]
+PREHOOK: query: select * from groupingsets32
+PREHOOK: type: QUERY
+PREHOOK: Input: default@groupingsets32
+#### A masked pattern was here ####
+POSTHOOK: query: select * from groupingsets32
+POSTHOOK: type: QUERY
+POSTHOOK: Input: default@groupingsets32
+#### A masked pattern was here ####
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	5	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	4	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	3	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	2	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	0	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	z	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	y	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	x	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	w	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	v	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	u	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	t	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	s	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	r	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	q	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	p	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	o	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	n	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	m	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	l	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	k	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	j	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	i	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	h	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	g	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	f	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	e	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	d	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	c	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	b	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+a	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+PREHOOK: query: create table groupingsets32a as
+select
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,
+count(*) as n,
+grouping__id,
+grouping(c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31)
+from (
+select
+substring(val,01,1) as c00, substring(val,02,1) as c01, substring(val,03,1) as c02,substring(val,04,1) as c03,substring(val,05,1) as c04,substring(val,06,1) as c05,substring(val,07,1) as c06, substring(val,08,1) as c07,substring(val,09,1) as c08,substring(val,10,1) as c09,
+substring(val,11,1) as c10, substring(val,12,1) as c11, substring(val,13,1) as c12,substring(val,14,1) as c13,substring(val,15,1) as c14,substring(val,16,1) as c15,substring(val,17,1) as c16, substring(val,18,1) as c17,substring(val,19,1) as c18,substring(val,20,1) as c19,
+substring(val,21,1) as c20, substring(val,22,1) as c21, substring(val,23,1) as c22,substring(val,24,1) as c23,substring(val,25,1) as c24,substring(val,26,1) as c25,substring(val,27,1) as c26, substring(val,28,1) as c27,substring(val,29,1) as c28,substring(val,30,1) as c29,
+substring(val,31,1) as c30,substring(val,32,1) as c31
+from facts ) x
+group by
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31
+grouping sets (
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31
+)
+PREHOOK: type: CREATETABLE_AS_SELECT
+PREHOOK: Input: default@facts
+PREHOOK: Output: database:default
+PREHOOK: Output: default@groupingsets32a
+POSTHOOK: query: create table groupingsets32a as
+select
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,
+count(*) as n,
+grouping__id,
+grouping(c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31)
+from (
+select
+substring(val,01,1) as c00, substring(val,02,1) as c01, substring(val,03,1) as c02,substring(val,04,1) as c03,substring(val,05,1) as c04,substring(val,06,1) as c05,substring(val,07,1) as c06, substring(val,08,1) as c07,substring(val,09,1) as c08,substring(val,10,1) as c09,
+substring(val,11,1) as c10, substring(val,12,1) as c11, substring(val,13,1) as c12,substring(val,14,1) as c13,substring(val,15,1) as c14,substring(val,16,1) as c15,substring(val,17,1) as c16, substring(val,18,1) as c17,substring(val,19,1) as c18,substring(val,20,1) as c19,
+substring(val,21,1) as c20, substring(val,22,1) as c21, substring(val,23,1) as c22,substring(val,24,1) as c23,substring(val,25,1) as c24,substring(val,26,1) as c25,substring(val,27,1) as c26, substring(val,28,1) as c27,substring(val,29,1) as c28,substring(val,30,1) as c29,
+substring(val,31,1) as c30,substring(val,32,1) as c31
+from facts ) x
+group by
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31
+grouping sets (
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31
+)
+POSTHOOK: type: CREATETABLE_AS_SELECT
+POSTHOOK: Input: default@facts
+POSTHOOK: Output: database:default
+POSTHOOK: Output: default@groupingsets32a
+POSTHOOK: Lineage: groupingsets32a._c34 EXPRESSION []
+POSTHOOK: Lineage: groupingsets32a.c00 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c01 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c02 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c03 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c04 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c05 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c06 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c07 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c08 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c09 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c10 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c11 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c12 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c13 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c14 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c15 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c16 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c17 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c18 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c19 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c20 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c21 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c22 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c23 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c24 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c25 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c26 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c27 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c28 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c29 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c30 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c31 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.grouping__id SIMPLE []
+POSTHOOK: Lineage: groupingsets32a.n EXPRESSION [(facts)facts.null, ]
+PREHOOK: query: select * from groupingsets32a
+PREHOOK: type: QUERY
+PREHOOK: Input: default@groupingsets32a
+#### A masked pattern was here ####
+POSTHOOK: query: select * from groupingsets32a
+POSTHOOK: type: QUERY
+POSTHOOK: Input: default@groupingsets32a
+#### A masked pattern was here ####
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	5	1	4294967294	4294967294
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	4	NULL	1	4294967293	4294967293
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	3	NULL	NULL	1	4294967291	4294967291
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	2	NULL	NULL	NULL	1	4294967287	4294967287
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	NULL	NULL	NULL	NULL	1	4294967279	4294967279
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	0	NULL	NULL	NULL	NULL	NULL	1	4294967263	4294967263
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	z	NULL	NULL	NULL	NULL	NULL	NULL	1	4294967231	4294967231
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	y	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294967167	4294967167
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	x	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294967039	4294967039
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	w	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294966783	4294966783
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	v	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294966271	4294966271
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	u	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294965247	4294965247
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	t	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294963199	4294963199
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	s	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294959103	4294959103
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	r	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294950911	4294950911
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	q	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294934527	4294934527
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	p	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294901759	4294901759
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	o	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294836223	4294836223
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	n	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294705151	4294705151
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	m	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294443007	4294443007
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	l	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4293918719	4293918719
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	k	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4292870143	4292870143
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	j	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4290772991	4290772991
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	i	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4286578687	4286578687
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	h	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4278190079	4278190079
+NULL	NULL	NULL	NULL	NULL	NULL	g	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4261412863	4261412863
+NULL	NULL	NULL	NULL	NULL	f	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4227858431	4227858431
+NULL	NULL	NULL	NULL	e	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4160749567	4160749567
+NULL	NULL	NULL	d	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4026531839	4026531839
+NULL	NULL	c	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	3758096383	3758096383
+NULL	b	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	3221225471	3221225471
+a	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	2147483647	2147483647
+PREHOOK: query: create table groupingsets33 as 
+select 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31,c32 
+,count(*) as n from ( 
+select 
+substring(val,01,1) as c00, substring(val,02,1) as c01, substring(val,03,1) as c02,substring(val,04,1) as c03,substring(val,05,1) as c04,substring(val,06,1) as c05,substring(val,07,1) as c06, substring(val,08,1) as c07,substring(val,09,1) as c08,substring(val,10,1) as c09, 
+substring(val,11,1) as c10, substring(val,12,1) as c11, substring(val,13,1) as c12,substring(val,14,1) as c13,substring(val,15,1) as c14,substring(val,16,1) as c15,substring(val,17,1) as c16, substring(val,18,1) as c17,substring(val,19,1) as c18,substring(val,20,1) as c19, 
+substring(val,21,1) as c20, substring(val,22,1) as c21, substring(val,23,1) as c22,substring(val,24,1) as c23,substring(val,25,1) as c24,substring(val,26,1) as c25,substring(val,27,1) as c26, substring(val,28,1) as c27,substring(val,29,1) as c28,substring(val,30,1) as c29, 
+substring(val,31,1) as c30,substring(val,32,1) as c31,substring(val,33,1) as c32 
+from facts ) x 
+group by 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31,c32 
+grouping sets ( 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31,c32 
+)
+PREHOOK: type: CREATETABLE_AS_SELECT
+PREHOOK: Input: default@facts
+PREHOOK: Output: database:default
+PREHOOK: Output: default@groupingsets33
+POSTHOOK: query: create table groupingsets33 as 
+select 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31,c32 
+,count(*) as n from ( 
+select 
+substring(val,01,1) as c00, substring(val,02,1) as c01, substring(val,03,1) as c02,substring(val,04,1) as c03,substring(val,05,1) as c04,substring(val,06,1) as c05,substring(val,07,1) as c06, substring(val,08,1) as c07,substring(val,09,1) as c08,substring(val,10,1) as c09, 
+substring(val,11,1) as c10, substring(val,12,1) as c11, substring(val,13,1) as c12,substring(val,14,1) as c13,substring(val,15,1) as c14,substring(val,16,1) as c15,substring(val,17,1) as c16, substring(val,18,1) as c17,substring(val,19,1) as c18,substring(val,20,1) as c19, 
+substring(val,21,1) as c20, substring(val,22,1) as c21, substring(val,23,1) as c22,substring(val,24,1) as c23,substring(val,25,1) as c24,substring(val,26,1) as c25,substring(val,27,1) as c26, substring(val,28,1) as c27,substring(val,29,1) as c28,substring(val,30,1) as c29, 
+substring(val,31,1) as c30,substring(val,32,1) as c31,substring(val,33,1) as c32 
+from facts ) x 
+group by 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31,c32 
+grouping sets ( 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31,c32 
+)
+POSTHOOK: type: CREATETABLE_AS_SELECT
+POSTHOOK: Input: default@facts
+POSTHOOK: Output: database:default
+POSTHOOK: Output: default@groupingsets33
+POSTHOOK: Lineage: groupingsets33.c00 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c01 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c02 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c03 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c04 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c05 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c06 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c07 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c08 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c09 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c10 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c11 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c12 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c13 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c14 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c15 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c16 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c17 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c18 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c19 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c20 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c21 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c22 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c23 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c24 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c25 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c26 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c27 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c28 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c29 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c30 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c31 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c32 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.n EXPRESSION [(facts)facts.null, ]
+PREHOOK: query: select * from groupingsets33
+PREHOOK: type: QUERY
+PREHOOK: Input: default@groupingsets33
+#### A masked pattern was here ####
+POSTHOOK: query: select * from groupingsets33
+POSTHOOK: type: QUERY
+POSTHOOK: Input: default@groupingsets33
+#### A masked pattern was here ####
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	6	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	5	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	4	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	3	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	2	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	0	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	z	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	y	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	x	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	w	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	v	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	u	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	t	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	s	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	r	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	q	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	p	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	o	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	n	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	m	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	l	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	k	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	j	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	i	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	h	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	g	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	f	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	e	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	d	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	c	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	b	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+a	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+PREHOOK: query: create table groupingsets33a as
+select
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,c32
+,count(*) as n,
+grouping__id,
+grouping(c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,c32) 
+from (
+select
+substring(val,01,1) as c00, substring(val,02,1) as c01, substring(val,03,1) as c02,substring(val,04,1) as c03,substring(val,05,1) as c04,substring(val,06,1) as c05,substring(val,07,1) as c06, substring(val,08,1) as c07,substring(val,09,1) as c08,substring(val,10,1) as c09,
+substring(val,11,1) as c10, substring(val,12,1) as c11, substring(val,13,1) as c12,substring(val,14,1) as c13,substring(val,15,1) as c14,substring(val,16,1) as c15,substring(val,17,1) as c16, substring(val,18,1) as c17,substring(val,19,1) as c18,substring(val,20,1) as c19,
+substring(val,21,1) as c20, substring(val,22,1) as c21, substring(val,23,1) as c22,substring(val,24,1) as c23,substring(val,25,1) as c24,substring(val,26,1) as c25,substring(val,27,1) as c26, substring(val,28,1) as c27,substring(val,29,1) as c28,substring(val,30,1) as c29,
+substring(val,31,1) as c30,substring(val,32,1) as c31,substring(val,33,1) as c32
+from facts ) x
+group by
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,c32
+grouping sets (
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,c32
+)
+PREHOOK: type: CREATETABLE_AS_SELECT
+PREHOOK: Input: default@facts
+PREHOOK: Output: database:default
+PREHOOK: Output: default@groupingsets33a
+POSTHOOK: query: create table groupingsets33a as
+select
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,c32
+,count(*) as n,
+grouping__id,
+grouping(c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,c32) 
+from (
+select
+substring(val,01,1) as c00, substring(val,02,1) as c01, substring(val,03,1) as c02,substring(val,04,1) as c03,substring(val,05,1) as c04,substring(val,06,1) as c05,substring(val,07,1) as c06, substring(val,08,1) as c07,substring(val,09,1) as c08,substring(val,10,1) as c09,
+substring(val,11,1) as c10, substring(val,12,1) as c11, substring(val,13,1) as c12,substring(val,14,1) as c13,substring(val,15,1) as c14,substring(val,16,1) as c15,substring(val,17,1) as c16, substring(val,18,1) as c17,substring(val,19,1) as c18,substring(val,20,1) as c19,
+substring(val,21,1) as c20, substring(val,22,1) as c21, substring(val,23,1) as c22,substring(val,24,1) as c23,substring(val,25,1) as c24,substring(val,26,1) as c25,substring(val,27,1) as c26, substring(val,28,1) as c27,substring(val,29,1) as c28,substring(val,30,1) as c29,
+substring(val,31,1) as c30,substring(val,32,1) as c31,substring(val,33,1) as c32
+from facts ) x
+group by
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,c32
+grouping sets (
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,c32
+)
+POSTHOOK: type: CREATETABLE_AS_SELECT
+POSTHOOK: Input: default@facts
+POSTHOOK: Output: database:default
+POSTHOOK: Output: default@groupingsets33a
+POSTHOOK: Lineage: groupingsets33a._c35 EXPRESSION []
+POSTHOOK: Lineage: groupingsets33a.c00 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c01 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c02 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c03 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c04 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c05 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c06 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c07 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c08 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c09 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c10 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c11 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c12 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c13 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c14 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c15 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c16 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c17 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c18 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c19 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c20 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c21 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c22 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c23 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c24 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c25 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c26 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c27 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c28 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c29 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c30 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c31 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.c32 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33a.grouping__id SIMPLE []
+POSTHOOK: Lineage: groupingsets33a.n EXPRESSION [(facts)facts.null, ]
+PREHOOK: query: select * from groupingsets33a
+PREHOOK: type: QUERY
+PREHOOK: Input: default@groupingsets33a
+#### A masked pattern was here ####
+POSTHOOK: query: select * from groupingsets33a
+POSTHOOK: type: QUERY
+POSTHOOK: Input: default@groupingsets33a
+#### A masked pattern was here ####
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	6	1	8589934590	8589934590
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	5	NULL	1	8589934589	8589934589
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	4	NULL	NULL	1	8589934587	8589934587
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	3	NULL	NULL	NULL	1	8589934583	8589934583
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	2	NULL	NULL	NULL	NULL	1	8589934575	8589934575
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	NULL	NULL	NULL	NULL	NULL	1	8589934559	8589934559
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	0	NULL	NULL	NULL	NULL	NULL	NULL	1	8589934527	8589934527
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	z	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	8589934463	8589934463
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	y	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	8589934335	8589934335
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	x	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	8589934079	8589934079
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	w	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	8589933567	8589933567
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	v	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	8589932543	8589932543
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	u	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	8589930495	8589930495
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	t	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	8589926399	8589926399
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	s	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	8589918207	8589918207
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	r	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	8589901823	8589901823
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	q	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	8589869055	8589869055
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	p	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	8589803519	8589803519
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	o	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	8589672447	8589672447
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	n	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	8589410303	8589410303
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	m	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	8588886015	8588886015
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	l	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	8587837439	8587837439
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	k	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	8585740287	8585740287
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	j	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	8581545983	8581545983
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	i	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	8573157375	8573157375
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	h	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	8556380159	8556380159
+NULL	NULL	NULL	NULL	NULL	NULL	g	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	8522825727	8522825727
+NULL	NULL	NULL	NULL	NULL	f	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	8455716863	8455716863
+NULL	NULL	NULL	NULL	e	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	8321499135	8321499135
+NULL	NULL	NULL	d	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	8053063679	8053063679
+NULL	NULL	c	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	7516192767	7516192767
+NULL	b	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	6442450943	6442450943
+a	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294967295	4294967295
+PREHOOK: query: drop table groupingsets32
+PREHOOK: type: DROPTABLE
+PREHOOK: Input: default@groupingsets32
+PREHOOK: Output: default@groupingsets32
+POSTHOOK: query: drop table groupingsets32
+POSTHOOK: type: DROPTABLE
+POSTHOOK: Input: default@groupingsets32
+POSTHOOK: Output: default@groupingsets32
+PREHOOK: query: drop table groupingsets33
+PREHOOK: type: DROPTABLE
+PREHOOK: Input: default@groupingsets33
+PREHOOK: Output: default@groupingsets33
+POSTHOOK: query: drop table groupingsets33
+POSTHOOK: type: DROPTABLE
+POSTHOOK: Input: default@groupingsets33
+POSTHOOK: Output: default@groupingsets33
+PREHOOK: query: drop table groupingsets32
+PREHOOK: type: DROPTABLE
+POSTHOOK: query: drop table groupingsets32
+POSTHOOK: type: DROPTABLE
+PREHOOK: query: drop table groupingsets33
+PREHOOK: type: DROPTABLE
+POSTHOOK: query: drop table groupingsets33
+POSTHOOK: type: DROPTABLE
+PREHOOK: query: drop table groupingsets32a
+PREHOOK: type: DROPTABLE
+PREHOOK: Input: default@groupingsets32a
+PREHOOK: Output: default@groupingsets32a
+POSTHOOK: query: drop table groupingsets32a
+POSTHOOK: type: DROPTABLE
+POSTHOOK: Input: default@groupingsets32a
+POSTHOOK: Output: default@groupingsets32a
+PREHOOK: query: drop table groupingsets33a
+PREHOOK: type: DROPTABLE
+PREHOOK: Input: default@groupingsets33a
+PREHOOK: Output: default@groupingsets33a
+POSTHOOK: query: drop table groupingsets33a
+POSTHOOK: type: DROPTABLE
+POSTHOOK: Input: default@groupingsets33a
+POSTHOOK: Output: default@groupingsets33a
+PREHOOK: query: create table groupingsets32 as 
+select 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31 
+,count(*) as n from ( 
+select 
+substring(val,01,1) as c00, substring(val,02,1) as c01, substring(val,03,1) as c02,substring(val,04,1) as c03,substring(val,05,1) as c04,substring(val,06,1) as c05,substring(val,07,1) as c06, substring(val,08,1) as c07,substring(val,09,1) as c08,substring(val,10,1) as c09, 
+substring(val,11,1) as c10, substring(val,12,1) as c11, substring(val,13,1) as c12,substring(val,14,1) as c13,substring(val,15,1) as c14,substring(val,16,1) as c15,substring(val,17,1) as c16, substring(val,18,1) as c17,substring(val,19,1) as c18,substring(val,20,1) as c19, 
+substring(val,21,1) as c20, substring(val,22,1) as c21, substring(val,23,1) as c22,substring(val,24,1) as c23,substring(val,25,1) as c24,substring(val,26,1) as c25,substring(val,27,1) as c26, substring(val,28,1) as c27,substring(val,29,1) as c28,substring(val,30,1) as c29, 
+substring(val,31,1) as c30,substring(val,32,1) as c31 
+from facts ) x 
+group by 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31 
+grouping sets ( 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31 
+)
+PREHOOK: type: CREATETABLE_AS_SELECT
+PREHOOK: Input: default@facts
+PREHOOK: Output: database:default
+PREHOOK: Output: default@groupingsets32
+POSTHOOK: query: create table groupingsets32 as 
+select 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31 
+,count(*) as n from ( 
+select 
+substring(val,01,1) as c00, substring(val,02,1) as c01, substring(val,03,1) as c02,substring(val,04,1) as c03,substring(val,05,1) as c04,substring(val,06,1) as c05,substring(val,07,1) as c06, substring(val,08,1) as c07,substring(val,09,1) as c08,substring(val,10,1) as c09, 
+substring(val,11,1) as c10, substring(val,12,1) as c11, substring(val,13,1) as c12,substring(val,14,1) as c13,substring(val,15,1) as c14,substring(val,16,1) as c15,substring(val,17,1) as c16, substring(val,18,1) as c17,substring(val,19,1) as c18,substring(val,20,1) as c19, 
+substring(val,21,1) as c20, substring(val,22,1) as c21, substring(val,23,1) as c22,substring(val,24,1) as c23,substring(val,25,1) as c24,substring(val,26,1) as c25,substring(val,27,1) as c26, substring(val,28,1) as c27,substring(val,29,1) as c28,substring(val,30,1) as c29, 
+substring(val,31,1) as c30,substring(val,32,1) as c31 
+from facts ) x 
+group by 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31 
+grouping sets ( 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31 
+)
+POSTHOOK: type: CREATETABLE_AS_SELECT
+POSTHOOK: Input: default@facts
+POSTHOOK: Output: database:default
+POSTHOOK: Output: default@groupingsets32
+POSTHOOK: Lineage: groupingsets32.c00 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c01 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c02 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c03 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c04 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c05 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c06 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c07 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c08 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c09 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c10 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c11 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c12 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c13 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c14 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c15 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c16 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c17 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c18 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c19 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c20 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c21 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c22 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c23 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c24 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c25 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c26 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c27 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c28 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c29 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c30 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.c31 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32.n EXPRESSION [(facts)facts.null, ]
+PREHOOK: query: select * from groupingsets32
+PREHOOK: type: QUERY
+PREHOOK: Input: default@groupingsets32
+#### A masked pattern was here ####
+POSTHOOK: query: select * from groupingsets32
+POSTHOOK: type: QUERY
+POSTHOOK: Input: default@groupingsets32
+#### A masked pattern was here ####
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	5	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	4	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	3	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	2	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	0	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	z	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	y	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	x	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	w	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	v	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	u	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	t	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	s	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	r	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	q	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	p	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	o	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	n	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	m	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	l	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	k	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	j	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	i	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	h	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	NULL	g	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	NULL	f	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	NULL	e	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	NULL	d	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	NULL	c	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+NULL	b	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+a	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1
+PREHOOK: query: create table groupingsets32a as
+select
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,
+count(*) as n,
+grouping__id,
+grouping(c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31)
+from (
+select
+substring(val,01,1) as c00, substring(val,02,1) as c01, substring(val,03,1) as c02,substring(val,04,1) as c03,substring(val,05,1) as c04,substring(val,06,1) as c05,substring(val,07,1) as c06, substring(val,08,1) as c07,substring(val,09,1) as c08,substring(val,10,1) as c09,
+substring(val,11,1) as c10, substring(val,12,1) as c11, substring(val,13,1) as c12,substring(val,14,1) as c13,substring(val,15,1) as c14,substring(val,16,1) as c15,substring(val,17,1) as c16, substring(val,18,1) as c17,substring(val,19,1) as c18,substring(val,20,1) as c19,
+substring(val,21,1) as c20, substring(val,22,1) as c21, substring(val,23,1) as c22,substring(val,24,1) as c23,substring(val,25,1) as c24,substring(val,26,1) as c25,substring(val,27,1) as c26, substring(val,28,1) as c27,substring(val,29,1) as c28,substring(val,30,1) as c29,
+substring(val,31,1) as c30,substring(val,32,1) as c31
+from facts ) x
+group by
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31
+grouping sets (
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31
+)
+PREHOOK: type: CREATETABLE_AS_SELECT
+PREHOOK: Input: default@facts
+PREHOOK: Output: database:default
+PREHOOK: Output: default@groupingsets32a
+POSTHOOK: query: create table groupingsets32a as
+select
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31,
+count(*) as n,
+grouping__id,
+grouping(c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31)
+from (
+select
+substring(val,01,1) as c00, substring(val,02,1) as c01, substring(val,03,1) as c02,substring(val,04,1) as c03,substring(val,05,1) as c04,substring(val,06,1) as c05,substring(val,07,1) as c06, substring(val,08,1) as c07,substring(val,09,1) as c08,substring(val,10,1) as c09,
+substring(val,11,1) as c10, substring(val,12,1) as c11, substring(val,13,1) as c12,substring(val,14,1) as c13,substring(val,15,1) as c14,substring(val,16,1) as c15,substring(val,17,1) as c16, substring(val,18,1) as c17,substring(val,19,1) as c18,substring(val,20,1) as c19,
+substring(val,21,1) as c20, substring(val,22,1) as c21, substring(val,23,1) as c22,substring(val,24,1) as c23,substring(val,25,1) as c24,substring(val,26,1) as c25,substring(val,27,1) as c26, substring(val,28,1) as c27,substring(val,29,1) as c28,substring(val,30,1) as c29,
+substring(val,31,1) as c30,substring(val,32,1) as c31
+from facts ) x
+group by
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31
+grouping sets (
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09,
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29,
+c30,c31
+)
+POSTHOOK: type: CREATETABLE_AS_SELECT
+POSTHOOK: Input: default@facts
+POSTHOOK: Output: database:default
+POSTHOOK: Output: default@groupingsets32a
+POSTHOOK: Lineage: groupingsets32a._c34 EXPRESSION []
+POSTHOOK: Lineage: groupingsets32a.c00 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c01 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c02 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c03 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c04 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c05 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c06 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c07 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c08 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c09 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c10 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c11 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c12 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c13 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c14 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c15 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c16 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c17 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c18 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c19 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c20 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c21 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c22 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c23 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c24 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c25 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c26 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c27 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c28 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c29 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c30 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.c31 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets32a.grouping__id SIMPLE []
+POSTHOOK: Lineage: groupingsets32a.n EXPRESSION [(facts)facts.null, ]
+PREHOOK: query: select * from groupingsets32a
+PREHOOK: type: QUERY
+PREHOOK: Input: default@groupingsets32a
+#### A masked pattern was here ####
+POSTHOOK: query: select * from groupingsets32a
+POSTHOOK: type: QUERY
+POSTHOOK: Input: default@groupingsets32a
+#### A masked pattern was here ####
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	5	1	4294967294	4294967294
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	4	NULL	1	4294967293	4294967293
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	3	NULL	NULL	1	4294967291	4294967291
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	2	NULL	NULL	NULL	1	4294967287	4294967287
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	NULL	NULL	NULL	NULL	1	4294967279	4294967279
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	0	NULL	NULL	NULL	NULL	NULL	1	4294967263	4294967263
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	z	NULL	NULL	NULL	NULL	NULL	NULL	1	4294967231	4294967231
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	y	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294967167	4294967167
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	x	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294967039	4294967039
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	w	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294966783	4294966783
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	v	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294966271	4294966271
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	u	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294965247	4294965247
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	t	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294963199	4294963199
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	s	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294959103	4294959103
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	r	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294950911	4294950911
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	q	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294934527	4294934527
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	p	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294901759	4294901759
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	o	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294836223	4294836223
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	n	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294705151	4294705151
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	m	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4294443007	4294443007
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	l	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4293918719	4293918719
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	k	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4292870143	4292870143
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	j	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4290772991	4290772991
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	i	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4286578687	4286578687
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	h	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4278190079	4278190079
+NULL	NULL	NULL	NULL	NULL	NULL	g	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4261412863	4261412863
+NULL	NULL	NULL	NULL	NULL	f	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4227858431	4227858431
+NULL	NULL	NULL	NULL	e	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4160749567	4160749567
+NULL	NULL	NULL	d	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	4026531839	4026531839
+NULL	NULL	c	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	3758096383	3758096383
+NULL	b	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	3221225471	3221225471
+a	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	1	2147483647	2147483647
+PREHOOK: query: create table groupingsets33 as 
+select 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31,c32 
+,count(*) as n from ( 
+select 
+substring(val,01,1) as c00, substring(val,02,1) as c01, substring(val,03,1) as c02,substring(val,04,1) as c03,substring(val,05,1) as c04,substring(val,06,1) as c05,substring(val,07,1) as c06, substring(val,08,1) as c07,substring(val,09,1) as c08,substring(val,10,1) as c09, 
+substring(val,11,1) as c10, substring(val,12,1) as c11, substring(val,13,1) as c12,substring(val,14,1) as c13,substring(val,15,1) as c14,substring(val,16,1) as c15,substring(val,17,1) as c16, substring(val,18,1) as c17,substring(val,19,1) as c18,substring(val,20,1) as c19, 
+substring(val,21,1) as c20, substring(val,22,1) as c21, substring(val,23,1) as c22,substring(val,24,1) as c23,substring(val,25,1) as c24,substring(val,26,1) as c25,substring(val,27,1) as c26, substring(val,28,1) as c27,substring(val,29,1) as c28,substring(val,30,1) as c29, 
+substring(val,31,1) as c30,substring(val,32,1) as c31,substring(val,33,1) as c32 
+from facts ) x 
+group by 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31,c32 
+grouping sets ( 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31,c32 
+)
+PREHOOK: type: CREATETABLE_AS_SELECT
+PREHOOK: Input: default@facts
+PREHOOK: Output: database:default
+PREHOOK: Output: default@groupingsets33
+POSTHOOK: query: create table groupingsets33 as 
+select 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31,c32 
+,count(*) as n from ( 
+select 
+substring(val,01,1) as c00, substring(val,02,1) as c01, substring(val,03,1) as c02,substring(val,04,1) as c03,substring(val,05,1) as c04,substring(val,06,1) as c05,substring(val,07,1) as c06, substring(val,08,1) as c07,substring(val,09,1) as c08,substring(val,10,1) as c09, 
+substring(val,11,1) as c10, substring(val,12,1) as c11, substring(val,13,1) as c12,substring(val,14,1) as c13,substring(val,15,1) as c14,substring(val,16,1) as c15,substring(val,17,1) as c16, substring(val,18,1) as c17,substring(val,19,1) as c18,substring(val,20,1) as c19, 
+substring(val,21,1) as c20, substring(val,22,1) as c21, substring(val,23,1) as c22,substring(val,24,1) as c23,substring(val,25,1) as c24,substring(val,26,1) as c25,substring(val,27,1) as c26, substring(val,28,1) as c27,substring(val,29,1) as c28,substring(val,30,1) as c29, 
+substring(val,31,1) as c30,substring(val,32,1) as c31,substring(val,33,1) as c32 
+from facts ) x 
+group by 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31,c32 
+grouping sets ( 
+c00,c01,c02,c03,c04,c05,c06,c07,c08,c09, 
+c10,c11,c12,c13,c14,c15,c16,c17,c18,c19, 
+c20,c21,c22,c23,c24,c25,c26,c27,c28,c29, 
+c30,c31,c32 
+)
+POSTHOOK: type: CREATETABLE_AS_SELECT
+POSTHOOK: Input: default@facts
+POSTHOOK: Output: database:default
+POSTHOOK: Output: default@groupingsets33
+POSTHOOK: Lineage: groupingsets33.c00 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c01 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c02 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c03 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c04 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c05 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c06 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c07 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c08 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c09 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c10 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c11 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c12 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c13 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c14 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c15 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c16 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c17 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c18 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c19 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c20 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c21 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c22 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c23 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c24 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c25 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c26 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c27 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c28 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c29 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c30 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c31 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.c32 EXPRESSION [(facts)facts.FieldSchema(name:val, type:string, comment:null), ]
+POSTHOOK: Lineage: groupingsets33.n EXPRESSION [(facts)facts.null, ]
+PREHOOK: query: select * from groupingsets33
+PREHOOK: type: QUERY
+PREHOOK: Input: default@groupingsets33
+#### A masked pattern was here ####
+POSTHOOK: query: select * from groupingsets33
+POSTHOOK: type: QUERY
+POSTHOOK: Input: default@groupingsets33
+#### A masked pattern was here ####
+NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NU

<TRUNCATED>

[10/12] hive git commit: HIVE-18359: Extend grouping set limits from int to long (Prasanth Jayachandran reviewed by Jesus Camacho Rodriguez)

Posted by pr...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/groupby_grouping_sets2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/groupby_grouping_sets2.q.out b/ql/src/test/results/clientpositive/groupby_grouping_sets2.q.out
index 453b9f7..43e17ec 100644
--- a/ql/src/test/results/clientpositive/groupby_grouping_sets2.q.out
+++ b/ql/src/test/results/clientpositive/groupby_grouping_sets2.q.out
@@ -52,7 +52,7 @@ STAGE PLANS:
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: bigint)
           mode: partials
           outputColumnNames: _col0, _col1, _col2, _col3
           Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
@@ -68,15 +68,15 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               sort order: +++
-              Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
               value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: final
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 2 Data size: 720 Basic stats: COMPLETE Column stats: NONE
@@ -137,7 +137,7 @@ STAGE PLANS:
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: bigint)
           mode: partials
           outputColumnNames: _col0, _col1, _col2, _col3
           Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
@@ -153,15 +153,15 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               sort order: +++
-              Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
               value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: final
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 2 Data size: 720 Basic stats: COMPLETE Column stats: NONE
@@ -246,7 +246,7 @@ STAGE PLANS:
       Reduce Operator Tree:
         Group By Operator
           aggregations: sum(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: bigint)
           mode: partials
           outputColumnNames: _col0, _col1, _col2, _col3
           Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
@@ -262,15 +262,15 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               sort order: +++
-              Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
               value expressions: _col3 (type: double)
       Reduce Operator Tree:
         Group By Operator
           aggregations: sum(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: final
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 2 Data size: 720 Basic stats: COMPLETE Column stats: NONE
@@ -378,7 +378,7 @@ STAGE PLANS:
       Reduce Operator Tree:
         Group By Operator
           aggregations: sum(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: bigint)
           mode: partials
           outputColumnNames: _col0, _col1, _col2, _col3
           Statistics: Num rows: 24 Data size: 168 Basic stats: COMPLETE Column stats: NONE
@@ -394,15 +394,15 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               sort order: +++
-              Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               Statistics: Num rows: 24 Data size: 168 Basic stats: COMPLETE Column stats: NONE
               value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: sum(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: final
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 12 Data size: 84 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/groupby_grouping_sets3.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/groupby_grouping_sets3.q.out b/ql/src/test/results/clientpositive/groupby_grouping_sets3.q.out
index be8d20e..352d4be 100644
--- a/ql/src/test/results/clientpositive/groupby_grouping_sets3.q.out
+++ b/ql/src/test/results/clientpositive/groupby_grouping_sets3.q.out
@@ -46,20 +46,20 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 720 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: avg(c), count()
-                keys: a (type: string), b (type: string), 0 (type: int)
+                keys: a (type: string), b (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4
                 Statistics: Num rows: 4 Data size: 2880 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 4 Data size: 2880 Basic stats: COMPLETE Column stats: NONE
                   value expressions: _col3 (type: struct<count:bigint,sum:double,input:string>), _col4 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: avg(VALUE._col0), count(VALUE._col1)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col3, _col4
           Statistics: Num rows: 2 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
@@ -106,20 +106,20 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 720 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: avg(c), count()
-                keys: a (type: string), b (type: string), 0 (type: int)
+                keys: a (type: string), b (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4
                 Statistics: Num rows: 4 Data size: 2880 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 4 Data size: 2880 Basic stats: COMPLETE Column stats: NONE
                   value expressions: _col3 (type: struct<count:bigint,sum:double,input:string>), _col4 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: avg(VALUE._col0), count(VALUE._col1)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col3, _col4
           Statistics: Num rows: 2 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
@@ -205,7 +205,7 @@ STAGE PLANS:
       Reduce Operator Tree:
         Group By Operator
           aggregations: avg(VALUE._col0), count(VALUE._col1)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: bigint)
           mode: partials
           outputColumnNames: _col0, _col1, _col2, _col3, _col4
           Statistics: Num rows: 4 Data size: 2880 Basic stats: COMPLETE Column stats: NONE
@@ -221,15 +221,15 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               sort order: +++
-              Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               Statistics: Num rows: 4 Data size: 2880 Basic stats: COMPLETE Column stats: NONE
               value expressions: _col3 (type: struct<count:bigint,sum:double,input:string>), _col4 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: avg(VALUE._col0), count(VALUE._col1)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: final
           outputColumnNames: _col0, _col1, _col3, _col4
           Statistics: Num rows: 2 Data size: 1440 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/groupby_grouping_sets4.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/groupby_grouping_sets4.q.out b/ql/src/test/results/clientpositive/groupby_grouping_sets4.q.out
index 0c6ead9..e368e1e 100644
--- a/ql/src/test/results/clientpositive/groupby_grouping_sets4.q.out
+++ b/ql/src/test/results/clientpositive/groupby_grouping_sets4.q.out
@@ -46,20 +46,20 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 360 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count()
-                keys: a (type: string), b (type: string), 0 (type: int)
+                keys: a (type: string), b (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
                   value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 2 Data size: 720 Basic stats: COMPLETE Column stats: NONE
@@ -123,20 +123,20 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 360 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count()
-                keys: a (type: string), b (type: string), 0 (type: int)
+                keys: a (type: string), b (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
                   value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 2 Data size: 720 Basic stats: COMPLETE Column stats: NONE
@@ -193,20 +193,20 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 360 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count()
-                keys: a (type: string), b (type: string), 0 (type: int)
+                keys: a (type: string), b (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
                   value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 2 Data size: 720 Basic stats: COMPLETE Column stats: NONE
@@ -270,20 +270,20 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 360 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count()
-                keys: a (type: string), b (type: string), 0 (type: int)
+                keys: a (type: string), b (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
                   value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 2 Data size: 720 Basic stats: COMPLETE Column stats: NONE
@@ -384,7 +384,7 @@ STAGE PLANS:
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: bigint)
           mode: partials
           outputColumnNames: _col0, _col1, _col2, _col3
           Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
@@ -400,15 +400,15 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               sort order: +++
-              Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
               value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: final
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 2 Data size: 720 Basic stats: COMPLETE Column stats: NONE
@@ -485,7 +485,7 @@ STAGE PLANS:
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: bigint)
           mode: partials
           outputColumnNames: _col0, _col1, _col2, _col3
           Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
@@ -501,15 +501,15 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               sort order: +++
-              Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
               value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: final
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 2 Data size: 720 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/groupby_grouping_sets5.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/groupby_grouping_sets5.q.out b/ql/src/test/results/clientpositive/groupby_grouping_sets5.q.out
index 0bb12e1..1766fb9 100644
--- a/ql/src/test/results/clientpositive/groupby_grouping_sets5.q.out
+++ b/ql/src/test/results/clientpositive/groupby_grouping_sets5.q.out
@@ -56,7 +56,7 @@ STAGE PLANS:
           Statistics: Num rows: 1 Data size: 360 Basic stats: COMPLETE Column stats: NONE
           Group By Operator
             aggregations: count()
-            keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+            keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
             mode: hash
             outputColumnNames: _col0, _col1, _col2, _col3
             Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
@@ -72,15 +72,15 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               sort order: +++
-              Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
               value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 2 Data size: 720 Basic stats: COMPLETE Column stats: NONE
@@ -145,7 +145,7 @@ STAGE PLANS:
           Statistics: Num rows: 1 Data size: 360 Basic stats: COMPLETE Column stats: NONE
           Group By Operator
             aggregations: count()
-            keys: _col0 (type: string), _col1 (type: string), 0 (type: int)
+            keys: _col0 (type: string), _col1 (type: string), 0 (type: bigint)
             mode: hash
             outputColumnNames: _col0, _col1, _col2, _col3
             Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
@@ -161,15 +161,15 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               sort order: +++
-              Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
               value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 2 Data size: 720 Basic stats: COMPLETE Column stats: NONE
@@ -284,7 +284,7 @@ STAGE PLANS:
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), 0 (type: bigint)
           mode: partials
           outputColumnNames: _col0, _col1, _col2, _col3
           Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
@@ -300,15 +300,15 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               sort order: +++
-              Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
               value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: final
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 2 Data size: 720 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/groupby_grouping_sets6.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/groupby_grouping_sets6.q.out b/ql/src/test/results/clientpositive/groupby_grouping_sets6.q.out
index 5b990a1..563b110 100644
--- a/ql/src/test/results/clientpositive/groupby_grouping_sets6.q.out
+++ b/ql/src/test/results/clientpositive/groupby_grouping_sets6.q.out
@@ -39,18 +39,18 @@ STAGE PLANS:
               predicate: (UDFToDouble(a) = 5.0) (type: boolean)
               Statistics: Num rows: 1 Data size: 360 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: a (type: string), b (type: string), 0 (type: int)
+                keys: a (type: string), b (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 2 Data size: 720 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 2 Data size: 720 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1
           Statistics: Num rows: 1 Data size: 360 Basic stats: COMPLETE Column stats: NONE
@@ -108,18 +108,18 @@ STAGE PLANS:
               predicate: (UDFToDouble(a) = 5.0) (type: boolean)
               Statistics: Num rows: 1 Data size: 360 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: a (type: string), b (type: string), 0 (type: int)
+                keys: a (type: string), b (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 2 Data size: 720 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 2 Data size: 720 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1
           Statistics: Num rows: 1 Data size: 360 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/groupby_grouping_sets_grouping.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/groupby_grouping_sets_grouping.q.out b/ql/src/test/results/clientpositive/groupby_grouping_sets_grouping.q.out
index 1f2f86b..1f2cd45 100644
--- a/ql/src/test/results/clientpositive/groupby_grouping_sets_grouping.q.out
+++ b/ql/src/test/results/clientpositive/groupby_grouping_sets_grouping.q.out
@@ -40,23 +40,23 @@ STAGE PLANS:
               outputColumnNames: _col0, _col1
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: _col0 (type: int), _col1 (type: int), 0 (type: int)
+                keys: _col0 (type: int), _col1 (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col2
           Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
           Select Operator
-            expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int), grouping(_col2, 1) (type: int), grouping(_col2, 0) (type: int)
+            expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint), grouping(_col2, 1) (type: bigint), grouping(_col2, 0) (type: bigint)
             outputColumnNames: _col0, _col1, _col2, _col3, _col4
             Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
             File Output Operator
@@ -122,23 +122,23 @@ STAGE PLANS:
               outputColumnNames: _col0, _col1
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: _col0 (type: int), _col1 (type: int), 0 (type: int)
+                keys: _col0 (type: int), _col1 (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col2
           Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
           Select Operator
-            expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int), grouping(_col2, 1) (type: int), grouping(_col2, 0) (type: int)
+            expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint), grouping(_col2, 1) (type: bigint), grouping(_col2, 0) (type: bigint)
             outputColumnNames: _col0, _col1, _col2, _col3, _col4
             Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
             File Output Operator
@@ -211,18 +211,18 @@ STAGE PLANS:
               outputColumnNames: _col0, _col1
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: _col0 (type: int), _col1 (type: int), 0 (type: int)
+                keys: _col0 (type: int), _col1 (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col2
           Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
@@ -298,18 +298,18 @@ STAGE PLANS:
               outputColumnNames: _col0, _col1
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: _col0 (type: int), _col1 (type: int), 0 (type: int)
+                keys: _col0 (type: int), _col1 (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col2
           Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
@@ -317,7 +317,7 @@ STAGE PLANS:
             predicate: ((grouping(_col2, 0) = 1) or (grouping(_col2, 1) = 1)) (type: boolean)
             Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
             Select Operator
-              expressions: _col0 (type: int), _col1 (type: int), (grouping(_col2, 1) + grouping(_col2, 0)) (type: int), CASE WHEN (((grouping(_col2, 1) + grouping(_col2, 0)) = 1)) THEN (_col0) ELSE (null) END (type: int)
+              expressions: _col0 (type: int), _col1 (type: int), (grouping(_col2, 1) + grouping(_col2, 0)) (type: bigint), CASE WHEN (((grouping(_col2, 1) + grouping(_col2, 0)) = 1)) THEN (_col0) ELSE (null) END (type: int)
               outputColumnNames: _col0, _col1, _col2, _col3
               Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
               File Output Operator
@@ -332,13 +332,13 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col2 (type: int), _col3 (type: int)
+              key expressions: _col2 (type: bigint), _col3 (type: int)
               sort order: -+
               Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
               value expressions: _col0 (type: int), _col1 (type: int)
       Reduce Operator Tree:
         Select Operator
-          expressions: VALUE._col0 (type: int), VALUE._col1 (type: int), KEY.reducesinkkey0 (type: int)
+          expressions: VALUE._col0 (type: int), VALUE._col1 (type: int), KEY.reducesinkkey0 (type: bigint)
           outputColumnNames: _col0, _col1, _col2
           Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
           File Output Operator
@@ -407,23 +407,23 @@ STAGE PLANS:
               outputColumnNames: key, value
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: key (type: int), value (type: int), 0 (type: int)
+                keys: key (type: int), value (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col2
           Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
           Select Operator
-            expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int), grouping(_col2, 1) (type: int), grouping(_col2, 0) (type: int)
+            expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint), grouping(_col2, 1) (type: bigint), grouping(_col2, 0) (type: bigint)
             outputColumnNames: _col0, _col1, _col2, _col3, _col4
             Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
             File Output Operator
@@ -489,23 +489,23 @@ STAGE PLANS:
               outputColumnNames: key, value
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: key (type: int), value (type: int), 0 (type: int)
+                keys: key (type: int), value (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col2
           Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
           Select Operator
-            expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int), grouping(_col2, 1) (type: int), grouping(_col2, 0) (type: int)
+            expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint), grouping(_col2, 1) (type: bigint), grouping(_col2, 0) (type: bigint)
             outputColumnNames: _col0, _col1, _col2, _col3, _col4
             Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
             File Output Operator
@@ -578,7 +578,7 @@ STAGE PLANS:
               outputColumnNames: key, value
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: key (type: int), value (type: int), 0 (type: int)
+                keys: key (type: int), value (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
@@ -586,13 +586,13 @@ STAGE PLANS:
                   predicate: (grouping(_col2, 1) = 1) (type: boolean)
                   Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
                   Reduce Output Operator
-                    key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                    key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                     sort order: +++
-                    Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                    Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                     Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1
           Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
@@ -662,7 +662,7 @@ STAGE PLANS:
               outputColumnNames: key, value
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: key (type: int), value (type: int), 0 (type: int)
+                keys: key (type: int), value (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
@@ -670,18 +670,18 @@ STAGE PLANS:
                   predicate: ((grouping(_col2, 0) = 1) or (grouping(_col2, 1) = 1)) (type: boolean)
                   Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                   Reduce Output Operator
-                    key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                    key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                     sort order: +++
-                    Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                    Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                     Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col2
           Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
           Select Operator
-            expressions: _col0 (type: int), _col1 (type: int), (grouping(_col2, 1) + grouping(_col2, 0)) (type: int)
+            expressions: _col0 (type: int), _col1 (type: int), (grouping(_col2, 1) + grouping(_col2, 0)) (type: bigint)
             outputColumnNames: _col0, _col1, _col2
             Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
             File Output Operator
@@ -696,13 +696,13 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col2 (type: int), CASE WHEN ((_col2 = 1)) THEN (_col0) END (type: int)
+              key expressions: _col2 (type: bigint), CASE WHEN ((_col2 = 1)) THEN (_col0) END (type: int)
               sort order: -+
               Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
               value expressions: _col0 (type: int), _col1 (type: int)
       Reduce Operator Tree:
         Select Operator
-          expressions: VALUE._col0 (type: int), VALUE._col1 (type: int), KEY.reducesinkkey0 (type: int)
+          expressions: VALUE._col0 (type: int), VALUE._col1 (type: int), KEY.reducesinkkey0 (type: bigint)
           outputColumnNames: _col0, _col1, _col2
           Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
           File Output Operator
@@ -787,7 +787,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1
           Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
           Select Operator
-            expressions: _col0 (type: int), _col1 (type: int), 0 (type: int), 0 (type: int)
+            expressions: _col0 (type: int), _col1 (type: int), 0 (type: bigint), 0 (type: bigint)
             outputColumnNames: _col0, _col1, _col2, _col3
             Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
             File Output Operator
@@ -864,7 +864,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1
           Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
           Select Operator
-            expressions: _col0 (type: int), _col1 (type: int), 0 (type: int)
+            expressions: _col0 (type: int), _col1 (type: int), 0 (type: bigint)
             outputColumnNames: _col0, _col1, _col2
             Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
             File Output Operator
@@ -1002,23 +1002,23 @@ STAGE PLANS:
               outputColumnNames: key, value
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: key (type: int), value (type: int), 0 (type: int)
+                keys: key (type: int), value (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col2
           Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
           Select Operator
-            expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int), grouping(_col2, 1, 0) (type: int)
+            expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint), grouping(_col2, 1, 0) (type: bigint)
             outputColumnNames: _col0, _col1, _col2, _col3
             Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
             File Output Operator
@@ -1089,23 +1089,23 @@ STAGE PLANS:
               outputColumnNames: key, value
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: key (type: int), value (type: int), 0 (type: int)
+                keys: key (type: int), value (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   Statistics: Num rows: 4 Data size: 1200 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col2
           Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
           Select Operator
-            expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int), grouping(_col2, 0, 1) (type: int)
+            expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint), grouping(_col2, 0, 1) (type: bigint)
             outputColumnNames: _col0, _col1, _col2, _col3
             Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
             File Output Operator
@@ -1176,23 +1176,23 @@ STAGE PLANS:
               outputColumnNames: key, value
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: key (type: int), value (type: int), 0 (type: int)
+                keys: key (type: int), value (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col2
           Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
           Select Operator
-            expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int), grouping(_col2, 1, 0) (type: int)
+            expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint), grouping(_col2, 1, 0) (type: bigint)
             outputColumnNames: _col0, _col1, _col2, _col3
             Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
             File Output Operator
@@ -1258,23 +1258,23 @@ STAGE PLANS:
               outputColumnNames: key, value
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: key (type: int), value (type: int), 0 (type: int)
+                keys: key (type: int), value (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2
                 Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                   Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col2
           Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
           Select Operator
-            expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int), grouping(_col2, 0, 1) (type: int)
+            expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint), grouping(_col2, 0, 1) (type: bigint)
             outputColumnNames: _col0, _col1, _col2, _col3
             Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
             File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/groupby_grouping_sets_limit.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/groupby_grouping_sets_limit.q.out b/ql/src/test/results/clientpositive/groupby_grouping_sets_limit.q.out
index b25b0e5..efa1802 100644
--- a/ql/src/test/results/clientpositive/groupby_grouping_sets_limit.q.out
+++ b/ql/src/test/results/clientpositive/groupby_grouping_sets_limit.q.out
@@ -37,21 +37,21 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 360 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count()
-                keys: a (type: string), b (type: string), 0 (type: int)
+                keys: a (type: string), b (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
                   TopN Hash Memory Usage: 0.1
                   value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 2 Data size: 720 Basic stats: COMPLETE Column stats: NONE
@@ -118,21 +118,21 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 360 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count()
-                keys: a (type: string), b (type: string), 0 (type: int)
+                keys: a (type: string), b (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 4 Data size: 1440 Basic stats: COMPLETE Column stats: NONE
                   TopN Hash Memory Usage: 0.1
                   value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 2 Data size: 720 Basic stats: COMPLETE Column stats: NONE
@@ -199,21 +199,21 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 360 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count()
-                keys: a (type: string), b (type: string), 0 (type: int)
+                keys: a (type: string), b (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 2 Data size: 720 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 2 Data size: 720 Basic stats: COMPLETE Column stats: NONE
                   TopN Hash Memory Usage: 0.1
                   value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 1 Data size: 360 Basic stats: COMPLETE Column stats: NONE
@@ -279,19 +279,19 @@ STAGE PLANS:
               outputColumnNames: a, b, c
               Statistics: Num rows: 1 Data size: 360 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
-                keys: a (type: string), b (type: string), c (type: string), 0 (type: int)
+                keys: a (type: string), b (type: string), c (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 3 Data size: 1080 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: bigint)
                   sort order: ++++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: bigint)
                   Statistics: Num rows: 3 Data size: 1080 Basic stats: COMPLETE Column stats: NONE
                   TopN Hash Memory Usage: 0.1
       Reduce Operator Tree:
         Group By Operator
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: string), KEY._col3 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: string), KEY._col3 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col2
           Statistics: Num rows: 1 Data size: 360 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/groupby_grouping_window.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/groupby_grouping_window.q.out b/ql/src/test/results/clientpositive/groupby_grouping_window.q.out
index 32135e4..0f58f51 100644
--- a/ql/src/test/results/clientpositive/groupby_grouping_window.q.out
+++ b/ql/src/test/results/clientpositive/groupby_grouping_window.q.out
@@ -49,20 +49,20 @@ STAGE PLANS:
               Statistics: Num rows: 3 Data size: 20 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: max(live), max(comments)
-                keys: category (type: int), 0 (type: int)
+                keys: category (type: int), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 6 Data size: 40 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: int), _col1 (type: int)
+                  key expressions: _col0 (type: int), _col1 (type: bigint)
                   sort order: ++
-                  Map-reduce partition columns: _col0 (type: int), _col1 (type: int)
+                  Map-reduce partition columns: _col0 (type: int), _col1 (type: bigint)
                   Statistics: Num rows: 6 Data size: 40 Basic stats: COMPLETE Column stats: NONE
                   value expressions: _col2 (type: int), _col3 (type: int)
       Reduce Operator Tree:
         Group By Operator
           aggregations: max(VALUE._col0), max(VALUE._col1)
-          keys: KEY._col0 (type: int), KEY._col1 (type: int)
+          keys: KEY._col0 (type: int), KEY._col1 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col2, _col3
           Statistics: Num rows: 3 Data size: 20 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/groupby_rollup1.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/groupby_rollup1.q.out b/ql/src/test/results/clientpositive/groupby_rollup1.q.out
index bc1d8a9..a849a8d 100644
--- a/ql/src/test/results/clientpositive/groupby_rollup1.q.out
+++ b/ql/src/test/results/clientpositive/groupby_rollup1.q.out
@@ -37,20 +37,20 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count()
-                keys: key (type: string), val (type: string), 0 (type: int)
+                keys: key (type: string), val (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
                   value expressions: _col3 (type: bigint)
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
@@ -116,19 +116,19 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count(DISTINCT val)
-                keys: key (type: string), 0 (type: int), val (type: string)
+                keys: key (type: string), 0 (type: bigint), val (type: string)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: string)
+                  key expressions: _col0 (type: string), _col1 (type: bigint), _col2 (type: string)
                   sort order: +++
-                  Map-reduce partition columns: _col0 (type: string), _col1 (type: int)
+                  Map-reduce partition columns: _col0 (type: string), _col1 (type: bigint)
                   Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(DISTINCT KEY._col2:0._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col2
           Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
@@ -189,12 +189,12 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count()
-                keys: key (type: string), val (type: string), 0 (type: int)
+                keys: key (type: string), val (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
                   Map-reduce partition columns: rand() (type: double)
                   Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
@@ -202,7 +202,7 @@ STAGE PLANS:
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: partials
           outputColumnNames: _col0, _col1, _col2, _col3
           Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
@@ -218,7 +218,7 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               sort order: +++
               Map-reduce partition columns: _col0 (type: string), _col1 (type: string)
               Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
@@ -226,7 +226,7 @@ STAGE PLANS:
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: final
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
@@ -293,19 +293,19 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count(DISTINCT val)
-                keys: key (type: string), 0 (type: int), val (type: string)
+                keys: key (type: string), 0 (type: bigint), val (type: string)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: int), _col2 (type: string)
+                  key expressions: _col0 (type: string), _col1 (type: bigint), _col2 (type: string)
                   sort order: +++
                   Map-reduce partition columns: _col0 (type: string)
                   Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(DISTINCT KEY._col2:0._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: bigint)
           mode: partials
           outputColumnNames: _col0, _col1, _col2
           Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
@@ -321,7 +321,7 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col0 (type: string), _col1 (type: int)
+              key expressions: _col0 (type: string), _col1 (type: bigint)
               sort order: ++
               Map-reduce partition columns: _col0 (type: string)
               Statistics: Num rows: 2 Data size: 600 Basic stats: COMPLETE Column stats: NONE
@@ -329,7 +329,7 @@ STAGE PLANS:
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: bigint)
           mode: final
           outputColumnNames: _col0, _col2
           Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
@@ -417,12 +417,12 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: count(1)
-                keys: key (type: string), val (type: string), 0 (type: int)
+                keys: key (type: string), val (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
-                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+                  key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
                   sort order: +++
                   Map-reduce partition columns: rand() (type: double)
                   Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
@@ -433,7 +433,7 @@ STAGE PLANS:
               Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
               Group By Operator
                 aggregations: sum(1)
-                keys: key (type: string), val (type: string), 0 (type: int)
+                keys: key (type: string), val (type: string), 0 (type: bigint)
                 mode: hash
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
@@ -446,7 +446,7 @@ STAGE PLANS:
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: partials
           outputColumnNames: _col0, _col1, _col2, _col3
           Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
@@ -462,7 +462,7 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               sort order: +++
               Map-reduce partition columns: _col0 (type: string), _col1 (type: string)
               Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
@@ -470,7 +470,7 @@ STAGE PLANS:
       Reduce Operator Tree:
         Group By Operator
           aggregations: count(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: final
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE
@@ -556,7 +556,7 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               sort order: +++
               Map-reduce partition columns: rand() (type: double)
               Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
@@ -564,7 +564,7 @@ STAGE PLANS:
       Reduce Operator Tree:
         Group By Operator
           aggregations: sum(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: partials
           outputColumnNames: _col0, _col1, _col2, _col3
           Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
@@ -580,7 +580,7 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: int)
+              key expressions: _col0 (type: string), _col1 (type: string), _col2 (type: bigint)
               sort order: +++
               Map-reduce partition columns: _col0 (type: string), _col1 (type: string)
               Statistics: Num rows: 3 Data size: 900 Basic stats: COMPLETE Column stats: NONE
@@ -588,7 +588,7 @@ STAGE PLANS:
       Reduce Operator Tree:
         Group By Operator
           aggregations: sum(VALUE._col0)
-          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
+          keys: KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: bigint)
           mode: final
           outputColumnNames: _col0, _col1, _col3
           Statistics: Num rows: 1 Data size: 300 Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/ddd4c9ae/ql/src/test/results/clientpositive/groupby_rollup_empty.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/groupby_rollup_empty.q.out b/ql/src/test/results/clientpositive/groupby_rollup_empty.q.out
index 2756d38..dd53fe2 100644
--- a/ql/src/test/results/clientpositive/groupby_rollup_empty.q.out
+++ b/ql/src/test/results/clientpositive/groupby_rollup_empty.q.out
@@ -169,26 +169,26 @@ STAGE PLANS:
                 Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
                 Group By Operator
                   aggregations: sum(_col2)
-                  keys: _col0 (type: int), _col1 (type: int), 0 (type: int)
+                  keys: _col0 (type: int), _col1 (type: int), 0 (type: bigint)
                   mode: hash
                   outputColumnNames: _col0, _col1, _col2, _col3
                   Statistics: Num rows: 3 Data size: 0 Basic stats: PARTIAL Column stats: NONE
                   Reduce Output Operator
-                    key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                    key expressions: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                     sort order: +++
-                    Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: int)
+                    Map-reduce partition columns: _col0 (type: int), _col1 (type: int), _col2 (type: bigint)
                     Statistics: Num rows: 3 Data size: 0 Basic stats: PARTIAL Column stats: NONE
                     value expressions: _col3 (type: bigint)
       Execution mode: vectorized
       Reduce Operator Tree:
         Group By Operator
           aggregations: sum(VALUE._col0)
-          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int)
+          keys: KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: bigint)
           mode: mergepartial
           outputColumnNames: _col0, _col1, _col2, _col3
           Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
           Select Operator
-            expressions: _col3 (type: bigint), grouping(_col2, 0) (type: int), 'NULL,1' (type: string)
+            expressions: _col3 (type: bigint), grouping(_col2, 0) (type: bigint), 'NULL,1' (type: string)
             outputColumnNames: _col0, _col1, _col2
             Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
             File Output Operator