hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pxi...@apache.org
Subject hive git commit: HIVE-14158: Support masking and filtering of rows/columns: deal with derived column names (Pengcheng Xiong, reviewed by Ashutosh Chauhan) (addendum)
Date Wed, 13 Jul 2016 06:57:42 GMT
Repository: hive
Updated Branches:
  refs/heads/master deeddf4a4 -> 82e1551ac


HIVE-14158: Support masking and filtering of rows/columns: deal with derived column names
(Pengcheng Xiong, reviewed by Ashutosh Chauhan) (addendum)


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

Branch: refs/heads/master
Commit: 82e1551ac6056b0266ca8562ffbaff57c73f67e9
Parents: deeddf4
Author: Pengcheng Xiong <pxiong@apache.org>
Authored: Tue Jul 12 23:57:14 2016 -0700
Committer: Pengcheng Xiong <pxiong@apache.org>
Committed: Tue Jul 12 23:57:14 2016 -0700

----------------------------------------------------------------------
 ql/src/test/queries/clientpositive/masking_8.q  |  2 --
 .../test/results/clientpositive/masking_8.q.out | 36 --------------------
 .../tez/vector_interval_arithmetic.q.out        |  2 +-
 .../vector_interval_arithmetic.q.out            |  2 +-
 4 files changed, 2 insertions(+), 40 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/82e1551a/ql/src/test/queries/clientpositive/masking_8.q
----------------------------------------------------------------------
diff --git a/ql/src/test/queries/clientpositive/masking_8.q b/ql/src/test/queries/clientpositive/masking_8.q
index 7dfeda8..d9a01af 100644
--- a/ql/src/test/queries/clientpositive/masking_8.q
+++ b/ql/src/test/queries/clientpositive/masking_8.q
@@ -33,6 +33,4 @@ create table masking_test as select cast(key as int) as key, '12'
 '12', '12', '12', '12', '12', INPUT__FILE__NAME, '12', '12', '12', '12', '12'
  from src;
 
-explain select INPUT__FILE__NAME, *, ROW__ID from masking_test;
-
 select INPUT__FILE__NAME, *, ROW__ID from masking_test;

http://git-wip-us.apache.org/repos/asf/hive/blob/82e1551a/ql/src/test/results/clientpositive/masking_8.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/masking_8.q.out b/ql/src/test/results/clientpositive/masking_8.q.out
index be142b0..b365962 100644
--- a/ql/src/test/results/clientpositive/masking_8.q.out
+++ b/ql/src/test/results/clientpositive/masking_8.q.out
@@ -276,42 +276,6 @@ POSTHOOK: Lineage: masking_test.c8 SIMPLE []
 POSTHOOK: Lineage: masking_test.c9 SIMPLE []
 POSTHOOK: Lineage: masking_test.input__file__name SIMPLE [(src)src.FieldSchema(name:INPUT__FILE__NAME,
type:string, comment:), ]
 POSTHOOK: Lineage: masking_test.key EXPRESSION [(src)src.FieldSchema(name:key, type:string,
comment:default), ]
-PREHOOK: query: explain select INPUT__FILE__NAME, *, ROW__ID from masking_test
-PREHOOK: type: QUERY
-POSTHOOK: query: explain select INPUT__FILE__NAME, *, ROW__ID from masking_test
-POSTHOOK: type: QUERY
-STAGE DEPENDENCIES:
-  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: masking_test
-            Statistics: Num rows: 500 Data size: 57406 Basic stats: COMPLETE Column stats:
NONE
-            Filter Operator
-              predicate: (((key % 2) = 0) and (key < 10)) (type: boolean)
-              Statistics: Num rows: 83 Data size: 9529 Basic stats: COMPLETE Column stats:
NONE
-              Select Operator
-                expressions: INPUT__FILE__NAME (type: string), key (type: int), c1 (type:
string), c2 (type: string), c3 (type: string), c4 (type: string), c5 (type: string), c7 (type:
string), c8 (type: string), c9 (type: string), c10 (type: string), c11 (type: string), ROW__ID
(type: struct<transactionid:bigint,bucketid:int,rowid:bigint>)
-                outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7,
_col8, _col9, _col10, _col11, _col12
-                Statistics: Num rows: 83 Data size: 9529 Basic stats: COMPLETE Column stats:
NONE
-                File Output Operator
-                  compressed: false
-                  Statistics: Num rows: 83 Data size: 9529 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
-
-  Stage: Stage-0
-    Fetch Operator
-      limit: -1
-      Processor Tree:
-        ListSink
-
 PREHOOK: query: select INPUT__FILE__NAME, *, ROW__ID from masking_test
 PREHOOK: type: QUERY
 PREHOOK: Input: default@masking_test

http://git-wip-us.apache.org/repos/asf/hive/blob/82e1551a/ql/src/test/results/clientpositive/tez/vector_interval_arithmetic.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/tez/vector_interval_arithmetic.q.out b/ql/src/test/results/clientpositive/tez/vector_interval_arithmetic.q.out
index 930b3e4..1d3a5f6 100644
--- a/ql/src/test/results/clientpositive/tez/vector_interval_arithmetic.q.out
+++ b/ql/src/test/results/clientpositive/tez/vector_interval_arithmetic.q.out
@@ -34,7 +34,7 @@ POSTHOOK: Input: default@unique_timestamps
 POSTHOOK: Output: default@interval_arithmetic_1
 POSTHOOK: Lineage: interval_arithmetic_1.dateval EXPRESSION [(unique_timestamps)unique_timestamps.FieldSchema(name:tsval,
type:timestamp, comment:null), ]
 POSTHOOK: Lineage: interval_arithmetic_1.tsval SIMPLE [(unique_timestamps)unique_timestamps.FieldSchema(name:tsval,
type:timestamp, comment:null), ]
-_c0	tsval
+tsval	tsval
 PREHOOK: query: -- interval year-month arithmetic
 explain
 select

http://git-wip-us.apache.org/repos/asf/hive/blob/82e1551a/ql/src/test/results/clientpositive/vector_interval_arithmetic.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/vector_interval_arithmetic.q.out b/ql/src/test/results/clientpositive/vector_interval_arithmetic.q.out
index 458a23d..f7c8a08 100644
--- a/ql/src/test/results/clientpositive/vector_interval_arithmetic.q.out
+++ b/ql/src/test/results/clientpositive/vector_interval_arithmetic.q.out
@@ -34,7 +34,7 @@ POSTHOOK: Input: default@unique_timestamps
 POSTHOOK: Output: default@interval_arithmetic_1
 POSTHOOK: Lineage: interval_arithmetic_1.dateval EXPRESSION [(unique_timestamps)unique_timestamps.FieldSchema(name:tsval,
type:timestamp, comment:null), ]
 POSTHOOK: Lineage: interval_arithmetic_1.tsval SIMPLE [(unique_timestamps)unique_timestamps.FieldSchema(name:tsval,
type:timestamp, comment:null), ]
-_c0	tsval
+tsval	tsval
 PREHOOK: query: -- interval year-month arithmetic
 explain
 select


Mime
View raw message