Dewey Dunnington created ARROW-17179:
----------------------------------------
Summary: [R] Support more objects in as_schema() and use it in
more places
Key: ARROW-17179
URL: https://issues.apache.org/jira/browse/ARROW-17179
Project: Apache Arrow
Issue Type: Improvement
Components: R
Reporter: Dewey Dunnington
Right now the {{as_schema()}} method isn't used in many places and doesn't
support many object types. It is probably a good fit for sanitizing arguments
where a schema is expected and likely has more classes that can be interpreted
in this way (e.g., Field or DataType as identified in ARROW-16444). After
ARROW-16444, the internal {{in_type_as_schema()}} function used to sanitize the
{{in_type}} argument of {{register_scalar_function()}} may be a good candidate
for this.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)