You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Todd Farmer (Jira)" <ji...@apache.org> on 2022/07/12 14:05:02 UTC

[jira] [Assigned] (ARROW-12908) [R] Allow string input to as_type()

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

Todd Farmer reassigned ARROW-12908:
-----------------------------------

    Assignee:     (was: Ian Cook)

This issue was last updated over 90 days ago, which may be an indication it is no longer being actively worked. To better reflect the current state, the issue is being unassigned. Please feel free to re-take assignment of the issue if it is being actively worked, or if you plan to start that work soon.

> [R] Allow string input to as_type()
> -----------------------------------
>
>                 Key: ARROW-12908
>                 URL: https://issues.apache.org/jira/browse/ARROW-12908
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: R
>            Reporter: Ian Cook
>            Priority: Minor
>
> Currently the function {{as_type()}} expects argument {{type}} to be a {{DataType}}, e.g.
> {code:r}
> as_type(int32())
> ## Int32
> ## int32{code}
> It would be nice if this function could also accept a string and return a {{DataType}}, e.g.  
> {code:r}
> as_type("int32")
> ## Int32
> ## int32{code}
> See discussion here: [https://github.com/apache/arrow/pull/10327#discussion_r640171712]



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