[1/9] hive git commit: HIVE-20123: Fix masking tests after HIVE-19617 (Jesus Camacho Rodriguez, reviewed by Ashutosh Chauhan)

2018-07-11 Thread jcamacho
Repository: hive
Updated Branches:
  refs/heads/branch-3 b7834e679 -> 3c71687d1


http://git-wip-us.apache.org/repos/asf/hive/blob/3c71687d/ql/src/test/results/clientpositive/masking_disablecbo_2.q.out
--
diff --git a/ql/src/test/results/clientpositive/masking_disablecbo_2.q.out 
b/ql/src/test/results/clientpositive/masking_disablecbo_2.q.out
index bb58b08..4ce94b7 100644
--- a/ql/src/test/results/clientpositive/masking_disablecbo_2.q.out
+++ b/ql/src/test/results/clientpositive/masking_disablecbo_2.q.out
@@ -15,21 +15,41 @@ PREHOOK: type: QUERY
 POSTHOOK: query: explain select * from masking_test_n13
 POSTHOOK: type: QUERY
 STAGE DEPENDENCIES:
-  Stage-0 is a root stage
+  Stage-1 is a root stage
+  Stage-0 depends on stages: Stage-1
 
 STAGE PLANS:
+  Stage: Stage-1
+Map Reduce
+  Map Operator Tree:
+  TableScan
+alias: src
+Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
+Select Operator
+  expressions: UDFToInteger(key) (type: int), value (type: string)
+  outputColumnNames: _col0, _col1
+  Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
+  Filter Operator
+predicate: (((_col0 % 2) = 0) and (_col0 < 10)) (type: boolean)
+Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE 
Column stats: NONE
+Select Operator
+  expressions: _col0 (type: int), reverse(_col1) (type: string)
+  outputColumnNames: _col0, _col1
+  Statistics: Num rows: 83 Data size: 881 Basic stats: 
COMPLETE Column stats: NONE
+  File Output Operator
+compressed: false
+Statistics: Num rows: 83 Data size: 881 Basic stats: 
COMPLETE Column stats: NONE
+table:
+input format: 
org.apache.hadoop.mapred.SequenceFileInputFormat
+output format: 
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
+serde: 
org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
+  Execution mode: vectorized
+
   Stage: Stage-0
 Fetch Operator
   limit: -1
   Processor Tree:
-TableScan
-  alias: src
-  Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
-  Select Operator
-expressions: UDFToInteger(key) (type: int), value (type: string)
-outputColumnNames: _col0, _col1
-Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
-ListSink
+ListSink
 
 PREHOOK: query: select * from masking_test_n13
 PREHOOK: type: QUERY
@@ -41,506 +61,12 @@ POSTHOOK: type: QUERY
 POSTHOOK: Input: default@masking_test_n13
 POSTHOOK: Input: default@src
  A masked pattern was here 
-238val_238
-86 val_86
-311val_311
-27 val_27
-165val_165
-409val_409
-255val_255
-278val_278
-98 val_98
-484val_484
-265val_265
-193val_193
-401val_401
-150val_150
-273val_273
-224val_224
-369val_369
-66 val_66
-128val_128
-213val_213
-146val_146
-406val_406
-429val_429
-374val_374
-152val_152
-469val_469
-145val_145
-495val_495
-37 val_37
-327val_327
-281val_281
-277val_277
-209val_209
-15 val_15
-82 val_82
-403val_403
-166val_166
-417val_417
-430val_430
-252val_252
-292val_292
-219val_219
-287val_287
-153val_153
-193val_193
-338val_338
-446val_446
-459val_459
-394val_394
-237val_237
-482val_482
-174val_174
-413val_413
-494val_494
-207val_207
-199val_199
-466val_466
-208val_208
-174val_174
-399val_399
-396val_396
-247val_247
-417val_417
-489val_489
-162val_162
-377val_377
-397val_397
-309val_309
-365val_365
-266val_266
-439val_439
-342val_342
-367val_367
-325val_325
-167val_167
-195val_195
-475val_475
-17 val_17
-113val_113
-155val_155
-203val_203
-339val_339
-0  val_0
-455val_455
-128val_128
-311val_311
-316val_316
-57 val_57
-302val_302
-205val_205
-149val_149
-438val_438
-345val_345
-129val_129
-170val_170
-20 val_20
-489val_489
-157val_157
-378val_378
-221val_221
-92 val_92
-111val_111
-47 val_47
-72 val_72
-4  val_4
-280val_280
-35 val_35
-427val_427
-277val_277
-208val_208
-356val_356
-399val_399
-169val_169
-382val_382
-498val_498
-125val_125
-386val_386
-437val_437
-469val_469
-192val_192
-286val_286
-187val_187
-176val_176
-54 val_54
-459val_459
-51 val

[1/9] hive git commit: HIVE-20123: Fix masking tests after HIVE-19617 (Jesus Camacho Rodriguez, reviewed by Ashutosh Chauhan)

2018-07-11 Thread jcamacho
Repository: hive
Updated Branches:
  refs/heads/branch-3.1 c8796addd -> 3fde4440b


http://git-wip-us.apache.org/repos/asf/hive/blob/3fde4440/ql/src/test/results/clientpositive/masking_disablecbo_2.q.out
--
diff --git a/ql/src/test/results/clientpositive/masking_disablecbo_2.q.out 
b/ql/src/test/results/clientpositive/masking_disablecbo_2.q.out
index bb58b08..4ce94b7 100644
--- a/ql/src/test/results/clientpositive/masking_disablecbo_2.q.out
+++ b/ql/src/test/results/clientpositive/masking_disablecbo_2.q.out
@@ -15,21 +15,41 @@ PREHOOK: type: QUERY
 POSTHOOK: query: explain select * from masking_test_n13
 POSTHOOK: type: QUERY
 STAGE DEPENDENCIES:
-  Stage-0 is a root stage
+  Stage-1 is a root stage
+  Stage-0 depends on stages: Stage-1
 
 STAGE PLANS:
+  Stage: Stage-1
+Map Reduce
+  Map Operator Tree:
+  TableScan
+alias: src
+Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
+Select Operator
+  expressions: UDFToInteger(key) (type: int), value (type: string)
+  outputColumnNames: _col0, _col1
+  Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
+  Filter Operator
+predicate: (((_col0 % 2) = 0) and (_col0 < 10)) (type: boolean)
+Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE 
Column stats: NONE
+Select Operator
+  expressions: _col0 (type: int), reverse(_col1) (type: string)
+  outputColumnNames: _col0, _col1
+  Statistics: Num rows: 83 Data size: 881 Basic stats: 
COMPLETE Column stats: NONE
+  File Output Operator
+compressed: false
+Statistics: Num rows: 83 Data size: 881 Basic stats: 
COMPLETE Column stats: NONE
+table:
+input format: 
org.apache.hadoop.mapred.SequenceFileInputFormat
+output format: 
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
+serde: 
org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
+  Execution mode: vectorized
+
   Stage: Stage-0
 Fetch Operator
   limit: -1
   Processor Tree:
-TableScan
-  alias: src
-  Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
-  Select Operator
-expressions: UDFToInteger(key) (type: int), value (type: string)
-outputColumnNames: _col0, _col1
-Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
-ListSink
+ListSink
 
 PREHOOK: query: select * from masking_test_n13
 PREHOOK: type: QUERY
@@ -41,506 +61,12 @@ POSTHOOK: type: QUERY
 POSTHOOK: Input: default@masking_test_n13
 POSTHOOK: Input: default@src
  A masked pattern was here 
-238val_238
-86 val_86
-311val_311
-27 val_27
-165val_165
-409val_409
-255val_255
-278val_278
-98 val_98
-484val_484
-265val_265
-193val_193
-401val_401
-150val_150
-273val_273
-224val_224
-369val_369
-66 val_66
-128val_128
-213val_213
-146val_146
-406val_406
-429val_429
-374val_374
-152val_152
-469val_469
-145val_145
-495val_495
-37 val_37
-327val_327
-281val_281
-277val_277
-209val_209
-15 val_15
-82 val_82
-403val_403
-166val_166
-417val_417
-430val_430
-252val_252
-292val_292
-219val_219
-287val_287
-153val_153
-193val_193
-338val_338
-446val_446
-459val_459
-394val_394
-237val_237
-482val_482
-174val_174
-413val_413
-494val_494
-207val_207
-199val_199
-466val_466
-208val_208
-174val_174
-399val_399
-396val_396
-247val_247
-417val_417
-489val_489
-162val_162
-377val_377
-397val_397
-309val_309
-365val_365
-266val_266
-439val_439
-342val_342
-367val_367
-325val_325
-167val_167
-195val_195
-475val_475
-17 val_17
-113val_113
-155val_155
-203val_203
-339val_339
-0  val_0
-455val_455
-128val_128
-311val_311
-316val_316
-57 val_57
-302val_302
-205val_205
-149val_149
-438val_438
-345val_345
-129val_129
-170val_170
-20 val_20
-489val_489
-157val_157
-378val_378
-221val_221
-92 val_92
-111val_111
-47 val_47
-72 val_72
-4  val_4
-280val_280
-35 val_35
-427val_427
-277val_277
-208val_208
-356val_356
-399val_399
-169val_169
-382val_382
-498val_498
-125val_125
-386val_386
-437val_437
-469val_469
-192val_192
-286val_286
-187val_187
-176val_176
-54 val_54
-459val_459
-51 v