Github user gvramana commented on a diff in the pull request: https://github.com/apache/incubator-carbondata/pull/674#discussion_r106864706 --- Diff: integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/AlterTableCommands.scala --- @@ -174,7 +175,7 @@ private[sql] case class AlterTableRenameTable(alterTableRenameModel: AlterTableR CarbonEnv.get.carbonMetastore.removeTableFromMetadata(oldDatabaseName, oldTableName) sparkSession.sharedState.externalCatalog.asInstanceOf[HiveExternalCatalog].client .runSqlHive( - s"ALTER TABLE $oldDatabaseName.$oldTableName RENAME TO $newTableName") + s"ALTER TABLE $oldDatabaseName.$oldTableName RENAME TO $newDatabaseName.$newTableName") --- End diff -- Change this to oldDatabaseName
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---