Github user kevinjmh commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2996#discussion_r244906592
--- Diff:
integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/schema/CarbonAlterTableRenameCommand.scala
---
@@ -165,15 +167,22 @@ private[sql] case class CarbonAlterTableRenameCommand(
case e: ConcurrentOperationException =>
throw e
case e: Exception =>
+ if (hiveRenameSuccess) {
+
sparkSession.sessionState.catalog.asInstanceOf[CarbonSessionCatalog].alterTableRename(
--- End diff --
This is a revert operation when L139-142(hive update) is success but
L145-146(carbon meta store update) is failed
---