Github user ravipesala commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1469#discussion_r153061370
--- Diff:
integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/schema/AlterTableDropColumnCommand.scala
---
@@ -120,10 +121,7 @@ private[sql] case class AlterTableDropColumnCommand(
val schemaEvolutionEntry = new SchemaEvolutionEntry(timeStamp)
schemaEvolutionEntry.setRemoved(deletedColumnSchema.toList.asJava)
AlterTableUtil
- .updateSchemaInfo(carbonTable,
- schemaEvolutionEntry,
- tableInfo)(sparkSession,
- sparkSession.sessionState.asInstanceOf[CarbonSessionState])
+ .updateSchemaInfo(carbonTable, schemaEvolutionEntry,
tableInfo)(sparkSession)
--- End diff --
Move the line up
---