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


##########
spark/v3.3/spark-extensions/src/test/java/org/apache/iceberg/spark/extensions/TestRewriteDataFilesProcedure.java:
##########
@@ -499,13 +553,15 @@ public void testBinPackTableWithSpecialChars() {
   public void testSortTableWithSpecialChars() {
     
Assume.assumeTrue(catalogName.equals(SparkCatalogConfig.HADOOP.catalogName()));
 
-    sql(
-        "CREATE TABLE %s (c1 int, c2 string, c3 string) USING iceberg",
-        tableName(QUOTED_SPECIAL_CHARS_TABLE_NAME));
+    String tblName = tableName(QUOTED_SPECIAL_CHARS_TABLE_NAME);
+    sql("CREATE TABLE %s (c1 int, c2 string, c3 string) USING iceberg", 
tblName);
 
-    insertData(tableName(QUOTED_SPECIAL_CHARS_TABLE_NAME), 10);
+    insertData(tblName, 10);
+    // TODO: metadata table access currently fails with special chars in the 
table name
+    // long dataSizeBefore = testDataSize(tblName);

Review Comment:
   turns out this happened because of caching in the Hadoop catalog. Adding 
`cache-enabled=false` fixes this issue



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to