[
https://issues.apache.org/jira/browse/ARROW-8918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated ARROW-8918:
----------------------------------
Labels: pull-request-available (was: )
> [C++] Add cast "metafunction" to FunctionRegistry that addresses dispatching
> to appropriate type-specific CastFunction
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: ARROW-8918
> URL: https://issues.apache.org/jira/browse/ARROW-8918
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Wes McKinney
> Assignee: Wes McKinney
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.0.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> By setting the output type in {{CastOptions}}, we can write
> {code}
> call_function("cast", [arg], cast_options)
> {code}
> This simplifies use of casting for binding developers. This mimics the
> standard SQL
> {code}
> CAST(expr AS target_type)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)