You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "SHIMA Tatsuya (Jira)" <ji...@apache.org> on 2022/08/15 06:05:00 UTC

[jira] [Commented] (ARROW-15602) [R] can't read timestamp with timezone from CSV (or other delimited) file without options

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

SHIMA Tatsuya commented on ARROW-15602:
---------------------------------------

I may have misunderstood something. So far the following example seems to work. An update to the documentation may be sufficient.

{code:r}
tf <- tempfile()
writeLines("x\n2004-04-01T12:00+09:00", tf)
arrow::read_csv_arrow(tf)
#> # A tibble: 1 × 1
#>   x
#>   <dttm>
#> 1 2004-04-01 03:00:00
{code}

> [R] can't read timestamp with timezone from CSV (or other delimited) file without options
> -----------------------------------------------------------------------------------------
>
>                 Key: ARROW-15602
>                 URL: https://issues.apache.org/jira/browse/ARROW-15602
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: R
>         Environment: R version 4.1.2 (2021-11-01)
> Platform: x86_64-pc-linux-gnu (64-bit)
> Running under: Ubuntu 20.04.3 LTS
>            Reporter: SHIMA Tatsuya
>            Priority: Major
>
> The following values in a csv file can be read as timestamp by `pyarrow.csv.read_csv` and `readr::read_csv`, but not by `arrow::read_csv_arrow`.
> {code}
> "x"
> "2004-04-01T12:00+09:00"
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)