sungwy opened a new pull request, #19144: URL: https://github.com/apache/iceberg/pull/19144
Builds the FileIO for a server-planned scan the same way as the table FileIO: in RESTSessionCatalog.newFileIO, through the ioBuilder when one is supplied, from the load's merged properties (table config, rest-referenced-by, remote-signing endpoint and config) plus rest-scan-plan-id. Engines that supply an ioBuilder then control every FileIO a load creates. **Related**: #15595, which uses the same (credentials, planId) factory shape. This PR builds the factory in RESTSessionCatalog so it can go through ioBuilder with the load's properties. #15595's TableResource can take it unchanged. Test plan: A server-planned scan under a user context builds its FileIO through ioBuilder, with the table config, remote-signing endpoint and plan ID (ioBuilderBuildsTheServerPlannedScanFileIO; fails on main). Without an ioBuilder, server-side planning is unchanged (TestRESTScanPlanning, Spark TestRemoteScanPlanning). AI Disclosure Model: Claude Opus 5.5 Platform/Tool: Claude Code Human Oversight: Sung Prompt Summary: The code and tests are generated; the requirement and scope are the author's. The task was to route the server-planned scan FileIO through ioBuilder with the load's merged properties. -- 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]
