You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ian Cook (Jira)" <ji...@apache.org> on 2021/04/05 14:36:00 UTC

[jira] [Comment Edited] (ARROW-11468) [R] Allow user to pass schema to read_json_arrow()

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

Ian Cook edited comment on ARROW-11468 at 4/5/21, 2:35 PM:
-----------------------------------------------------------

I think that's right. It should be relatively straightforward to pass through {{schema}} similarly to how {{newlines_in_values}} is passed through.


was (Author: icook):
I think that's right. It should be relatively straightforward to pass through {{schema}} similarly to {{newlines_in_values}} is passed through.

> [R] Allow user to pass schema to read_json_arrow()
> --------------------------------------------------
>
>                 Key: ARROW-11468
>                 URL: https://issues.apache.org/jira/browse/ARROW-11468
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: R
>    Affects Versions: 3.0.0
>            Reporter: Ian Cook
>            Assignee: Ian Cook
>            Priority: Major
>
> The {{read_json_arrow()}} function lacks a {{schema}} argument, and it is not possible to specify a schema through {{JsonParseOptions}}. PyArrow allows the user to pass a schema to {{read_json()}} through {{ParseOptions}} to bypass automatic type inference. Implement this in the R package.



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