carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mohammadshahidkhan <...@git.apache.org>
Subject [GitHub] carbondata pull request #1418: [CARBONDATA-1573] [Integration] Support Datab...
Date Fri, 10 Nov 2017 14:31:16 GMT
Github user mohammadshahidkhan commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1418#discussion_r150248529
  
    --- 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 --
    
    fixed



---

Mime
View raw message