jackylee-ch opened a new pull request, #16774: URL: https://github.com/apache/iceberg/pull/16774
`ColumnStatsWatermarkExtractor` uses the configured watermark column to derive watermarks from Iceberg column statistics. When the configured column does not exist in the table schema, `schema.findField` returns null and the extractor fails with a `NullPointerException` while reading the field type. This change validates that the watermark column exists before reading its type, so the failure is reported as an actionable `IllegalArgumentException`. This also fixes the missing-statistics error message to include the field id in the formatted message instead of passing it as an unused formatting argument. -- 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]
