ConeyLiu commented on code in PR #4898:
URL: https://github.com/apache/iceberg/pull/4898#discussion_r885261028
##########
core/src/main/java/org/apache/iceberg/avro/Avro.java:
##########
@@ -338,13 +340,19 @@ public DataWriteBuilder withSortOrder(SortOrder
newSortOrder) {
return this;
}
+ public DataWriteBuilder withSchemaId(int newSchemaId) {
+ this.schemaId = newSchemaId;
Review Comment:
I see the schema passed into the `Avro`/`Parquet`/`ORC` is the one converted
from Spark/Flink schema. And that schema has the default ID `-1`.
--
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]