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


##########
spark/v3.4/spark/src/main/java/org/apache/iceberg/spark/SparkTypeToType.java:
##########
@@ -153,8 +154,12 @@ public Type atomic(DataType atomic) {
     } else if (atomic instanceof DecimalType) {
       return Types.DecimalType.of(
           ((DecimalType) atomic).precision(), ((DecimalType) atomic).scale());
+

Review Comment:
   unrelated change



##########
spark/v3.4/spark/src/test/java/org/apache/iceberg/spark/source/ScanTestBase.java:
##########
@@ -95,14 +96,16 @@ protected void writeAndValidate(Schema writeSchema, Schema 
expectedSchema) throw
 
     HadoopTables tables = new HadoopTables(CONF);
     // If V3 spec features are used, set the format version to 3
-    Map<String, String> tableProperties =
+    boolean requiresV3 =

Review Comment:
   we don't have the same code in Spark 4.1, so why do we need i there?



##########
spark/v3.5/spark/src/main/java/org/apache/iceberg/spark/SparkTypeToType.java:
##########
@@ -153,8 +154,12 @@ public Type atomic(DataType atomic) {
     } else if (atomic instanceof DecimalType) {
       return Types.DecimalType.of(
           ((DecimalType) atomic).precision(), ((DecimalType) atomic).scale());
+

Review Comment:
   unrelated change



##########
spark/v3.5/spark/src/test/java/org/apache/iceberg/spark/source/ScanTestBase.java:
##########
@@ -95,11 +96,12 @@ protected void writeAndValidate(Schema writeSchema, Schema 
expectedSchema) throw
 
     HadoopTables tables = new HadoopTables(CONF);
     // If V3 spec features are used, set the format version to 3
-    Map<String, String> tableProperties =
+    boolean requiresV3 =

Review Comment:
   same question as for the Spark 3.4 path



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