You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@carbondata.apache.org by ch...@apache.org on 2018/09/16 03:03:32 UTC

carbondata git commit: [HOTFIX] Fix compile error after merging PR2705

Repository: carbondata
Updated Branches:
  refs/heads/master c65a6527d -> 476e6b2a5


[HOTFIX] Fix compile error after merging PR2705

Fix compile error after merging PR2705

This closes #2722


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

Branch: refs/heads/master
Commit: 476e6b2a5a7270784c233b25765bb92d078905b8
Parents: c65a652
Author: Zhang Zhichao <44...@qq.com>
Authored: Sat Sep 15 00:27:21 2018 +0800
Committer: chenliang613 <ch...@huawei.com>
Committed: Sun Sep 16 11:03:29 2018 +0800

----------------------------------------------------------------------
 .../carbondata/cluster/sdv/generated/SDKwriterTestCase.scala      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/carbondata/blob/476e6b2a/integration/spark-common-cluster-test/src/test/scala/org/apache/carbondata/cluster/sdv/generated/SDKwriterTestCase.scala
----------------------------------------------------------------------
diff --git a/integration/spark-common-cluster-test/src/test/scala/org/apache/carbondata/cluster/sdv/generated/SDKwriterTestCase.scala b/integration/spark-common-cluster-test/src/test/scala/org/apache/carbondata/cluster/sdv/generated/SDKwriterTestCase.scala
index 267a05c..ff40836 100644
--- a/integration/spark-common-cluster-test/src/test/scala/org/apache/carbondata/cluster/sdv/generated/SDKwriterTestCase.scala
+++ b/integration/spark-common-cluster-test/src/test/scala/org/apache/carbondata/cluster/sdv/generated/SDKwriterTestCase.scala
@@ -33,6 +33,7 @@ import org.apache.avro.generic.{GenericDatumReader, GenericDatumWriter, GenericR
 import org.apache.avro.io.{DecoderFactory, Encoder}
 import org.apache.commons.lang.CharEncoding
 import org.apache.commons.lang3.RandomStringUtils
+import org.apache.hadoop.conf.Configuration
 import org.junit.Assert
 
 import org.apache.carbondata.core.constants.CarbonCommonConstants
@@ -771,7 +772,7 @@ class SDKwriterTestCase extends QueryTest with BeforeAndAfterEach {
     val writer = builder
       .outputPath(writerPath)
       .sortBy(Array[String]())
-      .buildWriterForCSVInput(Schema.parseJson(schema))
+      .buildWriterForCSVInput(Schema.parseJson(schema), new Configuration())
 
     for (i <- 0 until 5) {
       writer