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-15297: Hive should not split semicolon within quoted string literals (Pengcheng Xiong, reviewed by Ashutosh Chauhan) (addendum V)
Date Fri, 20 Jan 2017 19:06:13 GMT
Repository: hive
Updated Branches:
  refs/heads/master 6fe150828 -> f968cf78a


HIVE-15297: Hive should not split semicolon within quoted string literals (Pengcheng Xiong,
reviewed by Ashutosh Chauhan) (addendum V)


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

Branch: refs/heads/master
Commit: f968cf78a231810451ee3bebaa51c8205893aaad
Parents: 6fe1508
Author: Pengcheng Xiong <pxiong@apache.org>
Authored: Fri Jan 20 11:05:58 2017 -0800
Committer: Pengcheng Xiong <pxiong@apache.org>
Committed: Fri Jan 20 11:05:58 2017 -0800

----------------------------------------------------------------------
 ql/src/test/queries/clientpositive/specialChar.q    |  2 +-
 .../clientnegative/cluster_tasklog_retrieval.q.out  |  8 ++------
 .../results/clientnegative/minimr_broken_pipe.q.out |  3 +--
 .../test/results/clientpositive/specialChar.q.out   | 16 ++++++++--------
 4 files changed, 12 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/f968cf78/ql/src/test/queries/clientpositive/specialChar.q
----------------------------------------------------------------------
diff --git a/ql/src/test/queries/clientpositive/specialChar.q b/ql/src/test/queries/clientpositive/specialChar.q
index 7cee119..ed1cf24 100644
--- a/ql/src/test/queries/clientpositive/specialChar.q
+++ b/ql/src/test/queries/clientpositive/specialChar.q
@@ -27,4 +27,4 @@ INSERT INTO ts VALUES ("Mozilla\\\"/5.0 ;;;;;;(iPhone; CPU iPhone OS 5_0
like Ma
 
 INSERT INTO ts VALUES ("Mozilla\'\\/5.0 ;;;\";;\";(iPhone; CPU iPhone OS 5_0 like Mac OS
X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3");
 
-select * from ts;
+select * from ts order by s;

http://git-wip-us.apache.org/repos/asf/hive/blob/f968cf78/ql/src/test/results/clientnegative/cluster_tasklog_retrieval.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/cluster_tasklog_retrieval.q.out b/ql/src/test/results/clientnegative/cluster_tasklog_retrieval.q.out
index bbf42cd..b5ccfed 100644
--- a/ql/src/test/results/clientnegative/cluster_tasklog_retrieval.q.out
+++ b/ql/src/test/results/clientnegative/cluster_tasklog_retrieval.q.out
@@ -1,11 +1,7 @@
-PREHOOK: query: -- TaskLog retrieval upon Null Pointer Exception in Cluster
-
-CREATE TEMPORARY FUNCTION evaluate_npe AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFEvaluateNPE'
+PREHOOK: query: CREATE TEMPORARY FUNCTION evaluate_npe AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFEvaluateNPE'
 PREHOOK: type: CREATEFUNCTION
 PREHOOK: Output: evaluate_npe
-POSTHOOK: query: -- TaskLog retrieval upon Null Pointer Exception in Cluster
-
-CREATE TEMPORARY FUNCTION evaluate_npe AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFEvaluateNPE'
+POSTHOOK: query: CREATE TEMPORARY FUNCTION evaluate_npe AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFEvaluateNPE'
 POSTHOOK: type: CREATEFUNCTION
 POSTHOOK: Output: evaluate_npe
 PREHOOK: query: FROM src

http://git-wip-us.apache.org/repos/asf/hive/blob/f968cf78/ql/src/test/results/clientnegative/minimr_broken_pipe.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/minimr_broken_pipe.q.out b/ql/src/test/results/clientnegative/minimr_broken_pipe.q.out
index ae31487..553e94a 100644
--- a/ql/src/test/results/clientnegative/minimr_broken_pipe.q.out
+++ b/ql/src/test/results/clientnegative/minimr_broken_pipe.q.out
@@ -1,5 +1,4 @@
-PREHOOK: query: -- Tests exception in ScriptOperator.close() by passing to the operator a
small amount of data
-SELECT TRANSFORM(*) USING 'true' AS a, b FROM (SELECT TRANSFORM(*) USING 'echo' AS a, b FROM
src LIMIT 1) tmp
+PREHOOK: query: SELECT TRANSFORM(*) USING 'true' AS a, b FROM (SELECT TRANSFORM(*) USING
'echo' AS a, b FROM src LIMIT 1) tmp
 PREHOOK: type: QUERY
 PREHOOK: Input: default@src
 #### A masked pattern was here ####

http://git-wip-us.apache.org/repos/asf/hive/blob/f968cf78/ql/src/test/results/clientpositive/specialChar.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/specialChar.q.out b/ql/src/test/results/clientpositive/specialChar.q.out
index 2646ad6..b194ad5 100644
--- a/ql/src/test/results/clientpositive/specialChar.q.out
+++ b/ql/src/test/results/clientpositive/specialChar.q.out
@@ -76,21 +76,21 @@ POSTHOOK: query: INSERT INTO ts VALUES ("Mozilla\'\\/5.0 ;;;\";;\";(iPhone;
CPU
 POSTHOOK: type: QUERY
 POSTHOOK: Output: default@ts
 POSTHOOK: Lineage: ts.s EXPRESSION [(values__tmp__table__10)values__tmp__table__10.FieldSchema(name:tmp_values_col1,
type:string, comment:), ]
-PREHOOK: query: select * from ts
+PREHOOK: query: select * from ts order by s
 PREHOOK: type: QUERY
 PREHOOK: Input: default@ts
 #### A masked pattern was here ####
-POSTHOOK: query: select * from ts
+POSTHOOK: query: select * from ts order by s
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@ts
 #### A masked pattern was here ####
-Mozilla/5.0 (iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko)
Version/5.1 Mobile/9A334 Safari/7534.48.3
-Mozilla/5.0 (iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko)
Version/5.1 Mobile/9A334 Safari/7534.48.3
-Mozilla/5.0 (iPhone; \; \;CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like
Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3
-Mozilla/5.0 (iPhone/; ///;CPU ;;;iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML,
like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3
-'
 "
+'
 Mozilla"'/5.0 "(iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like
Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3
 Mozilla'"/5.0 '(iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like
Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3
-Mozilla\"/5.0 ;;;;;;(iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML,
like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3
 Mozilla'\/5.0 ;;;";;";(iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML,
like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3
+Mozilla/5.0 (iPhone/; ///;CPU ;;;iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML,
like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3
+Mozilla/5.0 (iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko)
Version/5.1 Mobile/9A334 Safari/7534.48.3
+Mozilla/5.0 (iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko)
Version/5.1 Mobile/9A334 Safari/7534.48.3
+Mozilla/5.0 (iPhone; \; \;CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like
Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3
+Mozilla\"/5.0 ;;;;;;(iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML,
like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3


Mime
View raw message