[GitHub] [carbondata] ravipesala commented on a change in pull request #3313: [WIP]Display Job ID while executing a command.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [carbondata] ravipesala commented on a change in pull request #3313: [WIP]Display Job ID while executing a command.

GitBox
ravipesala commented on a change in pull request #3313: [WIP]Display Job ID while executing a command.
URL: https://github.com/apache/carbondata/pull/3313#discussion_r299441220
 
 

 ##########
 File path: integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/table/CarbonCreateTableCommand.scala
 ##########
 @@ -122,7 +123,9 @@ case class CarbonCreateTableCommand(
           val tablePath = tableIdentifier.getTablePath
           val carbonRelation = CarbonSparkUtil.createCarbonRelation(tableInfo, tablePath)
           val rawSchema = CarbonSparkUtil.getRawSchema(carbonRelation)
-          sparkSession.sparkContext.setLocalProperty(EXECUTION_ID_KEY, null)
+          if (!SparkUtil.isSparkVersionXandAbove("2.3")) {
 
 Review comment:
   Better move this to SparkUtil.scala and call from all places.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[hidden email]


With regards,
Apache Git Services