You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2020/06/16 16:06:00 UTC

[jira] [Resolved] (ARROW-8942) [R] Detect compression in reading CSV/JSON

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

Neal Richardson resolved ARROW-8942.
------------------------------------
    Resolution: Fixed

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

> [R] Detect compression in reading CSV/JSON
> ------------------------------------------
>
>                 Key: ARROW-8942
>                 URL: https://issues.apache.org/jira/browse/ARROW-8942
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: R
>            Reporter: Dyfan Jones
>            Assignee: Neal Richardson
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.0.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Hi all,
> Apologises if this has already been covered by another ticket. Is it possible for arrow to read in compress delimited files (for example gzip)?
> Currently I get an error when trying to read in a compressed delimited file:
>  
> {code:java}
> vroom::vroom_write(iris, "iris.csv.gz", delim = ",")
> arrow::read_csv_arrow("iris.csv.gz")
> # Error in csv__TableReader_Read(self) :
> # Invalid: CSV parse error: Expected 1 columns, got 4{code}
> however it can be read in by vroom and readr:
> {code:java}
> vroom::vroom("iris.csv.gz")
> readr::read_csv("iris.csv.gz")
> {code}
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)