You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (JIRA)" <ji...@apache.org> on 2018/10/23 16:18:00 UTC

[jira] [Commented] (ARROW-3410) [C++] Streaming CSV reader interface for memory-constrainted environments

    [ https://issues.apache.org/jira/browse/ARROW-3410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16660908#comment-16660908 ] 

Antoine Pitrou commented on ARROW-3410:
---------------------------------------

Note this can't work if type inference is enabled, as type inference needs to be able to change the type of a chunk after first parsing it.

> [C++] Streaming CSV reader interface for memory-constrainted environments
> -------------------------------------------------------------------------
>
>                 Key: ARROW-3410
>                 URL: https://issues.apache.org/jira/browse/ARROW-3410
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++
>            Reporter: Wes McKinney
>            Priority: Major
>             Fix For: 0.12.0
>
>
> CSV reads are currently all-or-nothing. If the results of parsing a CSV file do not fit into memory, this can be a problem. I propose to define a streaming {{RecordBatchReader}} interface so that the record batches produced by reading can be written out immediately to a stream on disk, to be memory mapped later



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)