-
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 v428: java.lang.IllegalArgumentException: No catalog handle for partitioning handle: SINGLE #21506
Comments
Could you please give more details? How to reproduce |
I can share the explain plan, will that help? |
Yes, please |
|
@chenjian2664 , updated the initial description. If I change to PARTITIONED I do not see the issue but changing to partittioned will hurt the query performance right |
@sdas987 The explain result are too complex to me... Could you provide the minimal reproduce steps with the error stack trace, you can find it on the UI |
We are seeing this issue in a CTAS query when trying to produce aggregated metrics starting from a fact table and left joining to some dimension tables. I think the dimension tables are being broadcasted due to CBO and that is when this issue is encountered Stacktrace |
@chenjian2664 any insights into what might be causing this issue, thanks |
cc: @sopel39 / @raunaqmorarka might be better suited to look at this. |
Just a small update, we tried this on version 430 as well. Saw the same issue. |
@sdas987 Was it working before 428? |
@sopel39 yes it works for v378. |
Could be related to #12257 cc @lukasz-stec |
@sdas987 Could you try |
@sopel39 tried setting the session variable |
The issue is with
This bug was supposed to be fixed by 8024d30, but I think
is still making |
Hi @sopel39 , thank you for the update. Do we know when a patch can be applied for this bug. |
I don't have an estimate yet. Would you like to fix it maybe? |
Seeing java.lang.IllegalArgumentException: No catalog handle for partitioning handle: SINGLE on Trino version 428 when using AUTOMATIC as the join_distribution_type. When I change the join_distribution_type to PARTITIONED, I do not see the error. This happens on running with hive catalog.
The text was updated successfully, but these errors were encountered: