hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jd...@apache.org
Subject [24/58] [abbrv] hive git commit: HIVE-11806 : Create test for HIVE11174 (Vikram Dixit via Ashutosh Chauhan)
Date Tue, 19 Apr 2016 22:25:16 GMT
HIVE-11806 : Create test for HIVE11174 (Vikram Dixit via Ashutosh Chauhan)

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


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

Branch: refs/heads/llap
Commit: 4eef55b943baa63248aa750aa8e05f5d8a0df4ad
Parents: 58dcd76
Author: Vikram Dixit K <vikram@apache.org>
Authored: Fri Sep 11 16:00:00 2015 -0800
Committer: Ashutosh Chauhan <hashutosh@apache.org>
Committed: Mon Apr 11 23:23:50 2016 -0700

----------------------------------------------------------------------
 .../test/queries/clientpositive/float_equality.q   |  3 +++
 .../results/clientpositive/float_equality.q.out    | 17 +++++++++++++++++
 2 files changed, 20 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/4eef55b9/ql/src/test/queries/clientpositive/float_equality.q
----------------------------------------------------------------------
diff --git a/ql/src/test/queries/clientpositive/float_equality.q b/ql/src/test/queries/clientpositive/float_equality.q
new file mode 100644
index 0000000..216ce40
--- /dev/null
+++ b/ql/src/test/queries/clientpositive/float_equality.q
@@ -0,0 +1,3 @@
+select 1 where 0.0=-0.0;
+
+select 1 where -0.0<0.0;

http://git-wip-us.apache.org/repos/asf/hive/blob/4eef55b9/ql/src/test/results/clientpositive/float_equality.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/float_equality.q.out b/ql/src/test/results/clientpositive/float_equality.q.out
new file mode 100644
index 0000000..319c6e7
--- /dev/null
+++ b/ql/src/test/results/clientpositive/float_equality.q.out
@@ -0,0 +1,17 @@
+PREHOOK: query: select 1 where 0.0=-0.0
+PREHOOK: type: QUERY
+PREHOOK: Input: _dummy_database@_dummy_table
+#### A masked pattern was here ####
+POSTHOOK: query: select 1 where 0.0=-0.0
+POSTHOOK: type: QUERY
+POSTHOOK: Input: _dummy_database@_dummy_table
+#### A masked pattern was here ####
+1
+PREHOOK: query: select 1 where -0.0<0.0
+PREHOOK: type: QUERY
+PREHOOK: Input: _dummy_database@_dummy_table
+#### A masked pattern was here ####
+POSTHOOK: query: select 1 where -0.0<0.0
+POSTHOOK: type: QUERY
+POSTHOOK: Input: _dummy_database@_dummy_table
+#### A masked pattern was here ####


Mime
View raw message