Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
cc023d3
Cherrypick trino-hudi from OSS trino at 1046d9a5410207bd7f79c12cf7494…
voonhous Jul 30, 2025
9c7870c
Initial commit for adding trinohudi connector
codope Apr 28, 2025
68bf1f6
Fix build error
yihua May 9, 2025
23f62de
Exclude hudi-trino-plugin
voonhous Jun 26, 2025
d0a051f
Add stage to test trino individually
voonhous Jun 27, 2025
d1b8f36
Only build and install what is required
voonhous Jun 27, 2025
eec3ae0
Do not rebuild dependencies in stage 2
voonhous Jun 27, 2025
2acd448
Exclude hudi-trino-plugin files for licensing checks
voonhous Jun 27, 2025
504d24a
Exclude hudi-trino-plugin files for licensing checks
voonhous Jun 27, 2025
a92cb2b
Fix build error again
voonhous Jun 27, 2025
c5b21b1
Fix build error again
voonhous Jun 27, 2025
3fdee8c
Fix build error again
voonhous Jun 27, 2025
dd3756b
Add modernizer configs
voonhous Jun 27, 2025
a9f681a
Separate build and test stage
voonhous Jun 27, 2025
2ab15f3
Disable trino tests first
voonhous Jul 1, 2025
4807753
Cherrypick trino-hudi from OHI trino at a56b8014a3fe2edeb00330522cf47…
voonhous Jul 1, 2025
b50c66e
Add hudi-trino-plugin to checkstyle-suppressions.xml
voonhous Jul 30, 2025
b6342d9
Fix checkstyle error
voonhous Jul 1, 2025
96b8faf
Do not build hudi dependencies
voonhous Jul 1, 2025
38aad8a
Remove trino dependencies
voonhous Jul 1, 2025
71fd627
Use JDK 17
voonhous Jul 1, 2025
3a2605b
Adhere to public API access level
voonhous Jul 1, 2025
d84b4fc
Remove unused step
yihua Aug 6, 2025
2815101
Fix license check
yihua Aug 6, 2025
0296584
Add new line
yihua Aug 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1208,3 +1208,25 @@ jobs:
FLINK_PROFILE: ${{ matrix.flinkProfile }}
run:
mvn test -Punit-tests -Djava17 -Djava.version=17 -D"$SCALA_PROFILE" -D"$FLINK_PROFILE" -pl hudi-examples/hudi-examples-flink $MVN_ARGS

test-hudi-trino-plugin:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up JDK 23
uses: actions/setup-java@v3
with:
# Note: We are not caching here again, as we want to use the .m2 repository populated by
# the previous step
java-version: '23'
distribution: 'temurin'
architecture: x64
- name: Build hudi-trino-plugin with JDK 23
working-directory: ./hudi-trino-plugin
run:
mvn clean install -DskipTests
- name: Test hudi-trino-plugin with JDK 23
working-directory: ./hudi-trino-plugin
run:
mvn test
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<?xml version="1.0"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you under the Apache License, Version 2.0 (the
~ "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
-->
<modernizer>
<violation>
<name>java/util/concurrent/ThreadPoolExecutor."&lt;init&gt;":(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;)V</name>
<version>1.1</version>
<comment>Use constructor that takes ThreadFactory and name the threads</comment>
</violation>

<violation>
<name>java/util/concurrent/ThreadPoolExecutor."&lt;init&gt;":(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/RejectedExecutionHandler;)V</name>
<version>1.1</version>
<comment>Use constructor that takes ThreadFactory and name the threads</comment>
</violation>

<violation>
<name>java/util/concurrent/ScheduledThreadPoolExecutor."&lt;init&gt;":(I)V</name>
<version>1.1</version>
<comment>Use constructor that takes ThreadFactory and name the threads</comment>
</violation>

<violation>
<name>java/util/concurrent/ScheduledThreadPoolExecutor."&lt;init&gt;":(ILjava/util/concurrent/RejectedExecutionHandler;)V</name>
<version>1.1</version>
<comment>Use constructor that takes ThreadFactory and name the threads</comment>
</violation>

<violation>
<name>java/util/concurrent/Executors.newFixedThreadPool:(I)Ljava/util/concurrent/ExecutorService;</name>
<version>1.1</version>
<comment>Use factory method that takes ThreadFactory and name the threads</comment>
</violation>

<violation>
<name>java/util/concurrent/Executors.newWorkStealingPool:()Ljava/util/concurrent/ExecutorService;</name>
<version>1.1</version>
<comment>Use factory method that takes ThreadFactory and name the threads</comment>
</violation>

<violation>
<name>java/util/concurrent/Executors.newWorkStealingPool:(I)Ljava/util/concurrent/ExecutorService;</name>
<version>1.1</version>
<comment>Use factory method that takes ThreadFactory and name the threads</comment>
</violation>

<violation>
<name>java/util/concurrent/Executors.newSingleThreadExecutor:()Ljava/util/concurrent/ExecutorService;</name>
<version>1.1</version>
<comment>Use factory method that takes ThreadFactory and name the threads</comment>
</violation>

<violation>
<name>java/util/concurrent/Executors.newCachedThreadPool:()Ljava/util/concurrent/ExecutorService;</name>
<version>1.1</version>
<comment>Use factory method that takes ThreadFactory and name the threads</comment>
</violation>

<violation>
<name>java/util/concurrent/Executors.newSingleThreadScheduledExecutor:()Ljava/util/concurrent/ScheduledExecutorService;</name>
<version>1.1</version>
<comment>Use factory method that takes ThreadFactory and name the threads</comment>
</violation>

<violation>
<name>java/util/concurrent/Executors.newScheduledThreadPool:(I)Ljava/util/concurrent/ScheduledExecutorService;</name>
<version>1.1</version>
<comment>Use factory method that takes ThreadFactory and name the threads</comment>
</violation>
</modernizer>
Loading
Loading