-
Notifications
You must be signed in to change notification settings - Fork 4k
Open
Description
Currently the function as_type() expects argument type to be a DataType, e.g.
as_type(int32())
## Int32
## int32It would be nice if this function could also accept a string and return a DataType, e.g.
as_type("int32")
## Int32
## int32See discussion here: #10327 (comment)
Reporter: Ian Cook / @ianmcook
Related issues:
- [R] Work around masking of data type functions (relates to)
Note: This issue was originally created as ARROW-12908. Please see the migration documentation for further details.