pvary commented on code in PR #12520:
URL: https://github.com/apache/iceberg/pull/12520#discussion_r1995311328


##########
spark/v3.5/spark/src/test/java/org/apache/iceberg/spark/source/ScanTestBase.java:
##########
@@ -84,7 +86,12 @@ protected void writeAndValidate(Schema writeSchema, Schema 
expectedSchema) throw
     File location = new File(parent, "test");
 
     HadoopTables tables = new HadoopTables(CONF);
-    Table table = tables.create(writeSchema, PartitionSpec.unpartitioned(), 
location.toString());
+    Table table =
+        tables.create(
+            writeSchema,
+            PartitionSpec.unpartitioned(),
+            ImmutableMap.of(TableProperties.FORMAT_VERSION, "3"),
+            location.toString());

Review Comment:
   Opted for using V3 only if the input contains V3 spec schema



-- 
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