hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xu...@apache.org
Subject [03/18] hive git commit: HIVE-12395: Turn off CBO for hive.support.special.characters.tablename tests until feature is complete (Pengcheng Xiong, reviewed by Ashutosh Chauhan)
Date Tue, 17 Nov 2015 16:05:43 GMT
HIVE-12395: Turn off CBO for hive.support.special.characters.tablename tests until feature
is complete (Pengcheng Xiong, reviewed by Ashutosh Chauhan)


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

Branch: refs/heads/spark
Commit: 62e764f490c82580b319f478def91dbaa23386d6
Parents: 4f0266e
Author: Pengcheng Xiong <pxiong@apache.org>
Authored: Thu Nov 12 14:06:30 2015 -0800
Committer: Pengcheng Xiong <pxiong@apache.org>
Committed: Thu Nov 12 14:06:30 2015 -0800

----------------------------------------------------------------------
 .../clientpositive/special_character_in_tabnames_1.q      |  2 +-
 .../clientpositive/special_character_in_tabnames_2.q      |  2 ++
 .../clientpositive/special_character_in_tabnames_2.q.out  | 10 +++++-----
 3 files changed, 8 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/62e764f4/ql/src/test/queries/clientpositive/special_character_in_tabnames_1.q
----------------------------------------------------------------------
diff --git a/ql/src/test/queries/clientpositive/special_character_in_tabnames_1.q b/ql/src/test/queries/clientpositive/special_character_in_tabnames_1.q
index 7540d27..7867ae1 100644
--- a/ql/src/test/queries/clientpositive/special_character_in_tabnames_1.q
+++ b/ql/src/test/queries/clientpositive/special_character_in_tabnames_1.q
@@ -1,4 +1,4 @@
-set hive.cbo.enable=true;
+set hive.cbo.enable=false;
 set hive.exec.check.crossproducts=false;
 set hive.stats.fetch.column.stats=true;
 set hive.auto.convert.join=false;

http://git-wip-us.apache.org/repos/asf/hive/blob/62e764f4/ql/src/test/queries/clientpositive/special_character_in_tabnames_2.q
----------------------------------------------------------------------
diff --git a/ql/src/test/queries/clientpositive/special_character_in_tabnames_2.q b/ql/src/test/queries/clientpositive/special_character_in_tabnames_2.q
index 34dcc90..6110279 100644
--- a/ql/src/test/queries/clientpositive/special_character_in_tabnames_2.q
+++ b/ql/src/test/queries/clientpositive/special_character_in_tabnames_2.q
@@ -1,3 +1,5 @@
+set hive.cbo.enable=false;
+
 -- try the query without indexing, with manual indexing, and with automatic indexing
 -- SORT_QUERY_RESULTS
 

http://git-wip-us.apache.org/repos/asf/hive/blob/62e764f4/ql/src/test/results/clientpositive/special_character_in_tabnames_2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/special_character_in_tabnames_2.q.out b/ql/src/test/results/clientpositive/special_character_in_tabnames_2.q.out
index 51d31e0..1cc672e 100644
--- a/ql/src/test/results/clientpositive/special_character_in_tabnames_2.q.out
+++ b/ql/src/test/results/clientpositive/special_character_in_tabnames_2.q.out
@@ -113,7 +113,7 @@ STAGE PLANS:
             alias: s/c
             Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats:
NONE
             Filter Operator
-              predicate: ((UDFToDouble(key) > 80.0) and (UDFToDouble(key) < 100.0))
(type: boolean)
+              predicate: ((key > 80) and (key < 100)) (type: boolean)
               Statistics: Num rows: 55 Data size: 584 Basic stats: COMPLETE Column stats:
NONE
               Select Operator
                 expressions: key (type: string), value (type: string)
@@ -183,9 +183,9 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             alias: default__s/c_src_index__
-            filterExpr: ((UDFToDouble(key) > 80.0) and (UDFToDouble(key) < 100.0))
(type: boolean)
+            filterExpr: ((key > 80) and (key < 100)) (type: boolean)
             Filter Operator
-              predicate: ((UDFToDouble(key) > 80.0) and (UDFToDouble(key) < 100.0))
(type: boolean)
+              predicate: ((key > 80) and (key < 100)) (type: boolean)
               Select Operator
                 expressions: _bucketname (type: string), _offsets (type: array<bigint>)
                 outputColumnNames: _col0, _col1
@@ -216,10 +216,10 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             alias: s/c
-            filterExpr: ((UDFToDouble(key) > 80.0) and (UDFToDouble(key) < 100.0))
(type: boolean)
+            filterExpr: ((key > 80) and (key < 100)) (type: boolean)
             Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats:
NONE
             Filter Operator
-              predicate: ((UDFToDouble(key) > 80.0) and (UDFToDouble(key) < 100.0))
(type: boolean)
+              predicate: ((key > 80) and (key < 100)) (type: boolean)
               Statistics: Num rows: 55 Data size: 584 Basic stats: COMPLETE Column stats:
NONE
               Select Operator
                 expressions: key (type: string), value (type: string)


Mime
View raw message