carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ravipesala <...@git.apache.org>
Subject [GitHub] carbondata pull request #1418: [CARBONDATA-1573] [Integration] Support Datab...
Date Thu, 09 Nov 2017 15:37:32 GMT
Github user ravipesala commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1418#discussion_r149996665
  
    --- Diff: integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/CarbonCreateTableCommand.scala
---
    @@ -37,11 +37,13 @@ case class CarbonCreateTableCommand(
       }
     
       override def processSchema(sparkSession: SparkSession): Seq[Row] = {
    -    val storePath = CarbonEnv.getInstance(sparkSession).storePath
    +    var storePath = CarbonEnv.getInstance(sparkSession).storePath
         CarbonEnv.getInstance(sparkSession).carbonMetastore.
    -      checkSchemasModifiedTimeAndReloadTables(storePath)
    +      checkSchemasModifiedTimeAndReloadTables()
         val LOGGER = LogServiceFactory.getLogService(this.getClass.getCanonicalName)
         cm.databaseName = GetDB.getDatabaseName(cm.databaseNameOp, sparkSession)
    +    storePath = GetDB.getDatabaseLocation(cm.databaseName, sparkSession, storePath)
    --- End diff --
    
    assign to another variable with proper name


---

Mime
View raw message