carbondata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chenliang...@apache.org
Subject [03/50] [abbrv] carbondata git commit: Corrected test case
Date Thu, 06 Jul 2017 14:41:28 GMT
Corrected test case


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

Branch: refs/heads/branch-1.1
Commit: 959e851aa53ed3a7e7572c847e9937d9397eadd5
Parents: d734f53
Author: ravipesala <ravi.pesala@gmail.com>
Authored: Mon May 22 14:29:10 2017 +0530
Committer: ravipesala <ravi.pesala@gmail.com>
Committed: Thu Jun 15 12:57:02 2017 +0530

----------------------------------------------------------------------
 .../spark/testsuite/dataload/TestBatchSortDataLoad.scala       | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/carbondata/blob/959e851a/integration/spark-common-test/src/test/scala/org/apache/carbondata/spark/testsuite/dataload/TestBatchSortDataLoad.scala
----------------------------------------------------------------------
diff --git a/integration/spark-common-test/src/test/scala/org/apache/carbondata/spark/testsuite/dataload/TestBatchSortDataLoad.scala
b/integration/spark-common-test/src/test/scala/org/apache/carbondata/spark/testsuite/dataload/TestBatchSortDataLoad.scala
index 70007c6..43bcac8 100644
--- a/integration/spark-common-test/src/test/scala/org/apache/carbondata/spark/testsuite/dataload/TestBatchSortDataLoad.scala
+++ b/integration/spark-common-test/src/test/scala/org/apache/carbondata/spark/testsuite/dataload/TestBatchSortDataLoad.scala
@@ -86,7 +86,7 @@ class TestBatchSortDataLoad extends QueryTest with BeforeAndAfterAll {
 
     checkAnswer(sql("select count(*) from carbon_load1"), Seq(Row(200000)))
 
-    assert(getIndexfileCount("carbon_load1") == 12, "Something wrong in batch sort")
+    assert(getIndexfileCount("carbon_load1") == 10, "Something wrong in batch sort")
   }
 
   test("test batch sort load by passing option to load command and compare with normal load")
{
@@ -167,7 +167,7 @@ class TestBatchSortDataLoad extends QueryTest with BeforeAndAfterAll {
 
     checkAnswer(sql("select count(*) from carbon_load3"), Seq(Row(200000)))
 
-    assert(getIndexfileCount("carbon_load3") == 12, "Something wrong in batch sort")
+    assert(getIndexfileCount("carbon_load3") == 10, "Something wrong in batch sort")
 
     checkAnswer(sql("select * from carbon_load3 where c1='a1' order by c1"),
       sql("select * from carbon_load2 where c1='a1' order by c1"))
@@ -188,7 +188,7 @@ class TestBatchSortDataLoad extends QueryTest with BeforeAndAfterAll {
 
     checkAnswer(sql("select count(*) from carbon_load4"), Seq(Row(200000)))
 
-    assert(getIndexfileCount("carbon_load4") == 12, "Something wrong in batch sort")
+    assert(getIndexfileCount("carbon_load4") == 10, "Something wrong in batch sort")
     CarbonProperties.getInstance().
       addProperty(CarbonCommonConstants.LOAD_SORT_SCOPE,
         CarbonCommonConstants.LOAD_SORT_SCOPE_DEFAULT)


Mime
View raw message