You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2018/10/02 19:34:00 UTC
[jira] [Resolved] (ARROW-3404) [C++] Make CSV chunker faster
[ https://issues.apache.org/jira/browse/ARROW-3404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney resolved ARROW-3404.
---------------------------------
Resolution: Fixed
Fix Version/s: 0.11.0
Issue resolved by pull request 2684
[https://github.com/apache/arrow/pull/2684]
> [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
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.11.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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
(v7.6.3#76005)