Repository: trafodion
Updated Branches:
  refs/heads/master 889631aae -> 043309579


Fix for hive/TEST003 failure seen in recent builds.


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

Branch: refs/heads/master
Commit: bb39775ad213988a0debfde08bed44fa74ff8a24
Parents: d8388f8
Author: selvaganesang <[email protected]>
Authored: Mon Dec 10 18:15:39 2018 +0000
Committer: selvaganesang <[email protected]>
Committed: Mon Dec 10 18:15:39 2018 +0000

----------------------------------------------------------------------
 core/sql/regress/hive/EXPECTED003 | 4 ++++
 core/sql/regress/hive/TEST003     | 2 ++
 2 files changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafodion/blob/bb39775a/core/sql/regress/hive/EXPECTED003
----------------------------------------------------------------------
diff --git a/core/sql/regress/hive/EXPECTED003 
b/core/sql/regress/hive/EXPECTED003
index 4eeae6f..c4912c3 100644
--- a/core/sql/regress/hive/EXPECTED003
+++ b/core/sql/regress/hive/EXPECTED003
@@ -14,6 +14,10 @@
 >>cqd auto_query_retry_warnings 'ON';
 
 --- SQL operation complete.
+>>update statistics for table hive.hive.store_sales on every column
++>sample random 10 percent;
+
+--- SQL operation complete.
 >>
 >>prepare s from insert into hive.ins_customer select * from hive.customer;
 

http://git-wip-us.apache.org/repos/asf/trafodion/blob/bb39775a/core/sql/regress/hive/TEST003
----------------------------------------------------------------------
diff --git a/core/sql/regress/hive/TEST003 b/core/sql/regress/hive/TEST003
index aa0f0bd..fb1089f 100644
--- a/core/sql/regress/hive/TEST003
+++ b/core/sql/regress/hive/TEST003
@@ -72,6 +72,8 @@ set schema hive.hive;
 cqd HIVE_MAX_STRING_LENGTH_IN_BYTES '25' ;
 cqd mode_seahive 'ON';
 cqd auto_query_retry_warnings 'ON';
+update statistics for table hive.hive.store_sales on every column
+sample random 10 percent;
 
 prepare s from insert into hive.ins_customer select * from hive.customer;
 execute s;

Reply via email to