You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by kr...@apache.org on 2023/01/07 15:49:00 UTC

[hive] branch master updated: HIVE-23622: Fix orc_merge9 (Krisztian Kasa, reviewed by Sai Hemanth Gantasala)

This is an automated email from the ASF dual-hosted git repository.

krisztiankasa pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/master by this push:
     new e8d4b693d60 HIVE-23622: Fix orc_merge9 (Krisztian Kasa, reviewed by Sai Hemanth Gantasala)
e8d4b693d60 is described below

commit e8d4b693d607fddfc65e99333c402330a5711c80
Author: Krisztian Kasa <ka...@gmail.com>
AuthorDate: Sat Jan 7 16:48:46 2023 +0100

    HIVE-23622: Fix orc_merge9 (Krisztian Kasa, reviewed by Sai Hemanth Gantasala)
---
 data/files/alltypesorc_voriginal                       | Bin 0 -> 377237 bytes
 ql/src/test/queries/clientpositive/orc_merge9.q        |   3 +--
 .../test/results/clientpositive/llap/orc_merge9.q.out  |   6 +++---
 3 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/data/files/alltypesorc_voriginal b/data/files/alltypesorc_voriginal
new file mode 100644
index 00000000000..95c68cabd15
Binary files /dev/null and b/data/files/alltypesorc_voriginal differ
diff --git a/ql/src/test/queries/clientpositive/orc_merge9.q b/ql/src/test/queries/clientpositive/orc_merge9.q
index fc87df1c1dc..554beedeb19 100644
--- a/ql/src/test/queries/clientpositive/orc_merge9.q
+++ b/ql/src/test/queries/clientpositive/orc_merge9.q
@@ -1,4 +1,3 @@
---! qt:disabled:Found 1/2 error HIVE-23622
 --! qt:dataset:alltypesorc
 
 set hive.vectorized.execution.enabled=false;
@@ -32,7 +31,7 @@ dfs -ls ${hiveconf:hive.metastore.warehouse.dir}/ts_merge/;
 create table a_merge like alltypesorc;
 
 insert overwrite table a_merge select * from alltypesorc;
-load data local inpath '../../data/files/alltypesorc' into table a_merge;
+load data local inpath '../../data/files/alltypesorc_voriginal' into table a_merge;
 dfs -ls ${hiveconf:hive.metastore.warehouse.dir}/a_merge/;
 
 select count(*) from a_merge;
diff --git a/ql/src/test/results/clientpositive/llap/orc_merge9.q.out b/ql/src/test/results/clientpositive/llap/orc_merge9.q.out
index 87531578cb6..c3728c69e5a 100644
--- a/ql/src/test/results/clientpositive/llap/orc_merge9.q.out
+++ b/ql/src/test/results/clientpositive/llap/orc_merge9.q.out
@@ -92,11 +92,11 @@ POSTHOOK: Lineage: a_merge.cstring2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema
 POSTHOOK: Lineage: a_merge.ctimestamp1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:ctimestamp1, type:timestamp, comment:null), ]
 POSTHOOK: Lineage: a_merge.ctimestamp2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:ctimestamp2, type:timestamp, comment:null), ]
 POSTHOOK: Lineage: a_merge.ctinyint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:ctinyint, type:tinyint, comment:null), ]
-PREHOOK: query: load data local inpath '../../data/files/alltypesorc' into table a_merge
+PREHOOK: query: load data local inpath '../../data/files/alltypesorc_voriginal' into table a_merge
 PREHOOK: type: LOAD
 #### A masked pattern was here ####
 PREHOOK: Output: default@a_merge
-POSTHOOK: query: load data local inpath '../../data/files/alltypesorc' into table a_merge
+POSTHOOK: query: load data local inpath '../../data/files/alltypesorc_voriginal' into table a_merge
 POSTHOOK: type: LOAD
 #### A masked pattern was here ####
 POSTHOOK: Output: default@a_merge
@@ -178,5 +178,5 @@ POSTHOOK: type: QUERY
 POSTHOOK: Input: default@a_merge
 #### A masked pattern was here ####
 36864
-Found 1 items
+Found 2 items
 #### A masked pattern was here ####