Github user ravipesala commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2623#discussion_r212832743
  
    --- Diff: 
integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/table/CarbonCreateTableCommand.scala
 ---
    @@ -49,6 +49,8 @@ case class CarbonCreateTableCommand(
         val LOGGER = 
LogServiceFactory.getLogService(this.getClass.getCanonicalName)
         val tableName = tableInfo.getFactTable.getTableName
         var databaseOpt : Option[String] = None
    +    
ThreadLocalSessionInfo.getCarbonSessionInfo.getNonSerializableExtraInfo.put("carbonConf",
    --- End diff --
    
    Move this one utility and pass the only configuration to it like  
`setConfigurationToCurrentThread(configuration)` and call from all places 


---

Reply via email to