[23/34] hive git commit: HIVE-19629: Enable Decimal64 reader after orc version upgrade (Prasanth Jayachandran reviewed by Matt McCline)

2018-06-17 Thread prasanthj
http://git-wip-us.apache.org/repos/asf/hive/blob/659e4107/ql/src/test/results/clientpositive/llap/vector_decimal_aggregate.q.out
--
diff --git 
a/ql/src/test/results/clientpositive/llap/vector_decimal_aggregate.q.out 
b/ql/src/test/results/clientpositive/llap/vector_decimal_aggregate.q.out
index 6cd1e8d..30a6770 100644
--- a/ql/src/test/results/clientpositive/llap/vector_decimal_aggregate.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_decimal_aggregate.q.out
@@ -111,8 +111,8 @@ STAGE PLANS:
 Map Vectorization:
 enabled: true
 enabledConditionsMet: 
hive.vectorized.use.vectorized.input.format IS true
-inputFormatFeatureSupport: []
-featureSupportInUse: []
+inputFormatFeatureSupport: [DECIMAL_64]
+featureSupportInUse: [DECIMAL_64]
 inputFileFormats: 
org.apache.hadoop.hive.ql.io.orc.OrcInputFormat
 allNative: false
 usesVectorUDFAdaptor: false
@@ -291,8 +291,8 @@ STAGE PLANS:
 Map Vectorization:
 enabled: true
 enabledConditionsMet: 
hive.vectorized.use.vectorized.input.format IS true
-inputFormatFeatureSupport: []
-featureSupportInUse: []
+inputFormatFeatureSupport: [DECIMAL_64]
+featureSupportInUse: [DECIMAL_64]
 inputFileFormats: 
org.apache.hadoop.hive.ql.io.orc.OrcInputFormat
 allNative: false
 usesVectorUDFAdaptor: false
@@ -465,7 +465,7 @@ STAGE PLANS:
   Statistics: Num rows: 12289 Data size: 2662128 Basic stats: 
COMPLETE Column stats: NONE
   TableScan Vectorization:
   native: true
-  vectorizationSchemaColumns: [0:cdouble:double, 
1:cdecimal1:decimal(11,5), 2:cdecimal2:decimal(16,0), 3:cint:int, 
4:ROW__ID:struct]
+  vectorizationSchemaColumns: [0:cdouble:double, 
1:cdecimal1:decimal(11,5)/DECIMAL_64, 2:cdecimal2:decimal(16,0)/DECIMAL_64, 
3:cint:int, 4:ROW__ID:struct]
   Select Operator
 expressions: cdecimal1 (type: decimal(11,5)), cdecimal2 
(type: decimal(16,0)), cint (type: int)
 outputColumnNames: cdecimal1, cdecimal2, cint
@@ -477,7 +477,7 @@ STAGE PLANS:
 Group By Operator
   aggregations: count(cdecimal1), max(cdecimal1), 
min(cdecimal1), sum(cdecimal1), count(cdecimal2), max(cdecimal2), 
min(cdecimal2), sum(cdecimal2), count()
   Group By Vectorization:
-  aggregators: VectorUDAFCount(col 1:decimal(11,5)) -> 
bigint, VectorUDAFMaxDecimal(col 1:decimal(11,5)) -> decimal(11,5), 
VectorUDAFMinDecimal(col 1:decimal(11,5)) -> decimal(11,5), 
VectorUDAFSumDecimal(col 1:decimal(11,5)) -> decimal(21,5), VectorUDAFCount(col 
2:decimal(16,0)) -> bigint, VectorUDAFMaxDecimal(col 2:decimal(16,0)) -> 
decimal(16,0), VectorUDAFMinDecimal(col 2:decimal(16,0)) -> decimal(16,0), 
VectorUDAFSumDecimal(col 2:decimal(16,0)) -> decimal(26,0), 
VectorUDAFCountStar(*) -> bigint
+  aggregators: VectorUDAFCount(col 
1:decimal(11,5)/DECIMAL_64) -> bigint, VectorUDAFMaxDecimal64(col 
1:decimal(11,5)/DECIMAL_64) -> decimal(11,5)/DECIMAL_64, 
VectorUDAFMinDecimal64(col 1:decimal(11,5)/DECIMAL_64) -> 
decimal(11,5)/DECIMAL_64, VectorUDAFSumDecimal64ToDecimal(col 
1:decimal(11,5)/DECIMAL_64) -> decimal(21,5), VectorUDAFCount(col 
2:decimal(16,0)/DECIMAL_64) -> bigint, VectorUDAFMaxDecimal64(col 
2:decimal(16,0)/DECIMAL_64) -> decimal(16,0)/DECIMAL_64, 
VectorUDAFMinDecimal64(col 2:decimal(16,0)/DECIMAL_64) -> 
decimal(16,0)/DECIMAL_64, VectorUDAFSumDecimal64ToDecimal(col 
2:decimal(16,0)/DECIMAL_64) -> decimal(26,0), VectorUDAFCountStar(*) -> bigint
   className: VectorGroupByOperator
   groupByMode: HASH
   keyExpressions: col 3:int
@@ -506,8 +506,7 @@ STAGE PLANS:
 enabled: true
 enabledConditionsMet: 
hive.vectorized.use.vector.serde.deserialize IS true
 inputFormatFeatureSupport: [DECIMAL_64]
-vectorizationSupportRemovedReasons: [DECIMAL_64 disabled 
because LLAP is enabled]
-featureSupportInUse: []
+featureSupportInUse: [DECIMAL_64]
 inputFileFormats: org.apache.hadoop.mapred.TextInputFormat
 allNative: false
 usesVectorUDFAdaptor: false
@@ -515,7 +514,7 @@ STAGE PLANS:
 rowBatchContext:
 dataColumnCount: 4
 includeColumns: [1, 2, 3]
-dataColumns: cdouble:double, cdecimal1:decimal(11,5), 
cdecimal2:decimal(16,0), cint:int
+dataColumns: cdouble:double, 

[23/34] hive git commit: HIVE-19629: Enable Decimal64 reader after orc version upgrade (Prasanth Jayachandran reviewed by Matt McCline)

2018-06-16 Thread prasanthj
http://git-wip-us.apache.org/repos/asf/hive/blob/dd512593/ql/src/test/results/clientpositive/llap/vector_decimal_aggregate.q.out
--
diff --git 
a/ql/src/test/results/clientpositive/llap/vector_decimal_aggregate.q.out 
b/ql/src/test/results/clientpositive/llap/vector_decimal_aggregate.q.out
index 6cd1e8d..30a6770 100644
--- a/ql/src/test/results/clientpositive/llap/vector_decimal_aggregate.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_decimal_aggregate.q.out
@@ -111,8 +111,8 @@ STAGE PLANS:
 Map Vectorization:
 enabled: true
 enabledConditionsMet: 
hive.vectorized.use.vectorized.input.format IS true
-inputFormatFeatureSupport: []
-featureSupportInUse: []
+inputFormatFeatureSupport: [DECIMAL_64]
+featureSupportInUse: [DECIMAL_64]
 inputFileFormats: 
org.apache.hadoop.hive.ql.io.orc.OrcInputFormat
 allNative: false
 usesVectorUDFAdaptor: false
@@ -291,8 +291,8 @@ STAGE PLANS:
 Map Vectorization:
 enabled: true
 enabledConditionsMet: 
hive.vectorized.use.vectorized.input.format IS true
-inputFormatFeatureSupport: []
-featureSupportInUse: []
+inputFormatFeatureSupport: [DECIMAL_64]
+featureSupportInUse: [DECIMAL_64]
 inputFileFormats: 
org.apache.hadoop.hive.ql.io.orc.OrcInputFormat
 allNative: false
 usesVectorUDFAdaptor: false
@@ -465,7 +465,7 @@ STAGE PLANS:
   Statistics: Num rows: 12289 Data size: 2662128 Basic stats: 
COMPLETE Column stats: NONE
   TableScan Vectorization:
   native: true
-  vectorizationSchemaColumns: [0:cdouble:double, 
1:cdecimal1:decimal(11,5), 2:cdecimal2:decimal(16,0), 3:cint:int, 
4:ROW__ID:struct]
+  vectorizationSchemaColumns: [0:cdouble:double, 
1:cdecimal1:decimal(11,5)/DECIMAL_64, 2:cdecimal2:decimal(16,0)/DECIMAL_64, 
3:cint:int, 4:ROW__ID:struct]
   Select Operator
 expressions: cdecimal1 (type: decimal(11,5)), cdecimal2 
(type: decimal(16,0)), cint (type: int)
 outputColumnNames: cdecimal1, cdecimal2, cint
@@ -477,7 +477,7 @@ STAGE PLANS:
 Group By Operator
   aggregations: count(cdecimal1), max(cdecimal1), 
min(cdecimal1), sum(cdecimal1), count(cdecimal2), max(cdecimal2), 
min(cdecimal2), sum(cdecimal2), count()
   Group By Vectorization:
-  aggregators: VectorUDAFCount(col 1:decimal(11,5)) -> 
bigint, VectorUDAFMaxDecimal(col 1:decimal(11,5)) -> decimal(11,5), 
VectorUDAFMinDecimal(col 1:decimal(11,5)) -> decimal(11,5), 
VectorUDAFSumDecimal(col 1:decimal(11,5)) -> decimal(21,5), VectorUDAFCount(col 
2:decimal(16,0)) -> bigint, VectorUDAFMaxDecimal(col 2:decimal(16,0)) -> 
decimal(16,0), VectorUDAFMinDecimal(col 2:decimal(16,0)) -> decimal(16,0), 
VectorUDAFSumDecimal(col 2:decimal(16,0)) -> decimal(26,0), 
VectorUDAFCountStar(*) -> bigint
+  aggregators: VectorUDAFCount(col 
1:decimal(11,5)/DECIMAL_64) -> bigint, VectorUDAFMaxDecimal64(col 
1:decimal(11,5)/DECIMAL_64) -> decimal(11,5)/DECIMAL_64, 
VectorUDAFMinDecimal64(col 1:decimal(11,5)/DECIMAL_64) -> 
decimal(11,5)/DECIMAL_64, VectorUDAFSumDecimal64ToDecimal(col 
1:decimal(11,5)/DECIMAL_64) -> decimal(21,5), VectorUDAFCount(col 
2:decimal(16,0)/DECIMAL_64) -> bigint, VectorUDAFMaxDecimal64(col 
2:decimal(16,0)/DECIMAL_64) -> decimal(16,0)/DECIMAL_64, 
VectorUDAFMinDecimal64(col 2:decimal(16,0)/DECIMAL_64) -> 
decimal(16,0)/DECIMAL_64, VectorUDAFSumDecimal64ToDecimal(col 
2:decimal(16,0)/DECIMAL_64) -> decimal(26,0), VectorUDAFCountStar(*) -> bigint
   className: VectorGroupByOperator
   groupByMode: HASH
   keyExpressions: col 3:int
@@ -506,8 +506,7 @@ STAGE PLANS:
 enabled: true
 enabledConditionsMet: 
hive.vectorized.use.vector.serde.deserialize IS true
 inputFormatFeatureSupport: [DECIMAL_64]
-vectorizationSupportRemovedReasons: [DECIMAL_64 disabled 
because LLAP is enabled]
-featureSupportInUse: []
+featureSupportInUse: [DECIMAL_64]
 inputFileFormats: org.apache.hadoop.mapred.TextInputFormat
 allNative: false
 usesVectorUDFAdaptor: false
@@ -515,7 +514,7 @@ STAGE PLANS:
 rowBatchContext:
 dataColumnCount: 4
 includeColumns: [1, 2, 3]
-dataColumns: cdouble:double, cdecimal1:decimal(11,5), 
cdecimal2:decimal(16,0), cint:int
+dataColumns: cdouble:double,