You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Liya Fan (Jira)" <ji...@apache.org> on 2019/10/15 12:00:12 UTC

[jira] [Created] (ARROW-6888) [Java] Support copy operation for vector value comparators

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)