-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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] AIOOBE trying to splitAndTransfer DUV within nullable struct #40999
Comments
lidavidm
pushed a commit
that referenced
this issue
Apr 7, 2024
…lable struct (#41000) We add a `typeId >= 0` guard to `DUV.TransferImpl.splitAndTransfer` to fix #40999. ### Are these changes tested? Yes ### Are there any user-facing changes? No * GitHub Issue: #40999 Authored-by: James Henderson <[email protected]> Signed-off-by: David Li <[email protected]>
Issue resolved by pull request 41000 |
verma-kartik
pushed a commit
to verma-kartik/arrow
that referenced
this issue
Apr 11, 2024
…in nullable struct (apache#41000) We add a `typeId >= 0` guard to `DUV.TransferImpl.splitAndTransfer` to fix apache#40999. ### Are these changes tested? Yes ### Are there any user-facing changes? No * GitHub Issue: apache#40999 Authored-by: James Henderson <[email protected]> Signed-off-by: David Li <[email protected]>
tolleybot
pushed a commit
to tmct/arrow
that referenced
this issue
May 2, 2024
…in nullable struct (apache#41000) We add a `typeId >= 0` guard to `DUV.TransferImpl.splitAndTransfer` to fix apache#40999. ### Are these changes tested? Yes ### Are there any user-facing changes? No * GitHub Issue: apache#40999 Authored-by: James Henderson <[email protected]> Signed-off-by: David Li <[email protected]>
vibhatha
pushed a commit
to vibhatha/arrow
that referenced
this issue
May 25, 2024
…in nullable struct (apache#41000) We add a `typeId >= 0` guard to `DUV.TransferImpl.splitAndTransfer` to fix apache#40999. ### Are these changes tested? Yes ### Are there any user-facing changes? No * GitHub Issue: apache#40999 Authored-by: James Henderson <[email protected]> Signed-off-by: David Li <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug, including details regarding any error messages, version, and platform.
If a
DenseUnionVector
is contained within a nullableStructVector
, and that struct has nullable entries, trying tosplitAndTransfer
fails with anArrayIndexOutOfBoundsException
.Within a struct vector, if an entry is null, then the entries in its children vectors are undefined, so DUV cannot always expect
typeId >= 0
, and should guard against it where necessary.Test case:
(PR incoming)
Component(s)
Java
The text was updated successfully, but these errors were encountered: