You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "chamikaramj (via GitHub)" <gi...@apache.org> on 2025/11/10 20:54:31 UTC

[I] [Bug]: Add SchemaFieldNumber annotations to Iceberg to prevent potential update compatibility issues [beam]

chamikaramj opened a new issue, #36778:
URL: https://github.com/apache/beam/issues/36778

   ### What happened?
   
   Iceberg uses SchemaCoder in several locations.
   
   https://github.com/apache/beam/blob/6d24c3dec3bfab3d49c32ed2ef2fe3d0a8d803ef/sdks/java/io/iceberg/src/main/java/org/apache/beam/sdk/io/iceberg/SnapshotInfo.java#L153
   
   https://github.com/apache/beam/blob/c236996a4550f92388f8688afae144fa402de171/sdks/java/io/iceberg/src/main/java/org/apache/beam/sdk/io/iceberg/ReadTask.java#L42
   
   https://github.com/apache/beam/blob/c236996a4550f92388f8688afae144fa402de171/sdks/java/io/iceberg/src/main/java/org/apache/beam/sdk/io/iceberg/ReadTaskDescriptor.java#L37
   
   Using `SchemaCoder` (as opposed to `RowCoder`, for example) can result in update compatibility issues for Dataflow Runner v2. These can be addressed by adding `SchemaFieldNumber` annotations similar to  https://github.com/apache/beam/pull/36295.
   
   ### Issue Priority
   
   Priority: 2 (default / most bugs should be filed as P2)
   
   ### Issue Components
   
   - [ ] Component: Python SDK
   - [ ] Component: Java SDK
   - [ ] Component: Go SDK
   - [ ] Component: Typescript SDK
   - [ ] Component: IO connector
   - [ ] Component: Beam YAML
   - [ ] Component: Beam examples
   - [ ] Component: Beam playground
   - [ ] Component: Beam katas
   - [ ] Component: Website
   - [ ] Component: Infrastructure
   - [ ] Component: Spark Runner
   - [ ] Component: Flink Runner
   - [ ] Component: Samza Runner
   - [ ] Component: Twister2 Runner
   - [ ] Component: Hazelcast Jet Runner
   - [ ] Component: Google Cloud Dataflow Runner


-- 
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: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: Add SchemaFieldNumber annotations to Iceberg to prevent potential update compatibility issues [beam]

Posted by "chamikaramj (via GitHub)" <gi...@apache.org>.
chamikaramj commented on issue #36778:
URL: https://github.com/apache/beam/issues/36778#issuecomment-3630844476

   There are several more places we need to add 'SchemaFieldNumber's to fix update compatibility for IcebergIO. Opened https://github.com/apache/beam/pull/37055 for this.
   
   cc: @shunping in case this can be cherry-picked to the ongoing release. (should be a relatively safe change)


-- 
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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: Add SchemaFieldNumber annotations to Iceberg to prevent potential update compatibility issues [beam]

Posted by "chamikaramj (via GitHub)" <gi...@apache.org>.
chamikaramj commented on issue #36778:
URL: https://github.com/apache/beam/issues/36778#issuecomment-3633155006

   Thanks! Opened https://github.com/apache/beam/pull/37065 for RC3.


-- 
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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: Add SchemaFieldNumber annotations to Iceberg to prevent potential update compatibility issues [beam]

Posted by "chamikaramj (via GitHub)" <gi...@apache.org>.
chamikaramj closed issue #36778: [Bug]: Add SchemaFieldNumber annotations to Iceberg to prevent potential update compatibility issues
URL: https://github.com/apache/beam/issues/36778


-- 
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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: Add SchemaFieldNumber annotations to Iceberg to prevent potential update compatibility issues [beam]

Posted by "chamikaramj (via GitHub)" <gi...@apache.org>.
chamikaramj closed issue #36778: [Bug]: Add SchemaFieldNumber annotations to Iceberg to prevent potential update compatibility issues
URL: https://github.com/apache/beam/issues/36778


-- 
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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: Add SchemaFieldNumber annotations to Iceberg to prevent potential update compatibility issues [beam]

Posted by "Amar3tto (via GitHub)" <gi...@apache.org>.
Amar3tto commented on issue #36778:
URL: https://github.com/apache/beam/issues/36778#issuecomment-3631419596

   > There are several more places we need to add 'SchemaFieldNumber's to fix update compatibility for IcebergIO. Opened [#37055](https://github.com/apache/beam/pull/37055) for this.
   > 
   > cc: [@shunping](https://github.com/shunping) in case this can be cherry-picked to the ongoing release. (should be a relatively safe change)
   
   RC2 is already built, we can add this to RC3


-- 
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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org