You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@carbondata.apache.org by ak...@apache.org on 2019/12/06 05:39:45 UTC

[carbondata] branch master updated: [HOTFIX] Ignore testcase for compatibility problem in spark 2.1

This is an automated email from the ASF dual-hosted git repository.

akashrn5 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/carbondata.git


The following commit(s) were added to refs/heads/master by this push:
     new c6f9aad  [HOTFIX] Ignore testcase for compatibility problem in spark 2.1
c6f9aad is described below

commit c6f9aad9bd6e32a6787c188f88072d7f20deaf34
Author: Manhua <ke...@qq.com>
AuthorDate: Thu Nov 14 17:25:02 2019 +0800

    [HOTFIX] Ignore testcase for compatibility problem in spark 2.1
    
    Why this PR?
    ignore the test case of create table like with location parameter, since Spark 2.1 does not support
    specify location and also current implementation in carbon does not use this parameter.
    Update TestCreateTableLike.scala
    
    This closes #3457
---
 .../carbondata/spark/testsuite/createTable/TestCreateTableLike.scala  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/integration/spark-common-test/src/test/scala/org/apache/carbondata/spark/testsuite/createTable/TestCreateTableLike.scala b/integration/spark-common-test/src/test/scala/org/apache/carbondata/spark/testsuite/createTable/TestCreateTableLike.scala
index 29df400..6059cb6 100644
--- a/integration/spark-common-test/src/test/scala/org/apache/carbondata/spark/testsuite/createTable/TestCreateTableLike.scala
+++ b/integration/spark-common-test/src/test/scala/org/apache/carbondata/spark/testsuite/createTable/TestCreateTableLike.scala
@@ -134,7 +134,9 @@ class TestCreateTableLike extends QueryTest with BeforeAndAfterEach with BeforeA
     assert(exception.getMessage.contains("already exists in database"))
   }
 
-  test("command with location") {
+  // ignore this test case since Spark 2.1 does not support specify location
+  // and also current implementation in carbon does not use this parameter. 
+  ignore("command with location") {
     sql(s"create table targetTable like sourceTable location '$warehouse/tbl_with_loc' ")
     checkTableProperties(TableIdentifier("sourceTable"), TableIdentifier("targetTable"))
   }