-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trino 473 Unable to Query Hudi 1.0.x Tables (COW and MOR) - GENERIC_INTERNAL_ERROR #25361
Comments
Please share the full stacktrace of step 3. You can get it by CLI --debug option or Web UI. |
|
What's the value of |
I checked the hoodie.properties file. Here's what I found:
To provide full context, below is the relevant section of the hoodie.properties file I reviewed:
|
Thanks, the connector supports only 0 and 1 hoodie.timeline.layout.version for now. |
Thank you so much for taking the time to help me troubleshoot this issue. Your assistance has deepened my understanding of the problem, and I’m truly grateful for that! With your support, I’d like to learn more about the plans for addressing this issue and recommendations for the current situation. Specifically, I’m curious about the following:
|
Hi Trino community,
I am encountering an issue with Trino 473 when attempting to query Hudi tables (both COW and MOR types) after upgrading Hudi from 0.14.0 to 1.0.1. The same tables can be queried successfully in Apache Flink with Hudi 1.0.1 and in Trino with Hudi 0.14.0, but they fail in Trino 473 with Hudi 1.0.1, resulting in a GENERIC_INTERNAL_ERROR. I would appreciate your assistance in diagnosing and resolving this issue.
Environment
Trino Version: 473
Hudi Version: 1.0.1 (previously 0.14.0)
Hive Metastore Version: 3.1.3
Flink Version: 1.19.1
Deployment: Docker containers
Steps to Reproduce
Create a Hudi catalog and table in Flink using Hudi 1.0.1. Below is the Flink SQL used :
sql
Run a simple query in Trino:
sql
The query fails with the following error:
The only relevant log from the Trino Docker container is:
Observations
The issue affects both COW and MOR tables in Hudi 1.0.x.
Queries succeed in Trino with Hudi 0.14.0 and in Flink with Hudi 1.0.1, indicating a compatibility issue between Trino 473 and Hudi 1.0.1.
The failure occurs during the query planning phase, suggesting potential issues with metadata parsing or query planning.
Hive Metastore metadata is intact, as confirmed by successful queries in Flink.
Suspected Cause
Hudi 1.0.1 may have introduced changes (e.g., in metadata format or table structure) that are not yet supported by Trino’s Hudi connector in version 473.
Questions
Does Trino 473 support Hudi 1.0.1 for COW and MOR tables?
If not, is there a planned update to add support, or are there any known workarounds to enable querying these tables?
Could you provide any guidance on debugging or resolving the GENERIC_INTERNAL_ERROR?
Thank you for your time and support!
The text was updated successfully, but these errors were encountered: