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

Nicola Crane commented on ARROW-15602:
--------------------------------------

Looking more into it, I think this is a not an omission of documentation, but 
actually a bug whereby we don't hook up our TimeStampParsers properly; in this 
chunk of code:

https://github.com/apache/arrow/blob/49d2a41280e191bb95f76595e7eb68958cc03990/r/src/csv.cpp#L111-L149
 

It looks like the Python code does hook these up, which is why it works in 
pyarrow's read_csv but not R's.

> [R] can't read timestamp with timezone from CSV (or other delimited) file
> -------------------------------------------------------------------------
>
>                 Key: ARROW-15602
>                 URL: https://issues.apache.org/jira/browse/ARROW-15602
>             Project: Apache Arrow
>          Issue Type: Improvement
>         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.1#820001)

Reply via email to