huaxingao commented on code in PR #12494:
URL: https://github.com/apache/iceberg/pull/12494#discussion_r2040822469
##########
core/src/main/java/org/apache/iceberg/MetadataColumns.java:
##########
@@ -50,7 +50,7 @@ private MetadataColumns() {}
public static final int SPEC_ID_COLUMN_ID = Integer.MAX_VALUE - 4;
public static final String SPEC_ID_COLUMN_DOC = "Spec ID used to track the
file containing a row";
public static final NestedField SPEC_ID =
- NestedField.required(
+ NestedField.optional(
Review Comment:
In Spark 4.0, the metadata columns are nullable, so need to change this
field to optional.
https://github.com/apache/spark/pull/50246#discussion_r2023825620
--
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]