Repository: carbondata
Updated Branches:
  refs/heads/master 65471f2c8 -> 92f2b71e6


[CARBONDATA1506] fix SDV error in PushUP_FILTER_uniqdata_TC075

fix SDV error in PushUP_FILTER_uniqdata_TC075

This closes #1941


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

Branch: refs/heads/master
Commit: 92f2b71e62ee88c69b47c510a6ca3e316877f6c5
Parents: 65471f2
Author: xubo245 <601450...@qq.com>
Authored: Wed Feb 7 16:34:53 2018 +0800
Committer: chenliang613 <chenliang...@huawei.com>
Committed: Fri Mar 2 17:03:04 2018 +0800

----------------------------------------------------------------------
 .../carbondata/cluster/sdv/generated/QueriesBasicTestCase.scala  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/carbondata/blob/92f2b71e/integration/spark-common-cluster-test/src/test/scala/org/apache/carbondata/cluster/sdv/generated/QueriesBasicTestCase.scala
----------------------------------------------------------------------
diff --git 
a/integration/spark-common-cluster-test/src/test/scala/org/apache/carbondata/cluster/sdv/generated/QueriesBasicTestCase.scala
 
b/integration/spark-common-cluster-test/src/test/scala/org/apache/carbondata/cluster/sdv/generated/QueriesBasicTestCase.scala
index b663eb4..eee4f7f 100644
--- 
a/integration/spark-common-cluster-test/src/test/scala/org/apache/carbondata/cluster/sdv/generated/QueriesBasicTestCase.scala
+++ 
b/integration/spark-common-cluster-test/src/test/scala/org/apache/carbondata/cluster/sdv/generated/QueriesBasicTestCase.scala
@@ -4239,8 +4239,8 @@ class QueriesBasicTestCase extends QueryTest with 
BeforeAndAfterAll {
   //PushUP_FILTER_uniqdata_TC075
   test("PushUP_FILTER_uniqdata_TC075", Include) {
 
-    checkAnswer(s"""select covar_samp(1,2) from uniqdata where CUST_ID IS NULL 
or DOB IS NOT NULL or BIGINT_COLUMN1 =1233720368578 or DECIMAL_COLUMN1 = 
12345678901.1234000058 or Double_COLUMN1 = 1.12345674897976E10 or 
INTEGER_COLUMN1 IS NULL """,
-      s"""select covar_samp(1,2) from uniqdata_hive where CUST_ID IS NULL or 
DOB IS NOT NULL or BIGINT_COLUMN1 =1233720368578 or DECIMAL_COLUMN1 = 
12345678901.1234000058 or Double_COLUMN1 = 1.12345674897976E10 or 
INTEGER_COLUMN1 IS NULL """, 
"QueriesBasicTestCase_PushUP_FILTER_uniqdata_TC075")
+    checkAnswer(s"""select round(covar_samp(1,2), 4) from uniqdata where 
CUST_ID IS NULL or DOB IS NOT NULL or BIGINT_COLUMN1 =1233720368578 or 
DECIMAL_COLUMN1 = 12345678901.1234000058 or Double_COLUMN1 = 
1.12345674897976E10 or INTEGER_COLUMN1 IS NULL """,
+      s"""select round(covar_samp(1,2), 4) from uniqdata_hive where CUST_ID IS 
NULL or DOB IS NOT NULL or BIGINT_COLUMN1 =1233720368578 or DECIMAL_COLUMN1 = 
12345678901.1234000058 or Double_COLUMN1 = 1.12345674897976E10 or 
INTEGER_COLUMN1 IS NULL """, 
"QueriesBasicTestCase_PushUP_FILTER_uniqdata_TC075")
 
   }
 

Reply via email to