szehon-ho commented on code in PR #15028:
URL: https://github.com/apache/iceberg/pull/15028#discussion_r2696424876


##########
spark/v4.1/spark-extensions/src/test/java/org/apache/iceberg/spark/extensions/TestMergeSchemaEvolution.java:
##########
@@ -185,6 +185,46 @@ public void testMergeWithSchemaEvolutionNestedStruct() {
         sql("SELECT id, s FROM %s ORDER BY id", selectTarget()));
   }
 
+  @TestTemplate
+  public void testMergeWithSchemaEvolutionNestedStructSourceHasFewerFields() {
+    assumeThat(branch).as("Schema evolution does not work for branches 
currently").isNull();
+
+    spark.conf().set("spark.sql.mergeNestedTypeCoercion.enabled", "true");

Review Comment:
   should be in try/catch



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