Github user gvramana commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2420#discussion_r200234454
--- Diff:
integration/spark2/src/main/scala/org/apache/spark/sql/hive/CarbonHiveMetaStore.scala
---
@@ -158,13 +158,11 @@ class CarbonHiveMetaStore extends CarbonFileMetastore
{
oldTablePath: String,
sparkSession: SparkSession,
schemaConverter: ThriftWrapperSchemaConverterImpl) = {
- val newTablePath =
- CarbonTablePath.getNewTablePath(oldTablePath,
newTableIdentifier.getTableName)
val wrapperTableInfo = schemaConverter.fromExternalToWrapperTableInfo(
thriftTableInfo,
newTableIdentifier.getDatabaseName,
newTableIdentifier.getTableName,
- newTablePath)
+ oldTablePath)
--- End diff --
rename to tablePath
---