Liya Fan created ARROW-6888: ------------------------------- Summary: [Java] Support copy operation for vector value comparators Key: ARROW-6888 URL: https://issues.apache.org/jira/browse/ARROW-6888 Project: Apache Arrow Issue Type: New Feature Components: Java Reporter: Liya Fan Assignee: Liya Fan
In this issue, we provide copy operations for vector value comparators. This operation creates another comparator with the same type and comparison logic. This feature is useful in multi-threading scenarios where multiple threads uses the comparator to perform their own task. In this scenario, we have no way of making sure the compare method is thread safe. So a safe way is to create a new comparator for each thread. The copy operation will support this. An immediate application of this is the parallel searcher for ordering semantics. -- This message was sent by Atlassian Jira (v8.3.4#803005)