-
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
Java.lang.IllegalArgumentException: Invalid position 5 in block with 1 positions #24765
Comments
Can you share the query? |
The query is very large, but this would the snippet I believe. There are couple of other ARRAY_HISTOGRAM's, but those are very straightforward. No filter, etc. I can maybe build a docker image from your pr and test it? Thanks for the quick response!
|
@jrombi sure, if you can test that I'd be grateful! |
@jrombi any news? |
Sorry, I need to fully setup Maven 😅 . So was going to try and create reproduce query. Your fix seems to make sensen though! |
@jrombi you don't need to - we have a maven wrapper checked in. Just run |
I cannot reproduce into a smaller query, yet, but sharing the stacktrace already. I have seen some similar issues in the past in the issue tracker.
Running on Trino 468
Query works in Athena
Query with different partition works.
Issue seems to be an edge in the ArrayHistogramFunction arourd null checks.
The text was updated successfully, but these errors were encountered: