voonhous opened a new pull request, #20903: URL: https://github.com/apache/hudi/pull/20903
### Describe the issue this Pull Request addresses Closes #19379 The nightly Hudi Trino SPI Compatibility job has failed every day since 2026-10-23 ([latest run](https://github.com/apache/hudi/actions/runs/45325964886)). trinodb/trino 690a25ba1bc2 removed the session-taking `MaterializedResult` factories, so the test-compile of hudi-trino fails against trino master: ``` TestingBaseFilePageSource.java:[112,20] method materializeSourceDataStream in class io.trino.testing.MaterializedResult cannot be applied to given types; required: ConnectorPageSource,List<Type> found: ConnectorSession,ConnectorPageSource,List<Type> ``` While the compile fails, the job cannot push its `bot/trino-pin` branch, so the pin has stayed at 40b70400a8a6 (2026-09-01). The current pin only has the three-argument signature, so the call and the pin have to move together. ### Summary and Changelog - `TestingBaseFilePageSource`: call `materializeSourceDataStream(pageSource, types)` without the session. - Root pom: `trino.sha` to 17328825f46c, which the nightly job compiled hudi-trino main against, and `trino.version` to 485-SNAPSHOT, its project version. - `docker/trino/shim/pom.xml`: parent version to 485-SNAPSHOT with `trino.version`, as the pin-advance job does on a version rollover. `trino.e2e.version` stays at 483; the nightly job refreshes it on its next pin advance. ### Impact Test code and the Trino build pin only. Local hudi-trino builds need `scripts/trino/bootstrap_trino.sh` once for the new pin. ### Risk Level low. With Trino built at 17328825f46c, `mvn -Phudi-trino,hudi-trino-tests -pl hudi-trino test` passed locally under JDK 25: 903 tests, 0 failures, 183 skipped. ### Documentation Update none ### Contributor's checklist - [x] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [x] Enough context is provided in the sections above - [x] Adequate tests were added if applicable -- 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]
