[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (ARROW-3404) [C++] Make CSV chunker faster

Antoine Pitrou created ARROW-3404:

             Summary: [C++] Make CSV chunker faster
                 Key: ARROW-3404
                 URL: https://issues.apache.org/jira/browse/ARROW-3404
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
    Affects Versions: 0.11.0
            Reporter: Antoine Pitrou
            Assignee: Antoine Pitrou

Currently the CSV chunker can be the bottleneck in multi-threaded reads (starting from 6 threads, according to my experiments). One way to make it faster is to consider by default that CSV values cannot contain newline characters (overridable via a setting), and then simply search for the last newline character in each block of data.

This message was sent by Atlassian JIRA