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