carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jay357089 <...@git.apache.org>
Subject [GitHub] incubator-carbondata pull request #320: [CARBONDATA-412] Fix load bug when t...
Date Mon, 19 Dec 2016 06:43:16 GMT
Github user Jay357089 commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/320#discussion_r92975241
  
    --- Diff: integration/spark/src/test/scala/org/apache/carbondata/integration/spark/testsuite/dataload/TestLoadDataGeneral.scala
---
    @@ -22,27 +22,56 @@ package org.apache.carbondata.integration.spark.testsuite.dataload
     import java.io.File
     import java.math.BigDecimal
     
    +import org.apache.carbondata.core.carbon.path.{CarbonStorePath, CarbonTablePath}
    +import org.apache.carbondata.core.datastorage.store.filesystem.CarbonFile
    +import org.apache.carbondata.core.datastorage.store.impl.FileFactory
     import org.apache.spark.sql.Row
     import org.apache.spark.sql.common.util.CarbonHiveContext._
    -import org.apache.spark.sql.common.util.QueryTest
    +import org.apache.spark.sql.common.util.{CarbonHiveContext, QueryTest}
     import org.scalatest.BeforeAndAfterAll
     
    +import scala.collection.mutable.ArrayBuffer
    +
     class TestLoadDataGeneral extends QueryTest with BeforeAndAfterAll {
     
       var currentDirectory: String = _
     
       override def beforeAll {
         sql("DROP TABLE IF EXISTS loadtest")
    +    sql("DROP TABLE IF EXISTS load_test")
         sql(
           """
             | CREATE TABLE loadtest(id int, name string, city string, age int)
             | STORED BY 'org.apache.carbondata.format'
           """.stripMargin)
    +    sql(
    --- End diff --
    
    done. pls check again.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message