-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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] Nullability of struct child vectors not preserved in TransferPair #41686
Comments
@FiV0 I don't think it's a bug. The bolding texts above are mismatched and that's the reason for the diff between |
@tlm365 could you explain
|
@vibhatha the Field he passed when create but nullable when pass to |
Oh I didn't catch that. Thanks @tlm365 |
This is about the nullability of the the child and not the struct. Why should the nullability of a struct affect the nullability of its children? |
Hmm, @FiV0 I agree. I also tested it even with adding matching |
I am taking a look at this. |
I think the issue is here |
I will make a draft PR shortly. |
… TransferPair (#41785) ### Rationale for this change Nullability of the struct child vectors are not preserved in the StructWriter templates. ### What changes are included in this PR? - [X] Adding nullability and test cases. - [X] Updating to JUNIT5 ### Are these changes tested? New test case added and the change is being validated by existing tests. ### Are there any user-facing changes? No * GitHub Issue: #41686 Authored-by: Vibhatha Lakmal Abeykoon <vibhatha@gmail.com> Signed-off-by: David Li <li.davidm96@gmail.com>
Issue resolved by pull request 41785 |
…ved in TransferPair (apache#41785) ### Rationale for this change Nullability of the struct child vectors are not preserved in the StructWriter templates. ### What changes are included in this PR? - [X] Adding nullability and test cases. - [X] Updating to JUNIT5 ### Are these changes tested? New test case added and the change is being validated by existing tests. ### Are there any user-facing changes? No * GitHub Issue: apache#41686 Authored-by: Vibhatha Lakmal Abeykoon <vibhatha@gmail.com> Signed-off-by: David Li <li.davidm96@gmail.com>
Describe the bug, including details regarding any error messages, version, and platform.
When copying a struct vector via a transfer pair the nullability of the children is not preserved
results in the failure
Component(s)
Java
The text was updated successfully, but these errors were encountered: