KnightChess commented on code in PR #5320:
URL: https://github.com/apache/hudi/pull/5320#discussion_r873147603


##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/TestAlterTable.scala:
##########
@@ -194,9 +194,14 @@ class TestAlterTable extends HoodieSparkSqlTestBase {
         val oldLocation = spark.sessionState.catalog.getTableMetadata(new 
TableIdentifier(tableName)).properties.get("path")
         spark.sql(s"alter table $tableName rename to $newTableName")
         val newLocation = spark.sessionState.catalog.getTableMetadata(new 
TableIdentifier(newTableName)).properties.get("path")
-        assertResult(false)(
-          newLocation.equals(oldLocation)
-        )
+        if (HoodieSparkUtils.isSpark3_2) {

Review Comment:
   only use hoodieCatalog will set path to tblp



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to