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

    https://github.com/apache/carbondata/pull/2996#discussion_r242847958
  
    --- 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 --
    
    If rename to old table name is fail, how should this scene be handled?


---

Reply via email to