You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by om...@apache.org on 2015/11/17 21:19:38 UTC
[27/43] 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)
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/be870a4a
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/be870a4a
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/be870a4a
Branch: refs/heads/master-fixed
Commit: be870a4a1677d3ad602baba79d5cc087016deeb5
Parents: b029d03
Author: Pengcheng Xiong <px...@apache.org>
Authored: Thu Nov 12 14:06:30 2015 -0800
Committer: Owen O'Malley <om...@apache.org>
Committed: Tue Nov 17 12:18:33 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/be870a4a/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/be870a4a/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/be870a4a/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)