You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2016/12/16 00:31:29 UTC

hive git commit: HIVE-15438 : avrocountemptytbl.q should use SORT_QUERY_RESULTS

Repository: hive
Updated Branches:
  refs/heads/master 08d4e124b -> bf37d787e


HIVE-15438 : avrocountemptytbl.q should use SORT_QUERY_RESULTS

Signed-off-by: Ashutosh Chauhan <ha...@apache.org>


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

Branch: refs/heads/master
Commit: bf37d787e2045b35439c0487df4aa8cea7b328b2
Parents: 08d4e12
Author: Anthony Hsu <ah...@linkedin.com>
Authored: Thu Dec 15 16:31:02 2016 -0800
Committer: Ashutosh Chauhan <ha...@apache.org>
Committed: Thu Dec 15 16:31:02 2016 -0800

----------------------------------------------------------------------
 ql/src/test/queries/clientpositive/avrocountemptytbl.q     | 2 ++
 ql/src/test/results/clientpositive/avrocountemptytbl.q.out | 8 ++++++--
 2 files changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/bf37d787/ql/src/test/queries/clientpositive/avrocountemptytbl.q
----------------------------------------------------------------------
diff --git a/ql/src/test/queries/clientpositive/avrocountemptytbl.q b/ql/src/test/queries/clientpositive/avrocountemptytbl.q
index 9ecfb05..3ede2bb 100644
--- a/ql/src/test/queries/clientpositive/avrocountemptytbl.q
+++ b/ql/src/test/queries/clientpositive/avrocountemptytbl.q
@@ -1,3 +1,5 @@
+-- SORT_QUERY_RESULTS
+
 drop table if exists emptyavro;
 create table emptyavro (a int) stored as avro;
 select count(*) from emptyavro;

http://git-wip-us.apache.org/repos/asf/hive/blob/bf37d787/ql/src/test/results/clientpositive/avrocountemptytbl.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/avrocountemptytbl.q.out b/ql/src/test/results/clientpositive/avrocountemptytbl.q.out
index 72e8489..afaab34 100644
--- a/ql/src/test/results/clientpositive/avrocountemptytbl.q.out
+++ b/ql/src/test/results/clientpositive/avrocountemptytbl.q.out
@@ -1,6 +1,10 @@
-PREHOOK: query: drop table if exists emptyavro
+PREHOOK: query: -- SORT_QUERY_RESULTS
+
+drop table if exists emptyavro
 PREHOOK: type: DROPTABLE
-POSTHOOK: query: drop table if exists emptyavro
+POSTHOOK: query: -- SORT_QUERY_RESULTS
+
+drop table if exists emptyavro
 POSTHOOK: type: DROPTABLE
 PREHOOK: query: create table emptyavro (a int) stored as avro
 PREHOOK: type: CREATETABLE