This is an automated email from the ASF dual-hosted git repository.

voonhous pushed a commit to tag rfc-105-pre-cleanup
in repository https://gitbox.apache.org/repos/asf/hudi.git

commit 89782db0e343862146576b99aae65bd4583d7c60
Author: voon <[email protected]>
AuthorDate: Fri May 22 16:18:35 2026 +0800

    docs(trino): add hudi-trino-plugin README with build and IDE setup
    
    Documents the -Phudi-trino activation and a per-module JDK 25 override
    for hudi-trino-plugin so contributors do not have to toggle the project
    SDK when working across modules.
---
 hudi-trino-plugin/README.md | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/hudi-trino-plugin/README.md b/hudi-trino-plugin/README.md
new file mode 100644
index 000000000000..4a9aba1403db
--- /dev/null
+++ b/hudi-trino-plugin/README.md
@@ -0,0 +1,24 @@
+# hudi-trino-plugin
+
+Hudi connector for Trino (RFC-105). Published as part of 
`org.apache.hudi:hudi-trino-bundle`; the Trino-side `HudiPlugin` shim loads 
classes from that bundle.
+
+## Build
+
+Excluded from default builds. Activate the `hudi-trino` Maven profile:
+
+```
+mvn -Phudi-trino -pl hudi-trino-plugin,packaging/hudi-trino-bundle -am install
+```
+
+Requires JDK 25 (enforced via `maven-enforcer-plugin`).
+
+## IDE setup
+
+Only `hudi-trino-plugin` needs JDK 25. Leave the rest of Hudi on its native 
JDK (11 or 17) so you are not toggling the project default.
+
+1. Activate the `hudi-trino` Maven profile so the IDE picks up the module.
+   - IntelliJ: Maven tool window, Profiles, tick `hudi-trino`.
+2. Override the SDK for the `hudi-trino-plugin` module only, to Temurin 25 
with Language level 25.
+   - IntelliJ: `File > Project Structure > Modules > hudi-trino-plugin > 
Dependencies > Module SDK`.
+
+The enforcer rule only runs during `mvn`, not during the IDE's incremental 
compile.
\ No newline at end of file

Reply via email to