nastra commented on code in PR #12892:
URL: https://github.com/apache/iceberg/pull/12892#discussion_r2164095155


##########
spark/v3.4/spark/src/test/java/org/apache/iceberg/spark/SparkCatalogConfig.java:
##########
@@ -29,22 +29,27 @@ public enum SparkCatalogConfig {
       SparkCatalog.class.getName(),
       ImmutableMap.of(
           "type", "hive",
-          "default-namespace", "default")),
+          "default-namespace", "default",
+          "unique-table-location", "true")),
   HADOOP(
       "testhadoop",
       SparkCatalog.class.getName(),
       ImmutableMap.of("type", "hadoop", "cache-enabled", "false")),
   REST(
       "testrest",
       SparkCatalog.class.getName(),
-      ImmutableMap.of("type", "rest", "cache-enabled", "false")),
+      ImmutableMap.of(
+          "type", "rest",
+          "cache-enabled", "false",
+          "unique-table-location", "true")),
   SPARK(
       "spark_catalog",
       SparkSessionCatalog.class.getName(),
       ImmutableMap.of(
           "type", "hive",
           "default-namespace", "default",
           "parquet-enabled", "true",
+          "unique-table-location", "true",

Review Comment:
   I don't think we should be setting this to true everywhere in this class. 
Instead, there should be a separate catalog configuration which is then used in 
`TestCreateTable`



-- 
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: issues-unsubscr...@iceberg.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to