http://git-wip-us.apache.org/repos/asf/hive/blob/8b968c7e/ql/src/test/results/clientpositive/llap/vector_orc_nested_column_pruning.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/vector_orc_nested_column_pruning.q.out
 
b/ql/src/test/results/clientpositive/llap/vector_orc_nested_column_pruning.q.out
index 5921f0a..efa74f3 100644
--- 
a/ql/src/test/results/clientpositive/llap/vector_orc_nested_column_pruning.q.out
+++ 
b/ql/src/test/results/clientpositive/llap/vector_orc_nested_column_pruning.q.out
@@ -702,8 +702,8 @@ STAGE PLANS:
                       Select Vectorization:
                           className: VectorSelectOperator
                           native: true
-                          projectedOutputColumnNums: [10]
-                          selectExpressions: VectorUDFStructField(col 
8:struct<f4:int,f5:double>, col 1:int)(children: VectorUDFStructField(col 
1:struct<f1:boolean,f2:string,f3:struct<f4:int,f5:double>,f6:int>, col 2:int) 
-> 8:struct<f4:int,f5:double>) -> 10:double
+                          projectedOutputColumnNums: [11]
+                          selectExpressions: VectorUDFStructField(col 
10:struct<f4:int,f5:double>, col 1:int)(children: VectorUDFStructField(col 
1:struct<f1:boolean,f2:string,f3:struct<f4:int,f5:double>,f6:int>, col 2:int) 
-> 10:struct<f4:int,f5:double>) -> 11:double
                       Statistics: Num rows: 1 Data size: 316 Basic stats: 
COMPLETE Column stats: NONE
                       File Output Operator
                         compressed: false
@@ -778,7 +778,7 @@ STAGE PLANS:
                     Filter Vectorization:
                         className: VectorFilterOperator
                         native: true
-                        predicateExpression: FilterExprAndExpr(children: 
FilterStringGroupColEqualStringScalar(col 8:string, val foo)(children: 
VectorUDFStructField(col 
1:struct<f1:boolean,f2:string,f3:struct<f4:int,f5:double>,f6:int>, col 1:int) 
-> 8:string), FilterLongColGreaterLongScalar(col 11:int, val 1)(children: 
VectorUDFAdaptor(size(s2.f8.f10))(children: VectorUDFStructField(col 
9:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>, col 
1:int)(children: VectorUDFStructField(col 
2:struct<f7:string,f8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>>,
 col 1:int) -> 9:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>) -> 
10:array<int>) -> 11:int), SelectColumnIsTrue(col 11:boolean)(children: 
VectorUDFAdaptor(s2.f8.f11['key1'])(children: VectorUDFStructField(col 
9:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>, col 
2:int)(children: VectorUDFStructField(col 
2:struct<f7:string,f8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>>,
 col 1:in
 t) -> 9:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>) -> 
12:map<string,boolean>) -> 11:boolean))
+                        predicateExpression: FilterExprAndExpr(children: 
FilterStringGroupColEqualStringScalar(col 8:string, val foo)(children: 
VectorUDFStructField(col 
1:struct<f1:boolean,f2:string,f3:struct<f4:int,f5:double>,f6:int>, col 1:int) 
-> 8:string), FilterLongColGreaterLongScalar(col 11:int, val 1)(children: 
VectorUDFAdaptor(size(s2.f8.f10))(children: VectorUDFStructField(col 
9:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>, col 
1:int)(children: VectorUDFStructField(col 
2:struct<f7:string,f8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>>,
 col 1:int) -> 9:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>) -> 
10:array<int>) -> 11:int), SelectColumnIsTrue(col 14:boolean)(children: 
VectorUDFAdaptor(s2.f8.f11['key1'])(children: VectorUDFStructField(col 
12:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>, col 
2:int)(children: VectorUDFStructField(col 
2:struct<f7:string,f8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>>,
 col 1:i
 nt) -> 12:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>) -> 
13:map<string,boolean>) -> 14:boolean))
                     predicate: ((s1.f2 = 'foo') and (size(s2.f8.f10) > 1) and 
s2.f8.f11['key1']) (type: boolean)
                     Statistics: Num rows: 1 Data size: 1468 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
@@ -787,8 +787,8 @@ STAGE PLANS:
                       Select Vectorization:
                           className: VectorSelectOperator
                           native: true
-                          projectedOutputColumnNums: [9]
-                          selectExpressions: VectorUDFStructField(col 
2:struct<f7:string,f8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>>,
 col 1:int) -> 9:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>
+                          projectedOutputColumnNums: [15]
+                          selectExpressions: VectorUDFStructField(col 
2:struct<f7:string,f8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>>,
 col 1:int) -> 15:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>
                       Statistics: Num rows: 1 Data size: 1468 Basic stats: 
COMPLETE Column stats: NONE
                       File Output Operator
                         compressed: false
@@ -1109,13 +1109,13 @@ STAGE PLANS:
                     Select Vectorization:
                         className: VectorSelectOperator
                         native: true
-                        projectedOutputColumnNums: [9, 10]
-                        selectExpressions: VectorUDFStructField(col 
8:struct<f4:int,f5:double>, col 1:int)(children: VectorUDFStructField(col 
1:struct<f1:boolean,f2:string,f3:struct<f4:int,f5:double>,f6:int>, col 2:int) 
-> 8:struct<f4:int,f5:double>) -> 9:double, VectorUDFStructField(col 
8:struct<f4:int,f5:double>, col 0:int)(children: VectorUDFStructField(col 
1:struct<f1:boolean,f2:string,f3:struct<f4:int,f5:double>,f6:int>, col 2:int) 
-> 8:struct<f4:int,f5:double>) -> 10:int
+                        projectedOutputColumnNums: [9, 11]
+                        selectExpressions: VectorUDFStructField(col 
8:struct<f4:int,f5:double>, col 1:int)(children: VectorUDFStructField(col 
1:struct<f1:boolean,f2:string,f3:struct<f4:int,f5:double>,f6:int>, col 2:int) 
-> 8:struct<f4:int,f5:double>) -> 9:double, VectorUDFStructField(col 
10:struct<f4:int,f5:double>, col 0:int)(children: VectorUDFStructField(col 
1:struct<f1:boolean,f2:string,f3:struct<f4:int,f5:double>,f6:int>, col 2:int) 
-> 10:struct<f4:int,f5:double>) -> 11:int
                     Statistics: Num rows: 1 Data size: 316 Basic stats: 
COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: count(_col1)
                       Group By Vectorization:
-                          aggregators: VectorUDAFCount(col 10:int) -> bigint
+                          aggregators: VectorUDAFCount(col 11:int) -> bigint
                           className: VectorGroupByOperator
                           groupByMode: HASH
                           keyExpressions: col 9:double
@@ -1499,7 +1499,7 @@ STAGE PLANS:
                     Filter Vectorization:
                         className: VectorFilterOperator
                         native: true
-                        predicateExpression: FilterExprAndExpr(children: 
FilterLongColEqualLongScalar(col 9:boolean, val 0)(children: 
VectorUDFStructField(col 
8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>, col 
0:int)(children: VectorUDFStructField(col 
2:struct<f7:string,f8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>>,
 col 1:int) -> 8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>) -> 
9:boolean), SelectColumnIsNotNull(col 9:int)(children: VectorUDFStructField(col 
1:struct<f1:boolean,f2:string,f3:struct<f4:int,f5:double>,f6:int>, col 3:int) 
-> 9:int))
+                        predicateExpression: FilterExprAndExpr(children: 
FilterLongColEqualLongScalar(col 9:boolean, val 0)(children: 
VectorUDFStructField(col 
8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>, col 
0:int)(children: VectorUDFStructField(col 
2:struct<f7:string,f8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>>,
 col 1:int) -> 8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>) -> 
9:boolean), SelectColumnIsNotNull(col 10:int)(children: 
VectorUDFStructField(col 
1:struct<f1:boolean,f2:string,f3:struct<f4:int,f5:double>,f6:int>, col 3:int) 
-> 10:int))
                     predicate: ((s2.f8.f9 = false) and s1.f6 is not null) 
(type: boolean)
                     Statistics: Num rows: 1 Data size: 1468 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
@@ -1783,8 +1783,8 @@ STAGE PLANS:
                       Select Vectorization:
                           className: VectorSelectOperator
                           native: true
-                          projectedOutputColumnNums: [1, 9]
-                          selectExpressions: VectorUDFStructField(col 
8:struct<f4:int,f5:double>, col 0:int)(children: VectorUDFStructField(col 
1:struct<f1:boolean,f2:string,f3:struct<f4:int,f5:double>,f6:int>, col 2:int) 
-> 8:struct<f4:int,f5:double>) -> 9:int
+                          projectedOutputColumnNums: [1, 11]
+                          selectExpressions: VectorUDFStructField(col 
10:struct<f4:int,f5:double>, col 0:int)(children: VectorUDFStructField(col 
1:struct<f1:boolean,f2:string,f3:struct<f4:int,f5:double>,f6:int>, col 2:int) 
-> 10:struct<f4:int,f5:double>) -> 11:int
                       Statistics: Num rows: 1 Data size: 316 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col1 (type: int), true (type: 
boolean)
@@ -1792,7 +1792,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col1 (type: int), true 
(type: boolean)
                         Reduce Sink Vectorization:
                             className: VectorReduceSinkMultiKeyOperator
-                            keyExpressions: ConstantVectorExpression(val 1) -> 
10:boolean
+                            keyExpressions: ConstantVectorExpression(val 1) -> 
9:boolean
                             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
                         Statistics: Num rows: 1 Data size: 316 Basic stats: 
COMPLETE Column stats: NONE
@@ -1821,7 +1821,7 @@ STAGE PLANS:
                     Filter Vectorization:
                         className: VectorFilterOperator
                         native: true
-                        predicateExpression: SelectColumnIsTrue(col 
10:boolean)(children: VectorUDFAdaptor((s2.f8.f9 and s1.f6 is not null and 
s2.f8.f9 is not null))(children: VectorUDFStructField(col 
8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>, col 
0:int)(children: VectorUDFStructField(col 
2:struct<f7:string,f8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>>,
 col 1:int) -> 8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>) -> 
9:boolean, IsNotNull(col 10:int)(children: VectorUDFStructField(col 
1:struct<f1:boolean,f2:string,f3:struct<f4:int,f5:double>,f6:int>, col 3:int) 
-> 10:int) -> 11:boolean, IsNotNull(col 10:boolean)(children: 
VectorUDFStructField(col 
8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>, col 
0:int)(children: VectorUDFStructField(col 
2:struct<f7:string,f8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>>,
 col 1:int) -> 8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>) -> 
10:boolean) -> 12:boolean) ->
  10:boolean)
+                        predicateExpression: SelectColumnIsTrue(col 
15:boolean)(children: VectorUDFAdaptor((s2.f8.f9 and s1.f6 is not null and 
s2.f8.f9 is not null))(children: VectorUDFStructField(col 
8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>, col 
0:int)(children: VectorUDFStructField(col 
2:struct<f7:string,f8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>>,
 col 1:int) -> 8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>) -> 
9:boolean, IsNotNull(col 10:int)(children: VectorUDFStructField(col 
1:struct<f1:boolean,f2:string,f3:struct<f4:int,f5:double>,f6:int>, col 3:int) 
-> 10:int) -> 11:boolean, IsNotNull(col 13:boolean)(children: 
VectorUDFStructField(col 
12:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>, col 
0:int)(children: VectorUDFStructField(col 
2:struct<f7:string,f8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>>,
 col 1:int) -> 12:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>) -> 
13:boolean) -> 14:boolean) 
 -> 15:boolean)
                     predicate: (s1.f6 is not null and s2.f8.f9 and s2.f8.f9 is 
not null) (type: boolean)
                     Statistics: Num rows: 1 Data size: 1468 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
@@ -1830,14 +1830,14 @@ STAGE PLANS:
                       Select Vectorization:
                           className: VectorSelectOperator
                           native: true
-                          projectedOutputColumnNums: [9, 12]
-                          selectExpressions: VectorUDFStructField(col 
1:struct<f1:boolean,f2:string,f3:struct<f4:int,f5:double>,f6:int>, col 3:int) 
-> 9:int, LongColEqualLongScalar(col 11:boolean, val 1)(children: 
VectorUDFStructField(col 
8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>, col 
0:int)(children: VectorUDFStructField(col 
2:struct<f7:string,f8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>>,
 col 1:int) -> 8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>) -> 
11:boolean) -> 12:boolean
+                          projectedOutputColumnNums: [16, 19]
+                          selectExpressions: VectorUDFStructField(col 
1:struct<f1:boolean,f2:string,f3:struct<f4:int,f5:double>,f6:int>, col 3:int) 
-> 16:int, LongColEqualLongScalar(col 18:boolean, val 1)(children: 
VectorUDFStructField(col 
17:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>, col 
0:int)(children: VectorUDFStructField(col 
2:struct<f7:string,f8:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>>,
 col 1:int) -> 17:struct<f9:boolean,f10:array<int>,f11:map<string,boolean>>) -> 
18:boolean) -> 19:boolean
                       Statistics: Num rows: 1 Data size: 1468 Basic stats: 
COMPLETE Column stats: NONE
                       Group By Operator
                         Group By Vectorization:
                             className: VectorGroupByOperator
                             groupByMode: HASH
-                            keyExpressions: col 9:int, col 12:boolean
+                            keyExpressions: col 16:int, col 19:boolean
                             native: false
                             vectorProcessingMode: HASH
                             projectedOutputColumnNums: []
@@ -2107,8 +2107,8 @@ STAGE PLANS:
                       Select Vectorization:
                           className: VectorSelectOperator
                           native: true
-                          projectedOutputColumnNums: [1, 9]
-                          selectExpressions: VectorUDFStructField(col 
8:struct<f4:int,f5:double>, col 0:int)(children: VectorUDFStructField(col 
1:struct<f1:boolean,f2:string,f3:struct<f4:int,f5:double>,f6:int>, col 2:int) 
-> 8:struct<f4:int,f5:double>) -> 9:int
+                          projectedOutputColumnNums: [1, 11]
+                          selectExpressions: VectorUDFStructField(col 
10:struct<f4:int,f5:double>, col 0:int)(children: VectorUDFStructField(col 
1:struct<f1:boolean,f2:string,f3:struct<f4:int,f5:double>,f6:int>, col 2:int) 
-> 10:struct<f4:int,f5:double>) -> 11:int
                       Statistics: Num rows: 1 Data size: 316 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col1 (type: int)
@@ -2153,8 +2153,8 @@ STAGE PLANS:
                       Select Vectorization:
                           className: VectorSelectOperator
                           native: true
-                          projectedOutputColumnNums: [2, 8]
-                          selectExpressions: VectorUDFStructField(col 
1:struct<f1:boolean,f2:string,f3:struct<f4:int,f5:double>,f6:int>, col 3:int) 
-> 8:int
+                          projectedOutputColumnNums: [2, 9]
+                          selectExpressions: VectorUDFStructField(col 
1:struct<f1:boolean,f2:string,f3:struct<f4:int,f5:double>,f6:int>, col 3:int) 
-> 9:int
                       Statistics: Num rows: 1 Data size: 1468 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col1 (type: int)

http://git-wip-us.apache.org/repos/asf/hive/blob/8b968c7e/ql/src/test/results/clientpositive/llap/vector_reuse_scratchcols.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/vector_reuse_scratchcols.q.out 
b/ql/src/test/results/clientpositive/llap/vector_reuse_scratchcols.q.out
index a2589c7..a061b63 100644
--- a/ql/src/test/results/clientpositive/llap/vector_reuse_scratchcols.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_reuse_scratchcols.q.out
@@ -105,7 +105,7 @@ STAGE PLANS:
                     Filter Vectorization:
                         className: VectorFilterOperator
                         native: true
-                        predicateExpression: FilterExprOrExpr(children: 
FilterLongColEqualLongScalar(col 3:bigint, val 762), 
FilterExprAndExpr(children: FilterDoubleColLessDoubleColumn(col 13:float, col 
4:float)(children: CastLongToFloatViaLongToDouble(col 1:smallint) -> 13:float), 
FilterDoubleColGreaterDoubleScalar(col 13:double, val -5.0)(children: 
CastTimestampToDouble(col 9:timestamp) -> 13:double), 
FilterDoubleColNotEqualDoubleColumn(col 5:double, col 13:double)(children: 
CastLongToDouble(col 2:int) -> 13:double)), 
FilterStringGroupColEqualStringScalar(col 6:string, val a), 
FilterExprAndExpr(children: FilterDecimalColLessEqualDecimalScalar(col 
14:decimal(22,3), val -1.389)(children: CastLongToDecimal(col 3:bigint) -> 
14:decimal(22,3)), FilterStringGroupColNotEqualStringScalar(col 7:string, val 
a), FilterDecimalColNotEqualDecimalScalar(col 15:decimal(13,3), val 
79.553)(children: CastLongToDecimal(col 2:int) -> 15:decimal(13,3)), 
FilterLongColNotEqualLongColumn(col 11:boolean, co
 l 10:boolean)))
+                        predicateExpression: FilterExprOrExpr(children: 
FilterLongColEqualLongScalar(col 3:bigint, val 762), 
FilterExprAndExpr(children: FilterDoubleColLessDoubleColumn(col 13:float, col 
4:float)(children: CastLongToFloatViaLongToDouble(col 1:smallint) -> 13:float), 
FilterDoubleColGreaterDoubleScalar(col 14:double, val -5.0)(children: 
CastTimestampToDouble(col 9:timestamp) -> 14:double), 
FilterDoubleColNotEqualDoubleColumn(col 5:double, col 15:double)(children: 
CastLongToDouble(col 2:int) -> 15:double)), 
FilterStringGroupColEqualStringScalar(col 6:string, val a), 
FilterExprAndExpr(children: FilterDecimalColLessEqualDecimalScalar(col 
16:decimal(22,3), val -1.389)(children: CastLongToDecimal(col 3:bigint) -> 
16:decimal(22,3)), FilterStringGroupColNotEqualStringScalar(col 7:string, val 
a), FilterDecimalColNotEqualDecimalScalar(col 17:decimal(13,3), val 
79.553)(children: CastLongToDecimal(col 2:int) -> 17:decimal(13,3)), 
FilterLongColNotEqualLongColumn(col 11:boolean, co
 l 10:boolean)))
                     predicate: (((CAST( cbigint AS decimal(22,3)) <= -1.389) 
and (cstring2 <> 'a') and (CAST( cint AS decimal(13,3)) <> 79.553) and 
(cboolean2 <> cboolean1)) or ((UDFToFloat(csmallint) < cfloat) and 
(UDFToDouble(ctimestamp2) > -5.0D) and (cdouble <> UDFToDouble(cint))) or 
(cbigint = 762L) or (cstring1 = 'a')) (type: boolean)
                     Statistics: Num rows: 5465 Data size: 1157230 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
@@ -114,13 +114,13 @@ STAGE PLANS:
                       Select Vectorization:
                           className: VectorSelectOperator
                           native: true
-                          projectedOutputColumnNums: [2, 5, 1, 4, 0, 13, 18, 
16, 20]
-                          selectExpressions: CastLongToDouble(col 2:int) -> 
13:double, DoubleColMultiplyDoubleColumn(col 16:double, col 
17:double)(children: CastLongToDouble(col 2:int) -> 16:double, 
CastLongToDouble(col 2:int) -> 17:double) -> 18:double, CastLongToDouble(col 
1:smallint) -> 16:double, DoubleColMultiplyDoubleColumn(col 17:double, col 
19:double)(children: CastLongToDouble(col 1:smallint) -> 17:double, 
CastLongToDouble(col 1:smallint) -> 19:double) -> 20:double
+                          projectedOutputColumnNums: [2, 5, 1, 4, 0, 18, 21, 
22, 25]
+                          selectExpressions: CastLongToDouble(col 2:int) -> 
18:double, DoubleColMultiplyDoubleColumn(col 19:double, col 
20:double)(children: CastLongToDouble(col 2:int) -> 19:double, 
CastLongToDouble(col 2:int) -> 20:double) -> 21:double, CastLongToDouble(col 
1:smallint) -> 22:double, DoubleColMultiplyDoubleColumn(col 23:double, col 
24:double)(children: CastLongToDouble(col 1:smallint) -> 23:double, 
CastLongToDouble(col 1:smallint) -> 24:double) -> 25:double
                       Statistics: Num rows: 5465 Data size: 1157230 Basic 
stats: COMPLETE Column stats: COMPLETE
                       Group By Operator
                         aggregations: sum(_col0), count(_col0), sum(_col1), 
sum(_col6), sum(_col5), sum(_col8), sum(_col7), count(_col2), sum(_col3), 
count(_col3), min(_col4)
                         Group By Vectorization:
-                            aggregators: VectorUDAFSumLong(col 2:int) -> 
bigint, VectorUDAFCount(col 2:int) -> bigint, VectorUDAFSumDouble(col 5:double) 
-> double, VectorUDAFSumDouble(col 18:double) -> double, 
VectorUDAFSumDouble(col 13:double) -> double, VectorUDAFSumDouble(col 
20:double) -> double, VectorUDAFSumDouble(col 16:double) -> double, 
VectorUDAFCount(col 1:smallint) -> bigint, VectorUDAFSumDouble(col 4:float) -> 
double, VectorUDAFCount(col 4:float) -> bigint, VectorUDAFMinLong(col 
0:tinyint) -> tinyint
+                            aggregators: VectorUDAFSumLong(col 2:int) -> 
bigint, VectorUDAFCount(col 2:int) -> bigint, VectorUDAFSumDouble(col 5:double) 
-> double, VectorUDAFSumDouble(col 21:double) -> double, 
VectorUDAFSumDouble(col 18:double) -> double, VectorUDAFSumDouble(col 
25:double) -> double, VectorUDAFSumDouble(col 22:double) -> double, 
VectorUDAFCount(col 1:smallint) -> bigint, VectorUDAFSumDouble(col 4:float) -> 
double, VectorUDAFCount(col 4:float) -> bigint, VectorUDAFMinLong(col 
0:tinyint) -> tinyint
                             className: VectorGroupByOperator
                             groupByMode: HASH
                             native: false
@@ -154,7 +154,7 @@ STAGE PLANS:
                     includeColumns: [0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 11]
                     dataColumns: ctinyint:tinyint, csmallint:smallint, 
cint:int, cbigint:bigint, cfloat:float, cdouble:double, cstring1:string, 
cstring2:string, ctimestamp1:timestamp, ctimestamp2:timestamp, 
cboolean1:boolean, cboolean2:boolean
                     partitionColumnCount: 0
-                    scratchColumnTypeNames: [double, decimal(22,3), 
decimal(13,3), double, double, double, double, double]
+                    scratchColumnTypeNames: [double, double, double, 
decimal(22,3), decimal(13,3), double, double, double, double, double, double, 
double, double]
         Reducer 2 
             Execution mode: vectorized, llap
             Reduce Vectorization:
@@ -189,8 +189,8 @@ STAGE PLANS:
                   Select Vectorization:
                       className: VectorSelectOperator
                       native: true
-                      projectedOutputColumnNums: [12, 11, 14, 13, 17, 2, 15, 
16, 19, 18, 24, 26, 25, 27, 20, 30, 34, 31, 37, 41, 38, 10, 7, 44, 43]
-                      selectExpressions: DoubleColDivideLongColumn(col 
11:double, col 1:bigint)(children: CastLongToDouble(col 0:bigint) -> 11:double) 
-> 12:double, DoubleColAddDoubleScalar(col 13:double, val -3728.0)(children: 
DoubleColDivideLongColumn(col 11:double, col 1:bigint)(children: 
CastLongToDouble(col 0:bigint) -> 11:double) -> 13:double) -> 11:double, 
DoubleColUnaryMinus(col 13:double)(children: DoubleColAddDoubleScalar(col 
14:double, val -3728.0)(children: DoubleColDivideLongColumn(col 13:double, col 
1:bigint)(children: CastLongToDouble(col 0:bigint) -> 13:double) -> 14:double) 
-> 13:double) -> 14:double, DoubleColUnaryMinus(col 15:double)(children: 
DoubleColUnaryMinus(col 13:double)(children: DoubleColAddDoubleScalar(col 
15:double, val -3728.0)(children: DoubleColDivideLongColumn(col 13:double, col 
1:bigint)(children: CastLongToDouble(col 0:bigint) -> 13:double) -> 15:double) 
-> 13:double) -> 15:double) -> 13:double, DoubleColMultiplyDoubleColumn(col 
15:double, col 16:
 double)(children: DoubleColUnaryMinus(col 16:double)(children: 
DoubleColUnaryMinus(col 15:double)(children: DoubleColAddDoubleScalar(col 
16:double, val -3728.0)(children: DoubleColDivideLongColumn(col 15:double, col 
1:bigint)(children: CastLongToDouble(col 0:bigint) -> 15:double) -> 16:double) 
-> 15:double) -> 16:double) -> 15:double, DoubleColAddDoubleScalar(col 
17:double, val -3728.0)(children: DoubleColDivideLongColumn(col 16:double, col 
1:bigint)(children: CastLongToDouble(col 0:bigint) -> 16:double) -> 17:double) 
-> 16:double) -> 17:double, DoubleColUnaryMinus(col 16:double)(children: 
DoubleColDivideLongColumn(col 15:double, col 1:bigint)(children: 
CastLongToDouble(col 0:bigint) -> 15:double) -> 16:double) -> 15:double, 
FuncPowerDoubleToDouble(col 18:double)(children: DoubleColDivideLongColumn(col 
16:double, col 1:bigint)(children: DoubleColSubtractDoubleColumn(col 3:double, 
col 18:double)(children: DoubleColDivideLongColumn(col 16:double, col 
1:bigint)(children: DoubleColMulti
 plyDoubleColumn(col 4:double, col 4:double) -> 16:double) -> 18:double) -> 
16:double) -> 18:double) -> 16:double, DoubleColMultiplyDoubleColumn(col 
20:double, col 18:double)(children: DoubleColMultiplyDoubleColumn(col 
18:double, col 19:double)(children: DoubleColUnaryMinus(col 
19:double)(children: DoubleColUnaryMinus(col 18:double)(children: 
DoubleColAddDoubleScalar(col 19:double, val -3728.0)(children: 
DoubleColDivideLongColumn(col 18:double, col 1:bigint)(children: 
CastLongToDouble(col 0:bigint) -> 18:double) -> 19:double) -> 18:double) -> 
19:double) -> 18:double, DoubleColAddDoubleScalar(col 20:double, val 
-3728.0)(children: DoubleColDivideLongColumn(col 19:double, col 
1:bigint)(children: CastLongToDouble(col 0:bigint) -> 19:double) -> 20:double) 
-> 19:double) -> 20:double, DoubleColUnaryMinus(col 19:double)(children: 
DoubleColUnaryMinus(col 18:double)(children: DoubleColAddDoubleScalar(col 
19:double, val -3728.0)(children: DoubleColDivideLongColumn(col 18:double, col 
1:bigint)(c
 hildren: CastLongToDouble(col 0:bigint) -> 18:double) -> 19:double) -> 
18:double) -> 19:double) -> 18:double) -> 19:double, 
FuncPowerDoubleToDouble(col 20:double)(children: DoubleColDivideLongColumn(col 
18:double, col 23:bigint)(children: DoubleColSubtractDoubleColumn(col 5:double, 
col 20:double)(children: DoubleColDivideLongColumn(col 18:double, col 
7:bigint)(children: DoubleColMultiplyDoubleColumn(col 6:double, col 6:double) 
-> 18:double) -> 20:double) -> 18:double, IfExprNullCondExpr(col 21:boolean, 
null, col 22:bigint)(children: LongColEqualLongScalar(col 7:bigint, val 1) -> 
21:boolean, LongColSubtractLongScalar(col 7:bigint, val 1) -> 22:bigint) -> 
23:bigint) -> 20:double) -> 18:double, DoubleColUnaryMinus(col 
20:double)(children: FuncPowerDoubleToDouble(col 24:double)(children: 
DoubleColDivideLongColumn(col 20:double, col 1:bigint)(children: 
DoubleColSubtractDoubleColumn(col 3:double, col 24:double)(children: 
DoubleColDivideLongColumn(col 20:double, col 1:bigint)(children: Dou
 bleColMultiplyDoubleColumn(col 4:double, col 4:double) -> 20:double) -> 
24:double) -> 20:double) -> 24:double) -> 20:double) -> 24:double, 
DoubleColSubtractDoubleColumn(col 20:double, col 25:double)(children: 
FuncPowerDoubleToDouble(col 25:double)(children: DoubleColDivideLongColumn(col 
20:double, col 1:bigint)(children: DoubleColSubtractDoubleColumn(col 3:double, 
col 25:double)(children: DoubleColDivideLongColumn(col 20:double, col 
1:bigint)(children: DoubleColMultiplyDoubleColumn(col 4:double, col 4:double) 
-> 20:double) -> 25:double) -> 20:double) -> 25:double) -> 20:double, 
DoubleColUnaryMinus(col 26:double)(children: DoubleColUnaryMinus(col 
25:double)(children: DoubleColAddDoubleScalar(col 26:double, val 
-3728.0)(children: DoubleColDivideLongColumn(col 25:double, col 
1:bigint)(children: CastLongToDouble(col 0:bigint) -> 25:double) -> 26:double) 
-> 25:double) -> 26:double) -> 25:double) -> 26:double, 
DoubleColMultiplyDoubleColumn(col 27:double, col 20:double)(children: DoubleCol
 SubtractDoubleColumn(col 20:double, col 25:double)(children: 
FuncPowerDoubleToDouble(col 25:double)(children: DoubleColDivideLongColumn(col 
20:double, col 1:bigint)(children: DoubleColSubtractDoubleColumn(col 3:double, 
col 25:double)(children: DoubleColDivideLongColumn(col 20:double, col 
1:bigint)(children: DoubleColMultiplyDoubleColumn(col 4:double, col 4:double) 
-> 20:double) -> 25:double) -> 20:double) -> 25:double) -> 20:double, 
DoubleColUnaryMinus(col 27:double)(children: DoubleColUnaryMinus(col 
25:double)(children: DoubleColAddDoubleScalar(col 27:double, val 
-3728.0)(children: DoubleColDivideLongColumn(col 25:double, col 
1:bigint)(children: CastLongToDouble(col 0:bigint) -> 25:double) -> 27:double) 
-> 25:double) -> 27:double) -> 25:double) -> 27:double, 
FuncPowerDoubleToDouble(col 25:double)(children: DoubleColDivideLongColumn(col 
20:double, col 1:bigint)(children: DoubleColSubtractDoubleColumn(col 3:double, 
col 25:double)(children: DoubleColDivideLongColumn(col 20:double, col
  1:bigint)(children: DoubleColMultiplyDoubleColumn(col 4:double, col 4:double) 
-> 20:double) -> 25:double) -> 20:double) -> 25:double) -> 20:double) -> 
25:double, DoubleColDivideLongColumn(col 20:double, col 29:bigint)(children: 
DoubleColSubtractDoubleColumn(col 3:double, col 27:double)(children: 
DoubleColDivideLongColumn(col 20:double, col 1:bigint)(children: 
DoubleColMultiplyDoubleColumn(col 4:double, col 4:double) -> 20:double) -> 
27:double) -> 20:double, IfExprNullCondExpr(col 23:boolean, null, col 
28:bigint)(children: LongColEqualLongScalar(col 1:bigint, val 1) -> 23:boolean, 
LongColSubtractLongScalar(col 1:bigint, val 1) -> 28:bigint) -> 29:bigint) -> 
27:double, DoubleColDivideLongColumn(col 8:double, col 9:bigint) -> 20:double, 
DoubleScalarSubtractDoubleColumn(val 10.175, col 31:double)(children: 
DoubleColDivideLongColumn(col 30:double, col 33:bigint)(children: 
DoubleColSubtractDoubleColumn(col 3:double, col 31:double)(children: 
DoubleColDivideLongColumn(col 30:double, col 1:
 bigint)(children: DoubleColMultiplyDoubleColumn(col 4:double, col 4:double) -> 
30:double) -> 31:double) -> 30:double, IfExprNullCondExpr(col 29:boolean, null, 
col 32:bigint)(children: LongColEqualLongScalar(col 1:bigint, val 1) -> 
29:boolean, LongColSubtractLongScalar(col 1:bigint, val 1) -> 32:bigint) -> 
33:bigint) -> 31:double) -> 30:double, DoubleColUnaryMinus(col 
31:double)(children: DoubleScalarSubtractDoubleColumn(val 10.175, col 
34:double)(children: DoubleColDivideLongColumn(col 31:double, col 
36:bigint)(children: DoubleColSubtractDoubleColumn(col 3:double, col 
34:double)(children: DoubleColDivideLongColumn(col 31:double, col 
1:bigint)(children: DoubleColMultiplyDoubleColumn(col 4:double, col 4:double) 
-> 31:double) -> 34:double) -> 31:double, IfExprNullCondExpr(col 33:boolean, 
null, col 35:bigint)(children: LongColEqualLongScalar(col 1:bigint, val 1) -> 
33:boolean, LongColSubtractLongScalar(col 1:bigint, val 1) -> 35:bigint) -> 
36:bigint) -> 34:double) -> 31:double) -> 34:do
 uble, DoubleColDivideDoubleScalar(col 37:double, val -563.0)(children: 
DoubleColUnaryMinus(col 31:double)(children: FuncPowerDoubleToDouble(col 
37:double)(children: DoubleColDivideLongColumn(col 31:double, col 
1:bigint)(children: DoubleColSubtractDoubleColumn(col 3:double, col 
37:double)(children: DoubleColDivideLongColumn(col 31:double, col 
1:bigint)(children: DoubleColMultiplyDoubleColumn(col 4:double, col 4:double) 
-> 31:double) -> 37:double) -> 31:double) -> 37:double) -> 31:double) -> 
37:double) -> 31:double, FuncPowerDoubleToDouble(col 38:double)(children: 
DoubleColDivideLongColumn(col 37:double, col 40:bigint)(children: 
DoubleColSubtractDoubleColumn(col 3:double, col 38:double)(children: 
DoubleColDivideLongColumn(col 37:double, col 1:bigint)(children: 
DoubleColMultiplyDoubleColumn(col 4:double, col 4:double) -> 37:double) -> 
38:double) -> 37:double, IfExprNullCondExpr(col 36:boolean, null, col 
39:bigint)(children: LongColEqualLongScalar(col 1:bigint, val 1) -> 36:boolean, 
Lon
 gColSubtractLongScalar(col 1:bigint, val 1) -> 39:bigint) -> 40:bigint) -> 
38:double) -> 37:double, DoubleColUnaryMinus(col 38:double)(children: 
DoubleColDivideDoubleScalar(col 41:double, val -563.0)(children: 
DoubleColUnaryMinus(col 38:double)(children: FuncPowerDoubleToDouble(col 
41:double)(children: DoubleColDivideLongColumn(col 38:double, col 
1:bigint)(children: DoubleColSubtractDoubleColumn(col 3:double, col 
41:double)(children: DoubleColDivideLongColumn(col 38:double, col 
1:bigint)(children: DoubleColMultiplyDoubleColumn(col 4:double, col 4:double) 
-> 38:double) -> 41:double) -> 38:double) -> 41:double) -> 38:double) -> 
41:double) -> 38:double) -> 41:double, DoubleColDivideDoubleColumn(col 
42:double, col 2:double)(children: DoubleColDivideLongColumn(col 38:double, col 
1:bigint)(children: CastLongToDouble(col 0:bigint) -> 38:double) -> 42:double) 
-> 38:double, DoubleColDivideDoubleColumn(col 42:double, col 
43:double)(children: CastLongToDouble(col 10:tinyint) -> 42:double, Doub
 leColDivideDoubleScalar(col 44:double, val -563.0)(children: 
DoubleColUnaryMinus(col 43:double)(children: FuncPowerDoubleToDouble(col 
44:double)(children: DoubleColDivideLongColumn(col 43:double, col 
1:bigint)(children: DoubleColSubtractDoubleColumn(col 3:double, col 
44:double)(children: DoubleColDivideLongColumn(col 43:double, col 
1:bigint)(children: DoubleColMultiplyDoubleColumn(col 4:double, col 4:double) 
-> 43:double) -> 44:double) -> 43:double) -> 44:double) -> 43:double) -> 
44:double) -> 43:double) -> 44:double, DoubleColUnaryMinus(col 
42:double)(children: DoubleColDivideDoubleColumn(col 43:double, col 
2:double)(children: DoubleColDivideLongColumn(col 42:double, col 
1:bigint)(children: CastLongToDouble(col 0:bigint) -> 42:double) -> 43:double) 
-> 42:double) -> 43:double
+                      projectedOutputColumnNums: [12, 15, 19, 24, 33, 2, 36, 
41, 56, 64, 70, 81, 98, 105, 106, 114, 123, 130, 138, 146, 149, 10, 7, 158, 162]
+                      selectExpressions: DoubleColDivideLongColumn(col 
11:double, col 1:bigint)(children: CastLongToDouble(col 0:bigint) -> 11:double) 
-> 12:double, DoubleColAddDoubleScalar(col 14:double, val -3728.0)(children: 
DoubleColDivideLongColumn(col 13:double, col 1:bigint)(children: 
CastLongToDouble(col 0:bigint) -> 13:double) -> 14:double) -> 15:double, 
DoubleColUnaryMinus(col 18:double)(children: DoubleColAddDoubleScalar(col 
17:double, val -3728.0)(children: DoubleColDivideLongColumn(col 16:double, col 
1:bigint)(children: CastLongToDouble(col 0:bigint) -> 16:double) -> 17:double) 
-> 18:double) -> 19:double, DoubleColUnaryMinus(col 23:double)(children: 
DoubleColUnaryMinus(col 22:double)(children: DoubleColAddDoubleScalar(col 
21:double, val -3728.0)(children: DoubleColDivideLongColumn(col 20:double, col 
1:bigint)(children: CastLongToDouble(col 0:bigint) -> 20:double) -> 21:double) 
-> 22:double) -> 23:double) -> 24:double, DoubleColMultiplyDoubleColumn(col 
29:double, col 32:
 double)(children: DoubleColUnaryMinus(col 28:double)(children: 
DoubleColUnaryMinus(col 27:double)(children: DoubleColAddDoubleScalar(col 
26:double, val -3728.0)(children: DoubleColDivideLongColumn(col 25:double, col 
1:bigint)(children: CastLongToDouble(col 0:bigint) -> 25:double) -> 26:double) 
-> 27:double) -> 28:double) -> 29:double, DoubleColAddDoubleScalar(col 
31:double, val -3728.0)(children: DoubleColDivideLongColumn(col 30:double, col 
1:bigint)(children: CastLongToDouble(col 0:bigint) -> 30:double) -> 31:double) 
-> 32:double) -> 33:double, DoubleColUnaryMinus(col 35:double)(children: 
DoubleColDivideLongColumn(col 34:double, col 1:bigint)(children: 
CastLongToDouble(col 0:bigint) -> 34:double) -> 35:double) -> 36:double, 
FuncPowerDoubleToDouble(col 40:double)(children: DoubleColDivideLongColumn(col 
39:double, col 1:bigint)(children: DoubleColSubtractDoubleColumn(col 3:double, 
col 38:double)(children: DoubleColDivideLongColumn(col 37:double, col 
1:bigint)(children: DoubleColMulti
 plyDoubleColumn(col 4:double, col 4:double) -> 37:double) -> 38:double) -> 
39:double) -> 40:double) -> 41:double, DoubleColMultiplyDoubleColumn(col 
50:double, col 55:double)(children: DoubleColMultiplyDoubleColumn(col 
46:double, col 49:double)(children: DoubleColUnaryMinus(col 
45:double)(children: DoubleColUnaryMinus(col 44:double)(children: 
DoubleColAddDoubleScalar(col 43:double, val -3728.0)(children: 
DoubleColDivideLongColumn(col 42:double, col 1:bigint)(children: 
CastLongToDouble(col 0:bigint) -> 42:double) -> 43:double) -> 44:double) -> 
45:double) -> 46:double, DoubleColAddDoubleScalar(col 48:double, val 
-3728.0)(children: DoubleColDivideLongColumn(col 47:double, col 
1:bigint)(children: CastLongToDouble(col 0:bigint) -> 47:double) -> 48:double) 
-> 49:double) -> 50:double, DoubleColUnaryMinus(col 54:double)(children: 
DoubleColUnaryMinus(col 53:double)(children: DoubleColAddDoubleScalar(col 
52:double, val -3728.0)(children: DoubleColDivideLongColumn(col 51:double, col 
1:bigint)(c
 hildren: CastLongToDouble(col 0:bigint) -> 51:double) -> 52:double) -> 
53:double) -> 54:double) -> 55:double) -> 56:double, 
FuncPowerDoubleToDouble(col 63:double)(children: DoubleColDivideLongColumn(col 
59:double, col 62:bigint)(children: DoubleColSubtractDoubleColumn(col 5:double, 
col 58:double)(children: DoubleColDivideLongColumn(col 57:double, col 
7:bigint)(children: DoubleColMultiplyDoubleColumn(col 6:double, col 6:double) 
-> 57:double) -> 58:double) -> 59:double, IfExprNullCondExpr(col 60:boolean, 
null, col 61:bigint)(children: LongColEqualLongScalar(col 7:bigint, val 1) -> 
60:boolean, LongColSubtractLongScalar(col 7:bigint, val 1) -> 61:bigint) -> 
62:bigint) -> 63:double) -> 64:double, DoubleColUnaryMinus(col 
69:double)(children: FuncPowerDoubleToDouble(col 68:double)(children: 
DoubleColDivideLongColumn(col 67:double, col 1:bigint)(children: 
DoubleColSubtractDoubleColumn(col 3:double, col 66:double)(children: 
DoubleColDivideLongColumn(col 65:double, col 1:bigint)(children: Dou
 bleColMultiplyDoubleColumn(col 4:double, col 4:double) -> 65:double) -> 
66:double) -> 67:double) -> 68:double) -> 69:double) -> 70:double, 
DoubleColSubtractDoubleColumn(col 75:double, col 80:double)(children: 
FuncPowerDoubleToDouble(col 74:double)(children: DoubleColDivideLongColumn(col 
73:double, col 1:bigint)(children: DoubleColSubtractDoubleColumn(col 3:double, 
col 72:double)(children: DoubleColDivideLongColumn(col 71:double, col 
1:bigint)(children: DoubleColMultiplyDoubleColumn(col 4:double, col 4:double) 
-> 71:double) -> 72:double) -> 73:double) -> 74:double) -> 75:double, 
DoubleColUnaryMinus(col 79:double)(children: DoubleColUnaryMinus(col 
78:double)(children: DoubleColAddDoubleScalar(col 77:double, val 
-3728.0)(children: DoubleColDivideLongColumn(col 76:double, col 
1:bigint)(children: CastLongToDouble(col 0:bigint) -> 76:double) -> 77:double) 
-> 78:double) -> 79:double) -> 80:double) -> 81:double, 
DoubleColMultiplyDoubleColumn(col 92:double, col 97:double)(children: DoubleCol
 SubtractDoubleColumn(col 86:double, col 91:double)(children: 
FuncPowerDoubleToDouble(col 85:double)(children: DoubleColDivideLongColumn(col 
84:double, col 1:bigint)(children: DoubleColSubtractDoubleColumn(col 3:double, 
col 83:double)(children: DoubleColDivideLongColumn(col 82:double, col 
1:bigint)(children: DoubleColMultiplyDoubleColumn(col 4:double, col 4:double) 
-> 82:double) -> 83:double) -> 84:double) -> 85:double) -> 86:double, 
DoubleColUnaryMinus(col 90:double)(children: DoubleColUnaryMinus(col 
89:double)(children: DoubleColAddDoubleScalar(col 88:double, val 
-3728.0)(children: DoubleColDivideLongColumn(col 87:double, col 
1:bigint)(children: CastLongToDouble(col 0:bigint) -> 87:double) -> 88:double) 
-> 89:double) -> 90:double) -> 91:double) -> 92:double, 
FuncPowerDoubleToDouble(col 96:double)(children: DoubleColDivideLongColumn(col 
95:double, col 1:bigint)(children: DoubleColSubtractDoubleColumn(col 3:double, 
col 94:double)(children: DoubleColDivideLongColumn(col 93:double, col
  1:bigint)(children: DoubleColMultiplyDoubleColumn(col 4:double, col 4:double) 
-> 93:double) -> 94:double) -> 95:double) -> 96:double) -> 97:double) -> 
98:double, DoubleColDivideLongColumn(col 101:double, col 104:bigint)(children: 
DoubleColSubtractDoubleColumn(col 3:double, col 100:double)(children: 
DoubleColDivideLongColumn(col 99:double, col 1:bigint)(children: 
DoubleColMultiplyDoubleColumn(col 4:double, col 4:double) -> 99:double) -> 
100:double) -> 101:double, IfExprNullCondExpr(col 102:boolean, null, col 
103:bigint)(children: LongColEqualLongScalar(col 1:bigint, val 1) -> 
102:boolean, LongColSubtractLongScalar(col 1:bigint, val 1) -> 103:bigint) -> 
104:bigint) -> 105:double, DoubleColDivideLongColumn(col 8:double, col 
9:bigint) -> 106:double, DoubleScalarSubtractDoubleColumn(val 10.175, col 
113:double)(children: DoubleColDivideLongColumn(col 109:double, col 
112:bigint)(children: DoubleColSubtractDoubleColumn(col 3:double, col 
108:double)(children: DoubleColDivideLongColumn(col 1
 07:double, col 1:bigint)(children: DoubleColMultiplyDoubleColumn(col 4:double, 
col 4:double) -> 107:double) -> 108:double) -> 109:double, 
IfExprNullCondExpr(col 110:boolean, null, col 111:bigint)(children: 
LongColEqualLongScalar(col 1:bigint, val 1) -> 110:boolean, 
LongColSubtractLongScalar(col 1:bigint, val 1) -> 111:bigint) -> 112:bigint) -> 
113:double) -> 114:double, DoubleColUnaryMinus(col 122:double)(children: 
DoubleScalarSubtractDoubleColumn(val 10.175, col 121:double)(children: 
DoubleColDivideLongColumn(col 117:double, col 120:bigint)(children: 
DoubleColSubtractDoubleColumn(col 3:double, col 116:double)(children: 
DoubleColDivideLongColumn(col 115:double, col 1:bigint)(children: 
DoubleColMultiplyDoubleColumn(col 4:double, col 4:double) -> 115:double) -> 
116:double) -> 117:double, IfExprNullCondExpr(col 118:boolean, null, col 
119:bigint)(children: LongColEqualLongScalar(col 1:bigint, val 1) -> 
118:boolean, LongColSubtractLongScalar(col 1:bigint, val 1) -> 119:bigint) -> 
120:big
 int) -> 121:double) -> 122:double) -> 123:double, 
DoubleColDivideDoubleScalar(col 129:double, val -563.0)(children: 
DoubleColUnaryMinus(col 128:double)(children: FuncPowerDoubleToDouble(col 
127:double)(children: DoubleColDivideLongColumn(col 126:double, col 
1:bigint)(children: DoubleColSubtractDoubleColumn(col 3:double, col 
125:double)(children: DoubleColDivideLongColumn(col 124:double, col 
1:bigint)(children: DoubleColMultiplyDoubleColumn(col 4:double, col 4:double) 
-> 124:double) -> 125:double) -> 126:double) -> 127:double) -> 128:double) -> 
129:double) -> 130:double, FuncPowerDoubleToDouble(col 137:double)(children: 
DoubleColDivideLongColumn(col 133:double, col 136:bigint)(children: 
DoubleColSubtractDoubleColumn(col 3:double, col 132:double)(children: 
DoubleColDivideLongColumn(col 131:double, col 1:bigint)(children: 
DoubleColMultiplyDoubleColumn(col 4:double, col 4:double) -> 131:double) -> 
132:double) -> 133:double, IfExprNullCondExpr(col 134:boolean, null, col 
135:bigint)(child
 ren: LongColEqualLongScalar(col 1:bigint, val 1) -> 134:boolean, 
LongColSubtractLongScalar(col 1:bigint, val 1) -> 135:bigint) -> 136:bigint) -> 
137:double) -> 138:double, DoubleColUnaryMinus(col 145:double)(children: 
DoubleColDivideDoubleScalar(col 144:double, val -563.0)(children: 
DoubleColUnaryMinus(col 143:double)(children: FuncPowerDoubleToDouble(col 
142:double)(children: DoubleColDivideLongColumn(col 141:double, col 
1:bigint)(children: DoubleColSubtractDoubleColumn(col 3:double, col 
140:double)(children: DoubleColDivideLongColumn(col 139:double, col 
1:bigint)(children: DoubleColMultiplyDoubleColumn(col 4:double, col 4:double) 
-> 139:double) -> 140:double) -> 141:double) -> 142:double) -> 143:double) -> 
144:double) -> 145:double) -> 146:double, DoubleColDivideDoubleColumn(col 
148:double, col 2:double)(children: DoubleColDivideLongColumn(col 147:double, 
col 1:bigint)(children: CastLongToDouble(col 0:bigint) -> 147:double) -> 
148:double) -> 149:double, DoubleColDivideDoubleColumn
 (col 150:double, col 157:double)(children: CastLongToDouble(col 10:tinyint) -> 
150:double, DoubleColDivideDoubleScalar(col 156:double, val -563.0)(children: 
DoubleColUnaryMinus(col 155:double)(children: FuncPowerDoubleToDouble(col 
154:double)(children: DoubleColDivideLongColumn(col 153:double, col 
1:bigint)(children: DoubleColSubtractDoubleColumn(col 3:double, col 
152:double)(children: DoubleColDivideLongColumn(col 151:double, col 
1:bigint)(children: DoubleColMultiplyDoubleColumn(col 4:double, col 4:double) 
-> 151:double) -> 152:double) -> 153:double) -> 154:double) -> 155:double) -> 
156:double) -> 157:double) -> 158:double, DoubleColUnaryMinus(col 
161:double)(children: DoubleColDivideDoubleColumn(col 160:double, col 
2:double)(children: DoubleColDivideLongColumn(col 159:double, col 
1:bigint)(children: CastLongToDouble(col 0:bigint) -> 159:double) -> 
160:double) -> 161:double) -> 162:double
                   Statistics: Num rows: 1 Data size: 196 Basic stats: COMPLETE 
Column stats: COMPLETE
                   File Output Operator
                     compressed: false

http://git-wip-us.apache.org/repos/asf/hive/blob/8b968c7e/ql/src/test/results/clientpositive/llap/vector_string_concat.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_string_concat.q.out 
b/ql/src/test/results/clientpositive/llap/vector_string_concat.q.out
index fc00ed7..c304aa8 100644
--- a/ql/src/test/results/clientpositive/llap/vector_string_concat.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_string_concat.q.out
@@ -135,8 +135,8 @@ STAGE PLANS:
                     Select Vectorization:
                         className: VectorSelectOperator
                         native: true
-                        projectedOutputColumnNums: [7, 13, 12]
-                        selectExpressions: 
StringGroupColConcatStringScalar(col 12:string, val       )(children: 
StringScalarConcatStringGroupCol(val       , col 7:string) -> 12:string) -> 
13:string, StringGroupColConcatStringScalar(col 14:string, val |)(children: 
StringScalarConcatStringGroupCol(val |, col 12:string)(children: 
StringRTrim(col 14:string)(children: StringGroupColConcatStringScalar(col 
12:string, val       )(children: StringScalarConcatStringGroupCol(val       , 
col 7:string) -> 12:string) -> 14:string) -> 12:string) -> 14:string) -> 
12:string
+                        projectedOutputColumnNums: [7, 13, 18]
+                        selectExpressions: 
StringGroupColConcatStringScalar(col 12:string, val       )(children: 
StringScalarConcatStringGroupCol(val       , col 7:string) -> 12:string) -> 
13:string, StringGroupColConcatStringScalar(col 17:string, val |)(children: 
StringScalarConcatStringGroupCol(val |, col 16:string)(children: 
StringRTrim(col 15:string)(children: StringGroupColConcatStringScalar(col 
14:string, val       )(children: StringScalarConcatStringGroupCol(val       , 
col 7:string) -> 14:string) -> 15:string) -> 16:string) -> 17:string) -> 
18:string
                     Statistics: Num rows: 1049 Data size: 487785 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Limit
                       Number of rows: 20
@@ -357,8 +357,8 @@ STAGE PLANS:
                     Select Vectorization:
                         className: VectorSelectOperator
                         native: true
-                        projectedOutputColumnNums: [20]
-                        selectExpressions: StringGroupConcatColCol(col 
18:string, col 19:string)(children: StringGroupColConcatStringScalar(col 
19:string, val -)(children: StringScalarConcatStringGroupCol(val Quarter , col 
18:string)(children: CastLongToString(col 14:int)(children: 
CastDoubleToLong(col 16:double)(children: DoubleColAddDoubleScalar(col 
17:double, val 1.0)(children: DoubleColDivideDoubleScalar(col 16:double, val 
3.0)(children: CastLongToDouble(col 15:int)(children: 
LongColSubtractLongScalar(col 14:int, val 1)(children: VectorUDFMonthDate(col 
12, field MONTH) -> 14:int) -> 15:int) -> 16:double) -> 17:double) -> 
16:double) -> 14:int) -> 18:string) -> 19:string) -> 18:string, 
CastLongToString(col 14:int)(children: VectorUDFYearDate(col 12, field YEAR) -> 
14:int) -> 19:string) -> 20:string
+                        projectedOutputColumnNums: [25]
+                        selectExpressions: StringGroupConcatColCol(col 
22:string, col 24:string)(children: StringGroupColConcatStringScalar(col 
21:string, val -)(children: StringScalarConcatStringGroupCol(val Quarter , col 
20:string)(children: CastLongToString(col 19:int)(children: 
CastDoubleToLong(col 18:double)(children: DoubleColAddDoubleScalar(col 
17:double, val 1.0)(children: DoubleColDivideDoubleScalar(col 16:double, val 
3.0)(children: CastLongToDouble(col 15:int)(children: 
LongColSubtractLongScalar(col 14:int, val 1)(children: VectorUDFMonthDate(col 
12, field MONTH) -> 14:int) -> 15:int) -> 16:double) -> 17:double) -> 
18:double) -> 19:int) -> 20:string) -> 21:string) -> 22:string, 
CastLongToString(col 23:int)(children: VectorUDFYearDate(col 12, field YEAR) -> 
23:int) -> 24:string) -> 25:string
                     Statistics: Num rows: 2000 Data size: 106288 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Top N Key Operator
                       sort order: +
@@ -367,13 +367,13 @@ STAGE PLANS:
                       top n: 50
                       Top N Key Vectorization:
                           className: VectorTopNKeyOperator
-                          keyExpressions: col 20:string
+                          keyExpressions: col 25:string
                           native: true
                       Group By Operator
                         Group By Vectorization:
                             className: VectorGroupByOperator
                             groupByMode: HASH
-                            keyExpressions: col 20:string
+                            keyExpressions: col 25:string
                             native: false
                             vectorProcessingMode: HASH
                             projectedOutputColumnNums: []

http://git-wip-us.apache.org/repos/asf/hive/blob/8b968c7e/ql/src/test/results/clientpositive/llap/vector_udf1.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_udf1.q.out 
b/ql/src/test/results/clientpositive/llap/vector_udf1.q.out
index 8c2fb0c..45a3258 100644
--- a/ql/src/test/results/clientpositive/llap/vector_udf1.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_udf1.q.out
@@ -600,8 +600,8 @@ STAGE PLANS:
                     Select Vectorization:
                         className: VectorSelectOperator
                         native: true
-                        projectedOutputColumnNums: [10, 11, 14]
-                        selectExpressions: 
VectorUDFAdaptor(decode(encode(c2,'US-ASCII'),'US-ASCII'))(children: 
VectorUDFAdaptor(encode(c2,'US-ASCII')) -> 9:binary) -> 10:string, 
VectorUDFAdaptor(decode(encode(c4,'US-ASCII'),'US-ASCII'))(children: 
VectorUDFAdaptor(encode(c4,'US-ASCII')) -> 9:binary) -> 11:string, 
StringGroupColEqualStringGroupColumn(col 12:string, col 13:string)(children: 
VectorUDFAdaptor(decode(encode(c2,'US-ASCII'),'US-ASCII'))(children: 
VectorUDFAdaptor(encode(c2,'US-ASCII')) -> 9:binary) -> 12:string, 
VectorUDFAdaptor(decode(encode(c4,'US-ASCII'),'US-ASCII'))(children: 
VectorUDFAdaptor(encode(c4,'US-ASCII')) -> 9:binary) -> 13:string) -> 14:boolean
+                        projectedOutputColumnNums: [10, 12, 17]
+                        selectExpressions: 
VectorUDFAdaptor(decode(encode(c2,'US-ASCII'),'US-ASCII'))(children: 
VectorUDFAdaptor(encode(c2,'US-ASCII')) -> 9:binary) -> 10:string, 
VectorUDFAdaptor(decode(encode(c4,'US-ASCII'),'US-ASCII'))(children: 
VectorUDFAdaptor(encode(c4,'US-ASCII')) -> 11:binary) -> 12:string, 
StringGroupColEqualStringGroupColumn(col 14:string, col 16:string)(children: 
VectorUDFAdaptor(decode(encode(c2,'US-ASCII'),'US-ASCII'))(children: 
VectorUDFAdaptor(encode(c2,'US-ASCII')) -> 13:binary) -> 14:string, 
VectorUDFAdaptor(decode(encode(c4,'US-ASCII'),'US-ASCII'))(children: 
VectorUDFAdaptor(encode(c4,'US-ASCII')) -> 15:binary) -> 16:string) -> 
17:boolean
                     Statistics: Num rows: 1 Data size: 372 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Limit
                       Number of rows: 1
@@ -635,7 +635,7 @@ STAGE PLANS:
                     includeColumns: [1, 3]
                     dataColumns: c1:string, c2:string, c3:varchar(10), 
c4:varchar(20), d1:string, d2:string, d3:varchar(10), d4:varchar(10)
                     partitionColumnCount: 0
-                    scratchColumnTypeNames: [string, string, string, string, 
string, bigint]
+                    scratchColumnTypeNames: [string, string, string, string, 
string, string, string, string, bigint]
 
   Stage: Stage-0
     Fetch Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/8b968c7e/ql/src/test/results/clientpositive/llap/vector_udf_adaptor_1.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_udf_adaptor_1.q.out 
b/ql/src/test/results/clientpositive/llap/vector_udf_adaptor_1.q.out
index deab4d2..024b5e3 100644
--- a/ql/src/test/results/clientpositive/llap/vector_udf_adaptor_1.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_udf_adaptor_1.q.out
@@ -143,8 +143,8 @@ STAGE PLANS:
                     Select Vectorization:
                         className: VectorSelectOperator
                         native: true
-                        projectedOutputColumnNums: [0, 1, 2, 5, 6, 8, 9, 10, 
12]
-                        selectExpressions: VectorUDFAdaptor(if((age < 40), 
age, null))(children: LongColLessLongScalar(col 1:int, val 40) -> 4:boolean) -> 
5:int, VectorUDFAdaptor(if((age > 40), TIMESTAMP'2011-01-01 01:01:01', 
null))(children: LongColGreaterLongScalar(col 1:int, val 40) -> 4:boolean) -> 
6:timestamp, VectorUDFAdaptor(if((length(name) > 8), name, null))(children: 
LongColGreaterLongScalar(col 4:int, val 8)(children: StringLength(col 0:string) 
-> 4:int) -> 7:boolean) -> 8:string, VectorUDFAdaptor(if((length(name) < 8), 
CAST( name AS BINARY), null))(children: LongColLessLongScalar(col 4:int, val 
8)(children: StringLength(col 0:string) -> 4:int) -> 7:boolean, col 0:string) 
-> 9:binary, VectorUDFAdaptor(if((age > 40), length(name), null))(children: 
LongColGreaterLongScalar(col 1:int, val 40) -> 4:boolean, StringLength(col 
0:string) -> 7:int) -> 10:int, VectorUDFAdaptor(if((length(name) > 10), (2.0D * 
gpa), null))(children: LongColGreaterLongScalar(col 4:int, val 10)(childre
 n: StringLength(col 0:string) -> 4:int) -> 7:boolean, 
DoubleScalarMultiplyDoubleColumn(val 2.0, col 2:double) -> 11:double) -> 
12:double
+                        projectedOutputColumnNums: [0, 1, 2, 5, 7, 10, 13, 16, 
20]
+                        selectExpressions: VectorUDFAdaptor(if((age < 40), 
age, null))(children: LongColLessLongScalar(col 1:int, val 40) -> 4:boolean) -> 
5:int, VectorUDFAdaptor(if((age > 40), TIMESTAMP'2011-01-01 01:01:01', 
null))(children: LongColGreaterLongScalar(col 1:int, val 40) -> 6:boolean) -> 
7:timestamp, VectorUDFAdaptor(if((length(name) > 8), name, null))(children: 
LongColGreaterLongScalar(col 8:int, val 8)(children: StringLength(col 0:string) 
-> 8:int) -> 9:boolean) -> 10:string, VectorUDFAdaptor(if((length(name) < 8), 
CAST( name AS BINARY), null))(children: LongColLessLongScalar(col 11:int, val 
8)(children: StringLength(col 0:string) -> 11:int) -> 12:boolean, col 0:string) 
-> 13:binary, VectorUDFAdaptor(if((age > 40), length(name), null))(children: 
LongColGreaterLongScalar(col 1:int, val 40) -> 14:boolean, StringLength(col 
0:string) -> 15:int) -> 16:int, VectorUDFAdaptor(if((length(name) > 10), (2.0D 
* gpa), null))(children: LongColGreaterLongScalar(col 17:int, val 10)
 (children: StringLength(col 0:string) -> 17:int) -> 18:boolean, 
DoubleScalarMultiplyDoubleColumn(val 2.0, col 2:double) -> 19:double) -> 
20:double
                     Statistics: Num rows: 12 Data size: 2352 Basic stats: 
COMPLETE Column stats: NONE
                     File Output Operator
                       compressed: false
@@ -173,7 +173,7 @@ STAGE PLANS:
                     includeColumns: [0, 1, 2]
                     dataColumns: name:string, age:int, gpa:double
                     partitionColumnCount: 0
-                    scratchColumnTypeNames: [bigint, bigint, timestamp, 
bigint, string, string, bigint, double, double]
+                    scratchColumnTypeNames: [bigint, bigint, bigint, 
timestamp, bigint, bigint, string, bigint, bigint, string, bigint, bigint, 
bigint, bigint, bigint, double, double]
 
   Stage: Stage-2
     Dependency Collection
@@ -323,8 +323,8 @@ STAGE PLANS:
                     Select Vectorization:
                         className: VectorSelectOperator
                         native: true
-                        projectedOutputColumnNums: [0, 1, 2, 5, 8, 11, 13, 15, 
19]
-                        selectExpressions: IfExprColumnNull(col 4:boolean, col 
1:int, null)(children: LongColLessLongScalar(col 1:int, val 40) -> 4:boolean, 
col 1:int) -> 5:int, IfExprColumnNull(col 6:boolean, col 7:timestamp, 
null)(children: LongColGreaterLongScalar(col 1:int, val 40) -> 6:boolean, 
ConstantVectorExpression(val 2011-01-01 01:01:01) -> 7:timestamp) -> 
8:timestamp, IfExprColumnNull(col 10:boolean, col 0:string, null)(children: 
LongColGreaterLongScalar(col 9:int, val 8)(children: StringLength(col 0:string) 
-> 9:int) -> 10:boolean, col 0:string) -> 11:string, IfExprColumnNull(col 
12:boolean, col 0:string, null)(children: LongColLessLongScalar(col 9:int, val 
8)(children: StringLength(col 0:string) -> 9:int) -> 12:boolean, col 0:string) 
-> 13:binary, IfExprColumnNull(col 9:boolean, col 14:int, null)(children: 
LongColGreaterLongScalar(col 1:int, val 40) -> 9:boolean, StringLength(col 
0:string) -> 14:int) -> 15:int, IfExprColumnNull(col 17:boolean, col 18:double, 
null)(chil
 dren: LongColGreaterLongScalar(col 16:int, val 10)(children: StringLength(col 
0:string) -> 16:int) -> 17:boolean, DoubleScalarMultiplyDoubleColumn(val 2.0, 
col 2:double) -> 18:double) -> 19:double
+                        projectedOutputColumnNums: [0, 1, 2, 5, 8, 11, 14, 17, 
21]
+                        selectExpressions: IfExprColumnNull(col 4:boolean, col 
1:int, null)(children: LongColLessLongScalar(col 1:int, val 40) -> 4:boolean, 
col 1:int) -> 5:int, IfExprColumnNull(col 6:boolean, col 7:timestamp, 
null)(children: LongColGreaterLongScalar(col 1:int, val 40) -> 6:boolean, 
ConstantVectorExpression(val 2011-01-01 01:01:01) -> 7:timestamp) -> 
8:timestamp, IfExprColumnNull(col 10:boolean, col 0:string, null)(children: 
LongColGreaterLongScalar(col 9:int, val 8)(children: StringLength(col 0:string) 
-> 9:int) -> 10:boolean, col 0:string) -> 11:string, IfExprColumnNull(col 
13:boolean, col 0:string, null)(children: LongColLessLongScalar(col 12:int, val 
8)(children: StringLength(col 0:string) -> 12:int) -> 13:boolean, col 0:string) 
-> 14:binary, IfExprColumnNull(col 15:boolean, col 16:int, null)(children: 
LongColGreaterLongScalar(col 1:int, val 40) -> 15:boolean, StringLength(col 
0:string) -> 16:int) -> 17:int, IfExprColumnNull(col 19:boolean, col 20:double, 
null)(
 children: LongColGreaterLongScalar(col 18:int, val 10)(children: 
StringLength(col 0:string) -> 18:int) -> 19:boolean, 
DoubleScalarMultiplyDoubleColumn(val 2.0, col 2:double) -> 20:double) -> 
21:double
                     Statistics: Num rows: 12 Data size: 2352 Basic stats: 
COMPLETE Column stats: NONE
                     File Output Operator
                       compressed: false
@@ -353,7 +353,7 @@ STAGE PLANS:
                     includeColumns: [0, 1, 2]
                     dataColumns: name:string, age:int, gpa:double
                     partitionColumnCount: 0
-                    scratchColumnTypeNames: [bigint, bigint, bigint, 
timestamp, timestamp, bigint, bigint, string, bigint, string, bigint, bigint, 
bigint, bigint, double, double]
+                    scratchColumnTypeNames: [bigint, bigint, bigint, 
timestamp, timestamp, bigint, bigint, string, bigint, bigint, string, bigint, 
bigint, bigint, bigint, bigint, double, double]
 
   Stage: Stage-2
     Dependency Collection
@@ -503,8 +503,8 @@ STAGE PLANS:
                     Select Vectorization:
                         className: VectorSelectOperator
                         native: true
-                        projectedOutputColumnNums: [0, 1, 2, 5, 8, 11, 13, 15, 
19]
-                        selectExpressions: IfExprColumnNull(col 4:boolean, col 
1:int, null)(children: LongColLessLongScalar(col 1:int, val 40) -> 4:boolean, 
col 1:int) -> 5:int, IfExprColumnNull(col 6:boolean, col 7:timestamp, 
null)(children: LongColGreaterLongScalar(col 1:int, val 40) -> 6:boolean, 
ConstantVectorExpression(val 2011-01-01 01:01:01) -> 7:timestamp) -> 
8:timestamp, IfExprColumnNull(col 10:boolean, col 0:string, null)(children: 
LongColGreaterLongScalar(col 9:int, val 8)(children: StringLength(col 0:string) 
-> 9:int) -> 10:boolean, col 0:string) -> 11:string, IfExprCondExprNull(col 
12:boolean, col 0:string, null)(children: LongColLessLongScalar(col 9:int, val 
8)(children: StringLength(col 0:string) -> 9:int) -> 12:boolean, col 0:string) 
-> 13:binary, IfExprCondExprNull(col 9:boolean, col 14:int, null)(children: 
LongColGreaterLongScalar(col 1:int, val 40) -> 9:boolean, StringLength(col 
0:string) -> 14:int) -> 15:int, IfExprCondExprNull(col 17:boolean, col 
18:double, null
 )(children: LongColGreaterLongScalar(col 16:int, val 10)(children: 
StringLength(col 0:string) -> 16:int) -> 17:boolean, 
DoubleScalarMultiplyDoubleColumn(val 2.0, col 2:double) -> 18:double) -> 
19:double
+                        projectedOutputColumnNums: [0, 1, 2, 5, 8, 11, 14, 17, 
21]
+                        selectExpressions: IfExprColumnNull(col 4:boolean, col 
1:int, null)(children: LongColLessLongScalar(col 1:int, val 40) -> 4:boolean, 
col 1:int) -> 5:int, IfExprColumnNull(col 6:boolean, col 7:timestamp, 
null)(children: LongColGreaterLongScalar(col 1:int, val 40) -> 6:boolean, 
ConstantVectorExpression(val 2011-01-01 01:01:01) -> 7:timestamp) -> 
8:timestamp, IfExprColumnNull(col 10:boolean, col 0:string, null)(children: 
LongColGreaterLongScalar(col 9:int, val 8)(children: StringLength(col 0:string) 
-> 9:int) -> 10:boolean, col 0:string) -> 11:string, IfExprCondExprNull(col 
13:boolean, col 0:string, null)(children: LongColLessLongScalar(col 12:int, val 
8)(children: StringLength(col 0:string) -> 12:int) -> 13:boolean, col 0:string) 
-> 14:binary, IfExprCondExprNull(col 15:boolean, col 16:int, null)(children: 
LongColGreaterLongScalar(col 1:int, val 40) -> 15:boolean, StringLength(col 
0:string) -> 16:int) -> 17:int, IfExprCondExprNull(col 19:boolean, col 
20:double, 
 null)(children: LongColGreaterLongScalar(col 18:int, val 10)(children: 
StringLength(col 0:string) -> 18:int) -> 19:boolean, 
DoubleScalarMultiplyDoubleColumn(val 2.0, col 2:double) -> 20:double) -> 
21:double
                     Statistics: Num rows: 12 Data size: 2352 Basic stats: 
COMPLETE Column stats: NONE
                     File Output Operator
                       compressed: false
@@ -533,7 +533,7 @@ STAGE PLANS:
                     includeColumns: [0, 1, 2]
                     dataColumns: name:string, age:int, gpa:double
                     partitionColumnCount: 0
-                    scratchColumnTypeNames: [bigint, bigint, bigint, 
timestamp, timestamp, bigint, bigint, string, bigint, string, bigint, bigint, 
bigint, bigint, double, double]
+                    scratchColumnTypeNames: [bigint, bigint, bigint, 
timestamp, timestamp, bigint, bigint, string, bigint, bigint, string, bigint, 
bigint, bigint, bigint, bigint, double, double]
 
   Stage: Stage-2
     Dependency Collection
@@ -683,8 +683,8 @@ STAGE PLANS:
                     Select Vectorization:
                         className: VectorSelectOperator
                         native: true
-                        projectedOutputColumnNums: [0, 1, 2, 5, 6, 8, 9, 10, 
12]
-                        selectExpressions: VectorUDFAdaptor(if((age < 40), 
null, age))(children: LongColLessLongScalar(col 1:int, val 40) -> 4:boolean) -> 
5:int, VectorUDFAdaptor(if((age > 40), null, TIMESTAMP'2011-01-01 
01:01:01'))(children: LongColGreaterLongScalar(col 1:int, val 40) -> 4:boolean) 
-> 6:timestamp, VectorUDFAdaptor(if((length(name) > 8), null, name))(children: 
LongColGreaterLongScalar(col 4:int, val 8)(children: StringLength(col 0:string) 
-> 4:int) -> 7:boolean) -> 8:string, VectorUDFAdaptor(if((length(name) < 8), 
null, CAST( name AS BINARY)))(children: LongColLessLongScalar(col 4:int, val 
8)(children: StringLength(col 0:string) -> 4:int) -> 7:boolean, col 0:string) 
-> 9:binary, VectorUDFAdaptor(if((age > 40), null, length(name)))(children: 
LongColGreaterLongScalar(col 1:int, val 40) -> 4:boolean, StringLength(col 
0:string) -> 7:int) -> 10:int, VectorUDFAdaptor(if((length(name) > 10), null, 
(2.0D * gpa)))(children: LongColGreaterLongScalar(col 4:int, val 10)(childre
 n: StringLength(col 0:string) -> 4:int) -> 7:boolean, 
DoubleScalarMultiplyDoubleColumn(val 2.0, col 2:double) -> 11:double) -> 
12:double
+                        projectedOutputColumnNums: [0, 1, 2, 5, 7, 10, 13, 16, 
20]
+                        selectExpressions: VectorUDFAdaptor(if((age < 40), 
null, age))(children: LongColLessLongScalar(col 1:int, val 40) -> 4:boolean) -> 
5:int, VectorUDFAdaptor(if((age > 40), null, TIMESTAMP'2011-01-01 
01:01:01'))(children: LongColGreaterLongScalar(col 1:int, val 40) -> 6:boolean) 
-> 7:timestamp, VectorUDFAdaptor(if((length(name) > 8), null, name))(children: 
LongColGreaterLongScalar(col 8:int, val 8)(children: StringLength(col 0:string) 
-> 8:int) -> 9:boolean) -> 10:string, VectorUDFAdaptor(if((length(name) < 8), 
null, CAST( name AS BINARY)))(children: LongColLessLongScalar(col 11:int, val 
8)(children: StringLength(col 0:string) -> 11:int) -> 12:boolean, col 0:string) 
-> 13:binary, VectorUDFAdaptor(if((age > 40), null, length(name)))(children: 
LongColGreaterLongScalar(col 1:int, val 40) -> 14:boolean, StringLength(col 
0:string) -> 15:int) -> 16:int, VectorUDFAdaptor(if((length(name) > 10), null, 
(2.0D * gpa)))(children: LongColGreaterLongScalar(col 17:int, val 10)
 (children: StringLength(col 0:string) -> 17:int) -> 18:boolean, 
DoubleScalarMultiplyDoubleColumn(val 2.0, col 2:double) -> 19:double) -> 
20:double
                     Statistics: Num rows: 12 Data size: 2352 Basic stats: 
COMPLETE Column stats: NONE
                     File Output Operator
                       compressed: false
@@ -713,7 +713,7 @@ STAGE PLANS:
                     includeColumns: [0, 1, 2]
                     dataColumns: name:string, age:int, gpa:double
                     partitionColumnCount: 0
-                    scratchColumnTypeNames: [bigint, bigint, timestamp, 
bigint, string, string, bigint, double, double]
+                    scratchColumnTypeNames: [bigint, bigint, bigint, 
timestamp, bigint, bigint, string, bigint, bigint, string, bigint, bigint, 
bigint, bigint, bigint, double, double]
 
   Stage: Stage-2
     Dependency Collection
@@ -863,8 +863,8 @@ STAGE PLANS:
                     Select Vectorization:
                         className: VectorSelectOperator
                         native: true
-                        projectedOutputColumnNums: [0, 1, 2, 5, 8, 11, 13, 15, 
19]
-                        selectExpressions: IfExprNullColumn(col 4:boolean, 
null, col 1)(children: LongColLessLongScalar(col 1:int, val 40) -> 4:boolean, 
col 1:int) -> 5:int, IfExprNullColumn(col 6:boolean, null, col 7)(children: 
LongColGreaterLongScalar(col 1:int, val 40) -> 6:boolean, 
ConstantVectorExpression(val 2011-01-01 01:01:01) -> 7:timestamp) -> 
8:timestamp, IfExprNullColumn(col 10:boolean, null, col 0)(children: 
LongColGreaterLongScalar(col 9:int, val 8)(children: StringLength(col 0:string) 
-> 9:int) -> 10:boolean, col 0:string) -> 11:string, IfExprNullColumn(col 
12:boolean, null, col 0)(children: LongColLessLongScalar(col 9:int, val 
8)(children: StringLength(col 0:string) -> 9:int) -> 12:boolean, col 0:string) 
-> 13:binary, IfExprNullColumn(col 9:boolean, null, col 14)(children: 
LongColGreaterLongScalar(col 1:int, val 40) -> 9:boolean, StringLength(col 
0:string) -> 14:int) -> 15:int, IfExprNullColumn(col 17:boolean, null, col 
18)(children: LongColGreaterLongScalar(col 16:i
 nt, val 10)(children: StringLength(col 0:string) -> 16:int) -> 17:boolean, 
DoubleScalarMultiplyDoubleColumn(val 2.0, col 2:double) -> 18:double) -> 
19:double
+                        projectedOutputColumnNums: [0, 1, 2, 5, 8, 11, 14, 17, 
21]
+                        selectExpressions: IfExprNullColumn(col 4:boolean, 
null, col 1)(children: LongColLessLongScalar(col 1:int, val 40) -> 4:boolean, 
col 1:int) -> 5:int, IfExprNullColumn(col 6:boolean, null, col 7)(children: 
LongColGreaterLongScalar(col 1:int, val 40) -> 6:boolean, 
ConstantVectorExpression(val 2011-01-01 01:01:01) -> 7:timestamp) -> 
8:timestamp, IfExprNullColumn(col 10:boolean, null, col 0)(children: 
LongColGreaterLongScalar(col 9:int, val 8)(children: StringLength(col 0:string) 
-> 9:int) -> 10:boolean, col 0:string) -> 11:string, IfExprNullColumn(col 
13:boolean, null, col 0)(children: LongColLessLongScalar(col 12:int, val 
8)(children: StringLength(col 0:string) -> 12:int) -> 13:boolean, col 0:string) 
-> 14:binary, IfExprNullColumn(col 15:boolean, null, col 16)(children: 
LongColGreaterLongScalar(col 1:int, val 40) -> 15:boolean, StringLength(col 
0:string) -> 16:int) -> 17:int, IfExprNullColumn(col 19:boolean, null, col 
20)(children: LongColGreaterLongScalar(col 
 18:int, val 10)(children: StringLength(col 0:string) -> 18:int) -> 19:boolean, 
DoubleScalarMultiplyDoubleColumn(val 2.0, col 2:double) -> 20:double) -> 
21:double
                     Statistics: Num rows: 12 Data size: 2352 Basic stats: 
COMPLETE Column stats: NONE
                     File Output Operator
                       compressed: false
@@ -893,7 +893,7 @@ STAGE PLANS:
                     includeColumns: [0, 1, 2]
                     dataColumns: name:string, age:int, gpa:double
                     partitionColumnCount: 0
-                    scratchColumnTypeNames: [bigint, bigint, bigint, 
timestamp, timestamp, bigint, bigint, string, bigint, string, bigint, bigint, 
bigint, bigint, double, double]
+                    scratchColumnTypeNames: [bigint, bigint, bigint, 
timestamp, timestamp, bigint, bigint, string, bigint, bigint, string, bigint, 
bigint, bigint, bigint, bigint, double, double]
 
   Stage: Stage-2
     Dependency Collection
@@ -1043,8 +1043,8 @@ STAGE PLANS:
                     Select Vectorization:
                         className: VectorSelectOperator
                         native: true
-                        projectedOutputColumnNums: [0, 1, 2, 5, 8, 11, 13, 15, 
19]
-                        selectExpressions: IfExprNullColumn(col 4:boolean, 
null, col 1)(children: LongColLessLongScalar(col 1:int, val 40) -> 4:boolean, 
col 1:int) -> 5:int, IfExprNullColumn(col 6:boolean, null, col 7)(children: 
LongColGreaterLongScalar(col 1:int, val 40) -> 6:boolean, 
ConstantVectorExpression(val 2011-01-01 01:01:01) -> 7:timestamp) -> 
8:timestamp, IfExprNullColumn(col 10:boolean, null, col 0)(children: 
LongColGreaterLongScalar(col 9:int, val 8)(children: StringLength(col 0:string) 
-> 9:int) -> 10:boolean, col 0:string) -> 11:string, IfExprNullCondExpr(col 
12:boolean, null, col 0:string)(children: LongColLessLongScalar(col 9:int, val 
8)(children: StringLength(col 0:string) -> 9:int) -> 12:boolean, col 0:string) 
-> 13:binary, IfExprNullCondExpr(col 9:boolean, null, col 14:int)(children: 
LongColGreaterLongScalar(col 1:int, val 40) -> 9:boolean, StringLength(col 
0:string) -> 14:int) -> 15:int, IfExprNullCondExpr(col 17:boolean, null, col 
18:double)(children: LongColGr
 eaterLongScalar(col 16:int, val 10)(children: StringLength(col 0:string) -> 
16:int) -> 17:boolean, DoubleScalarMultiplyDoubleColumn(val 2.0, col 2:double) 
-> 18:double) -> 19:double
+                        projectedOutputColumnNums: [0, 1, 2, 5, 8, 11, 14, 17, 
21]
+                        selectExpressions: IfExprNullColumn(col 4:boolean, 
null, col 1)(children: LongColLessLongScalar(col 1:int, val 40) -> 4:boolean, 
col 1:int) -> 5:int, IfExprNullColumn(col 6:boolean, null, col 7)(children: 
LongColGreaterLongScalar(col 1:int, val 40) -> 6:boolean, 
ConstantVectorExpression(val 2011-01-01 01:01:01) -> 7:timestamp) -> 
8:timestamp, IfExprNullColumn(col 10:boolean, null, col 0)(children: 
LongColGreaterLongScalar(col 9:int, val 8)(children: StringLength(col 0:string) 
-> 9:int) -> 10:boolean, col 0:string) -> 11:string, IfExprNullCondExpr(col 
13:boolean, null, col 0:string)(children: LongColLessLongScalar(col 12:int, val 
8)(children: StringLength(col 0:string) -> 12:int) -> 13:boolean, col 0:string) 
-> 14:binary, IfExprNullCondExpr(col 15:boolean, null, col 16:int)(children: 
LongColGreaterLongScalar(col 1:int, val 40) -> 15:boolean, StringLength(col 
0:string) -> 16:int) -> 17:int, IfExprNullCondExpr(col 19:boolean, null, col 
20:double)(children: LongC
 olGreaterLongScalar(col 18:int, val 10)(children: StringLength(col 0:string) 
-> 18:int) -> 19:boolean, DoubleScalarMultiplyDoubleColumn(val 2.0, col 
2:double) -> 20:double) -> 21:double
                     Statistics: Num rows: 12 Data size: 2352 Basic stats: 
COMPLETE Column stats: NONE
                     File Output Operator
                       compressed: false
@@ -1073,7 +1073,7 @@ STAGE PLANS:
                     includeColumns: [0, 1, 2]
                     dataColumns: name:string, age:int, gpa:double
                     partitionColumnCount: 0
-                    scratchColumnTypeNames: [bigint, bigint, bigint, 
timestamp, timestamp, bigint, bigint, string, bigint, string, bigint, bigint, 
bigint, bigint, double, double]
+                    scratchColumnTypeNames: [bigint, bigint, bigint, 
timestamp, timestamp, bigint, bigint, string, bigint, bigint, string, bigint, 
bigint, bigint, bigint, bigint, double, double]
 
   Stage: Stage-2
     Dependency Collection

http://git-wip-us.apache.org/repos/asf/hive/blob/8b968c7e/ql/src/test/results/clientpositive/llap/vector_windowing_gby.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_windowing_gby.q.out 
b/ql/src/test/results/clientpositive/llap/vector_windowing_gby.q.out
index 434b782..a447294 100644
--- a/ql/src/test/results/clientpositive/llap/vector_windowing_gby.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_windowing_gby.q.out
@@ -233,7 +233,7 @@ STAGE PLANS:
                     dataColumnCount: 4
                     dataColumns: KEY.reducesinkkey0:int, 
KEY.reducesinkkey1:double, VALUE._col1:bigint, VALUE._col2:bigint
                     partitionColumnCount: 0
-                    scratchColumnTypeNames: [bigint, bigint, double, double, 
double, double]
+                    scratchColumnTypeNames: [bigint, bigint, double, double, 
double, double, double, double]
             Reduce Operator Tree:
               Select Operator
                 expressions: VALUE._col1 (type: bigint), VALUE._col2 (type: 
bigint)
@@ -266,7 +266,7 @@ STAGE PLANS:
                   PTF Vectorization:
                       className: VectorPTFOperator
                       evaluatorClasses: [VectorPTFEvaluatorRank]
-                      functionInputExpressions: 
[DoubleColDivideDoubleColumn(col 6:double, col 7:double)(children: 
CastLongToDouble(col 2:bigint) -> 6:double, CastLongToDouble(col 3:bigint) -> 
7:double) -> 9:double]
+                      functionInputExpressions: 
[DoubleColDivideDoubleColumn(col 9:double, col 10:double)(children: 
CastLongToDouble(col 2:bigint) -> 9:double, CastLongToDouble(col 3:bigint) -> 
10:double) -> 11:double]
                       functionNames: [rank]
                       keyInputColumns: []
                       native: true

http://git-wip-us.apache.org/repos/asf/hive/blob/8b968c7e/ql/src/test/results/clientpositive/llap/vector_windowing_gby2.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/vector_windowing_gby2.q.out 
b/ql/src/test/results/clientpositive/llap/vector_windowing_gby2.q.out
index 5943548..dea33ab 100644
--- a/ql/src/test/results/clientpositive/llap/vector_windowing_gby2.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_windowing_gby2.q.out
@@ -528,13 +528,13 @@ STAGE PLANS:
                     Select Vectorization:
                         className: VectorSelectOperator
                         native: true
-                        projectedOutputColumnNums: [0, 1, 7, 8, 2, 10]
-                        selectExpressions: DoubleColSubtractDoubleColumn(col 
6:float, col 3:float)(children: CastLongToFloatViaLongToDouble(col 2:int) -> 
6:float) -> 7:float, DoubleColDivideDoubleColumn(col 3:double, col 
6:double)(children: col 3:float, CastLongToDouble(col 2:int) -> 6:double) -> 
8:double, DoubleColSubtractDoubleColumn(col 9:double, col 6:double)(children: 
DoubleColDivideDoubleColumn(col 3:double, col 6:double)(children: col 3:float, 
CastLongToDouble(col 2:int) -> 6:double) -> 9:double, CastLongToDouble(col 
2:int) -> 6:double) -> 10:double
+                        projectedOutputColumnNums: [0, 1, 7, 9, 2, 13]
+                        selectExpressions: DoubleColSubtractDoubleColumn(col 
6:float, col 3:float)(children: CastLongToFloatViaLongToDouble(col 2:int) -> 
6:float) -> 7:float, DoubleColDivideDoubleColumn(col 3:double, col 
8:double)(children: col 3:float, CastLongToDouble(col 2:int) -> 8:double) -> 
9:double, DoubleColSubtractDoubleColumn(col 11:double, col 12:double)(children: 
DoubleColDivideDoubleColumn(col 3:double, col 10:double)(children: col 3:float, 
CastLongToDouble(col 2:int) -> 10:double) -> 11:double, CastLongToDouble(col 
2:int) -> 12:double) -> 13:double
                     Statistics: Num rows: 20 Data size: 3382 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Group By Operator
                       aggregations: sum(_col2), sum(_col3), max(_col4), 
sum(_col5)
                       Group By Vectorization:
-                          aggregators: VectorUDAFSumDouble(col 7:float) -> 
double, VectorUDAFSumDouble(col 8:double) -> double, VectorUDAFMaxLong(col 
2:int) -> int, VectorUDAFSumDouble(col 10:double) -> double
+                          aggregators: VectorUDAFSumDouble(col 7:float) -> 
double, VectorUDAFSumDouble(col 9:double) -> double, VectorUDAFMaxLong(col 
2:int) -> int, VectorUDAFSumDouble(col 13:double) -> double
                           className: VectorGroupByOperator
                           groupByMode: HASH
                           keyExpressions: col 0:string, col 1:string
@@ -573,7 +573,7 @@ STAGE PLANS:
                     includeColumns: [0, 1, 2, 3]
                     dataColumns: key:string, value:string, c_int:int, 
c_float:float, c_boolean:boolean
                     partitionColumnCount: 0
-                    scratchColumnTypeNames: [double, double, double, double, 
double]
+                    scratchColumnTypeNames: [double, double, double, double, 
double, double, double, double]
         Reducer 2 
             Execution mode: vectorized, llap
             Reduce Vectorization:
@@ -1084,7 +1084,7 @@ STAGE PLANS:
                     dataColumnCount: 4
                     dataColumns: KEY.reducesinkkey0:int, 
KEY.reducesinkkey1:double, VALUE._col1:bigint, VALUE._col2:bigint
                     partitionColumnCount: 0
-                    scratchColumnTypeNames: [bigint, bigint, double, double, 
double, double]
+                    scratchColumnTypeNames: [bigint, bigint, double, double, 
double, double, double, double]
             Reduce Operator Tree:
               Select Operator
                 expressions: VALUE._col1 (type: bigint), VALUE._col2 (type: 
bigint)
@@ -1117,7 +1117,7 @@ STAGE PLANS:
                   PTF Vectorization:
                       className: VectorPTFOperator
                       evaluatorClasses: [VectorPTFEvaluatorRank]
-                      functionInputExpressions: 
[DoubleColDivideDoubleColumn(col 6:double, col 7:double)(children: 
CastLongToDouble(col 2:bigint) -> 6:double, CastLongToDouble(col 3:bigint) -> 
7:double) -> 9:double]
+                      functionInputExpressions: 
[DoubleColDivideDoubleColumn(col 9:double, col 10:double)(children: 
CastLongToDouble(col 2:bigint) -> 9:double, CastLongToDouble(col 3:bigint) -> 
10:double) -> 11:double]
                       functionNames: [rank]
                       keyInputColumns: []
                       native: true

http://git-wip-us.apache.org/repos/asf/hive/blob/8b968c7e/ql/src/test/results/clientpositive/llap/vector_windowing_order_null.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/vector_windowing_order_null.q.out 
b/ql/src/test/results/clientpositive/llap/vector_windowing_order_null.q.out
index 098b7dc..c6c39ed 100644
--- a/ql/src/test/results/clientpositive/llap/vector_windowing_order_null.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_windowing_order_null.q.out
@@ -1252,7 +1252,7 @@ STAGE PLANS:
                     dataColumnCount: 3
                     dataColumns: KEY.reducesinkkey0:string, 
KEY.reducesinkkey1:int, VALUE._col4:double
                     partitionColumnCount: 0
-                    scratchColumnTypeNames: [double, double, double, double]
+                    scratchColumnTypeNames: [double, double, double, double, 
double]
             Reduce Operator Tree:
               Select Operator
                 expressions: KEY.reducesinkkey1 (type: int), VALUE._col4 
(type: double), KEY.reducesinkkey0 (type: string)
@@ -1301,8 +1301,8 @@ STAGE PLANS:
                     Select Vectorization:
                         className: VectorSelectOperator
                         native: true
-                        projectedOutputColumnNums: [0, 1, 4]
-                        selectExpressions: 
RoundWithNumDigitsDoubleToDouble(col 6, decimalPlaces 3)(children: 
DoubleColSubtractDoubleColumn(col 4:double, col 5:double)(children: 
DoubleColAddDoubleScalar(col 3:double, val 10.0) -> 4:double, 
DoubleColSubtractDoubleScalar(col 3:double, val 10.0) -> 5:double) -> 6:double) 
-> 4:double
+                        projectedOutputColumnNums: [0, 1, 7]
+                        selectExpressions: 
RoundWithNumDigitsDoubleToDouble(col 6, decimalPlaces 3)(children: 
DoubleColSubtractDoubleColumn(col 4:double, col 5:double)(children: 
DoubleColAddDoubleScalar(col 3:double, val 10.0) -> 4:double, 
DoubleColSubtractDoubleScalar(col 3:double, val 10.0) -> 5:double) -> 6:double) 
-> 7:double
                     Statistics: Num rows: 1 Data size: 196 Basic stats: 
COMPLETE Column stats: NONE
                     Limit
                       Number of rows: 5

http://git-wip-us.apache.org/repos/asf/hive/blob/8b968c7e/ql/src/test/results/clientpositive/llap/vector_windowing_windowspec.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/vector_windowing_windowspec.q.out 
b/ql/src/test/results/clientpositive/llap/vector_windowing_windowspec.q.out
index deaa25b..4f7cbe0 100644
--- a/ql/src/test/results/clientpositive/llap/vector_windowing_windowspec.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_windowing_windowspec.q.out
@@ -2237,7 +2237,7 @@ STAGE PLANS:
                     dataColumnCount: 3
                     dataColumns: KEY.reducesinkkey0:string, 
KEY.reducesinkkey1:int, VALUE._col4:double
                     partitionColumnCount: 0
-                    scratchColumnTypeNames: [double, double, double, double]
+                    scratchColumnTypeNames: [double, double, double, double, 
double]
             Reduce Operator Tree:
               Select Operator
                 expressions: KEY.reducesinkkey1 (type: int), VALUE._col4 
(type: double), KEY.reducesinkkey0 (type: string)
@@ -2286,8 +2286,8 @@ STAGE PLANS:
                     Select Vectorization:
                         className: VectorSelectOperator
                         native: true
-                        projectedOutputColumnNums: [0, 1, 4]
-                        selectExpressions: 
RoundWithNumDigitsDoubleToDouble(col 6, decimalPlaces 2)(children: 
DoubleColSubtractDoubleColumn(col 4:double, col 5:double)(children: 
DoubleColAddDoubleScalar(col 3:double, val 10.0) -> 4:double, 
DoubleColSubtractDoubleScalar(col 3:double, val 10.0) -> 5:double) -> 6:double) 
-> 4:double
+                        projectedOutputColumnNums: [0, 1, 7]
+                        selectExpressions: 
RoundWithNumDigitsDoubleToDouble(col 6, decimalPlaces 2)(children: 
DoubleColSubtractDoubleColumn(col 4:double, col 5:double)(children: 
DoubleColAddDoubleScalar(col 3:double, val 10.0) -> 4:double, 
DoubleColSubtractDoubleScalar(col 3:double, val 10.0) -> 5:double) -> 6:double) 
-> 7:double
                     Statistics: Num rows: 1 Data size: 196 Basic stats: 
COMPLETE Column stats: NONE
                     Limit
                       Number of rows: 7

Reply via email to