You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Francois Saint-Jacques (JIRA)" <ji...@apache.org> on 2019/06/18 02:54:00 UTC

[jira] [Resolved] (ARROW-4912) [C++, Python] Allow specifying column names to CSV reader

     [ https://issues.apache.org/jira/browse/ARROW-4912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francois Saint-Jacques resolved ARROW-4912.
-------------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.14.0

Issue resolved by pull request 4557
[https://github.com/apache/arrow/pull/4557]

> [C++, Python] Allow specifying column names to CSV reader
> ---------------------------------------------------------
>
>                 Key: ARROW-4912
>                 URL: https://issues.apache.org/jira/browse/ARROW-4912
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++, Python
>    Affects Versions: 0.12.1
>            Reporter: Philipp Moritz
>            Assignee: Benjamin Kietzman
>            Priority: Major
>              Labels: csv, pull-request-available
>             Fix For: 0.14.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Currently I think there is no way to specify custom column names for CSV files. It's possible to specify the full schema of the file, but not just column names.
> See the related discussion here: ARROW-3722
> The goal of this is to re-use the CSV type-inference but still allow people to specify custom names for the columns. As far as I know, there is currently no way to set column names post-hoc, so we should provide a way to specify them before reading the file.
> Related to this, ParseOptions(header_rows=0) is not currently implemented.
> Is there any current way to do this or does this need to be implmented?



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