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


##########
spark/v3.5/spark-extensions/src/test/java/org/apache/iceberg/spark/extensions/TestViews.java:
##########
@@ -1798,8 +1798,9 @@ public void createOrReplaceViewKeepsViewHistory() {
     assertThat(view.schema().asStruct())
         .isEqualTo(
             new Schema(
-                    Types.NestedField.optional(0, "new_id", 
Types.IntegerType.get(), "some ID"),
-                    Types.NestedField.optional(1, "new_data", 
Types.StringType.get(), "some data"))
+                    0,
+                    Types.NestedField.optional(1, "new_id", 
Types.IntegerType.get(), "some ID"),
+                    Types.NestedField.optional(2, "new_data", 
Types.StringType.get(), "some data"))

Review Comment:
   yes correct, that's exactly how it is done



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