Liya Fan created ARROW-6738: ------------------------------- Summary: [Java] Fix problems with current union comparison logic Key: ARROW-6738 URL: https://issues.apache.org/jira/browse/ARROW-6738 Project: Apache Arrow Issue Type: Bug Components: Java Reporter: Liya Fan Assignee: Liya Fan
There are some problems with the current union comparison logic. For example: 1. For type check, we should not require fields to be equal. It is possible that two vectors' value ranges are equal but their fields are different. 2. We should not compare the number of sub vectors, as it is possible that two union vectors have different numbers of sub vectors, but have equal values in the range. -- This message was sent by Atlassian Jira (v8.3.4#803005)