fallintoplace opened a new pull request, #1583: URL: https://github.com/apache/iceberg-go/pull/1583
## What changed Validate that a position-delete table contains exactly one `file_path` column and exactly one `pos` column before indexing either field. ## Why The scanner indexed the first result from `FieldIndices` without checking its length. Missing required columns therefore caused an index-out-of-range panic, while duplicate columns were ambiguous. Regression coverage includes valid schemas, the optional `row` column, each missing-column case, neither column, and duplicate `pos` columns. ## Testing - `go test ./table` - `go vet ./table` -- 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]
