hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From li...@apache.org
Subject hive git commit: HIVE-17346: TestMiniSparkOnYarnCliDriver[spark_dynamic_partition_pruning] is failing every time (Peter Vary reviewed by Vlad Gudikov and Rui)
Date Fri, 18 Aug 2017 02:37:03 GMT
Repository: hive
Updated Branches:
  refs/heads/master 9a36aa909 -> 5db498372


HIVE-17346: TestMiniSparkOnYarnCliDriver[spark_dynamic_partition_pruning] is failing every
time (Peter Vary reviewed by Vlad Gudikov and Rui)


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

Branch: refs/heads/master
Commit: 5db4983728f4a74c39939b0b71de91393b5a92a7
Parents: 9a36aa9
Author: Peter Vary <pvary@cloudera.com>
Authored: Fri Aug 18 10:36:59 2017 +0800
Committer: Rui Li <lirui@apache.org>
Committed: Fri Aug 18 10:36:59 2017 +0800

----------------------------------------------------------------------
 .../spark/spark_dynamic_partition_pruning.q.out | 27 +++++++++++---------
 1 file changed, 15 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/5db49837/ql/src/test/results/clientpositive/spark/spark_dynamic_partition_pruning.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/spark/spark_dynamic_partition_pruning.q.out
b/ql/src/test/results/clientpositive/spark/spark_dynamic_partition_pruning.q.out
index d9da762..1909485 100644
--- a/ql/src/test/results/clientpositive/spark/spark_dynamic_partition_pruning.q.out
+++ b/ql/src/test/results/clientpositive/spark/spark_dynamic_partition_pruning.q.out
@@ -711,10 +711,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart_date
-                  filterExpr: ((date = '2008-04-08') and ds is not null) (type: boolean)
+                  filterExpr: ((date = '2008-04-08') and abs(((- UDFToLong(concat(UDFToString(day(ds)),
'0'))) + 10)) is not null) (type: boolean)
                   Statistics: Num rows: 2 Data size: 42 Basic stats: COMPLETE Column stats:
NONE
                   Filter Operator
-                    predicate: ((date = '2008-04-08') and ds is not null) (type: boolean)
+                    predicate: ((date = '2008-04-08') and abs(((- UDFToLong(concat(UDFToString(day(ds)),
'0'))) + 10)) is not null) (type: boolean)
                     Statistics: Num rows: 1 Data size: 21 Basic stats: COMPLETE Column stats:
NONE
                     Select Operator
                       expressions: ds (type: string)
@@ -746,25 +746,28 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart
-                  filterExpr: ds is not null (type: boolean)
+                  filterExpr: abs(((- UDFToLong(concat(UDFToString(day(ds)), '0'))) + 10))
is not null (type: boolean)
                   Statistics: Num rows: 2000 Data size: 21248 Basic stats: COMPLETE Column
stats: NONE
-                  Select Operator
-                    expressions: ds (type: string)
-                    outputColumnNames: _col0
+                  Filter Operator
+                    predicate: abs(((- UDFToLong(concat(UDFToString(day(ds)), '0'))) + 10))
is not null (type: boolean)
                     Statistics: Num rows: 2000 Data size: 21248 Basic stats: COMPLETE Column
stats: NONE
-                    Reduce Output Operator
-                      key expressions: abs(((- UDFToLong(concat(UDFToString(day(_col0)),
'0'))) + 10)) (type: bigint)
-                      sort order: +
-                      Map-reduce partition columns: abs(((- UDFToLong(concat(UDFToString(day(_col0)),
'0'))) + 10)) (type: bigint)
+                    Select Operator
+                      expressions: ds (type: string)
+                      outputColumnNames: _col0
                       Statistics: Num rows: 2000 Data size: 21248 Basic stats: COMPLETE Column
stats: NONE
+                      Reduce Output Operator
+                        key expressions: abs(((- UDFToLong(concat(UDFToString(day(_col0)),
'0'))) + 10)) (type: bigint)
+                        sort order: +
+                        Map-reduce partition columns: abs(((- UDFToLong(concat(UDFToString(day(_col0)),
'0'))) + 10)) (type: bigint)
+                        Statistics: Num rows: 2000 Data size: 21248 Basic stats: COMPLETE
Column stats: NONE
         Map 4 
             Map Operator Tree:
                 TableScan
                   alias: srcpart_date
-                  filterExpr: ((date = '2008-04-08') and ds is not null) (type: boolean)
+                  filterExpr: ((date = '2008-04-08') and abs(((- UDFToLong(concat(UDFToString(day(ds)),
'0'))) + 10)) is not null) (type: boolean)
                   Statistics: Num rows: 2 Data size: 42 Basic stats: COMPLETE Column stats:
NONE
                   Filter Operator
-                    predicate: ((date = '2008-04-08') and ds is not null) (type: boolean)
+                    predicate: ((date = '2008-04-08') and abs(((- UDFToLong(concat(UDFToString(day(ds)),
'0'))) + 10)) is not null) (type: boolean)
                     Statistics: Num rows: 1 Data size: 21 Basic stats: COMPLETE Column stats:
NONE
                     Select Operator
                       expressions: ds (type: string)


Mime
View raw message