You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2020/05/28 21:08:00 UTC
[jira] [Resolved] (ARROW-8918) [C++] Add cast "metafunction" to
FunctionRegistry that addresses dispatching to appropriate type-specific
CastFunction
[ https://issues.apache.org/jira/browse/ARROW-8918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney resolved ARROW-8918.
---------------------------------
Resolution: Fixed
Issue resolved by pull request 7258
[https://github.com/apache/arrow/pull/7258]
> [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: 1h 50m
> 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)