[
https://issues.apache.org/jira/browse/ARROW-16754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17550578#comment-17550578
]
Hongze Zhang commented on ARROW-16754:
--------------------------------------
To me the issue was found when CONFLICT_APPEND is used. I can add more test
cases for CONFLICT_REPLACE.
By the way I believe in future may be we can deprecate the "getOrGet()" API
https://github.com/apache/arrow/blob/8e43f23dcc6a9e630516228f110c48b64d13cec6/java/vector/src/main/java/org/apache/arrow/vector/complex/AbstractStructVector.java#L148-L174,
which seems to overlap the functionality of `CONFLICT_IGNORE`.
> [Java] StructVector's child vectors get unexpectedly reordered after adding
> vectors with duplicated fields
> ----------------------------------------------------------------------------------------------------------
>
> Key: ARROW-16754
> URL: https://issues.apache.org/jira/browse/ARROW-16754
> Project: Apache Arrow
> Issue Type: Bug
> Components: Java
> Affects Versions: 8.0.0
> Reporter: Hongze Zhang
> Assignee: Hongze Zhang
> Priority: Major
> Labels: pull-request-available
> Fix For: 9.0.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)