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/24 13:02:00 UTC
[jira] [Updated] (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 updated ARROW-8918:
--------------------------------
Description:
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}
was:
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
> [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
> Priority: Major
> Fix For: 1.0.0
>
>
> 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)