goutamadwant opened a new pull request, #13743: URL: https://github.com/apache/seatunnel/pull/13743
### Purpose of this pull request Adds explicit Iceberg v3 batch row-lineage projection to Apache SeaTunnel. The source currently drops `_row_id` and `_last_updated_sequence_number` from the inferred schema even when the query selects them. Refs #12763. ### Does this PR introduce _any_ user-facing change? Yes. For an Iceberg v3 batch job with an inferred schema, set `query = "select id, _row_id, _last_updated_sequence_number from table"` to read both lineage columns as `BIGINT` from Avro or Parquet files. Reads preserve stored lineage across rewrites. When the fields are absent, the reader derives row IDs from the file's first row ID and row position, and inherits the update sequence from the manifest data sequence. Default reads and `select *` continue to return the table's data columns. Explicit ORC lineage requests return an unsupported-operation error because the bundled reader can return incorrect row IDs. ### How was this patch tested? - Reproduced the missing `_row_id` on `dev` with a real v3 table and a Zeta job. - Passed 49 Iceberg connector unit tests and all five Zeta tests in `IcebergSourceIT`. The regression cases cover Avro and Parquet appends, stored and inherited sequences in an Avro rewrite, and the ORC error. - Passed Spotless and `git diff --check`. ### Check list * [ ] License notice for new JARs — no new JARs or dependencies. * [x] Updated the English and Chinese Iceberg source documentation. * [ ] Incompatible changes documentation — no migration required. * [x] Updated E2E coverage for the existing Iceberg connector. Existing connector registration and CI labels still apply. -- 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]
