openinx opened a new pull request, #18883: URL: https://github.com/apache/iceberg/pull/18883
A REST scan selecting one column and requesting statistics for another emits a null stats-fields entry, causing planning to fail. Resolve statistics field IDs against the full scan schema so valid requests can include statistics for unselected columns. Test plan: In synchronous and asynchronous REST planning, select id while requesting data-column statistics and verify those metrics are returned. Both cases failed before the fix; scan-planning and request-parser suites, core build, formatting, and checkstyle passed. --- **AI Disclosure** - Model: GPT-6 - Platform/Tool: Codex desktop - Human Oversight: reviewed - Prompt Summary: Generated the REST statistics projection fix and regression test; submitted upstream at the author's request. -- 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]
