You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2021/01/19 19:15:00 UTC
[jira] [Commented] (ARROW-1489) [C++] Add casting option to set
unsafe casts to null rather than some garbage value
[ https://issues.apache.org/jira/browse/ARROW-1489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17268163#comment-17268163 ]
David Li commented on ARROW-1489:
---------------------------------
Additionally it seems right now, even with unsafe cast enabled, a failed string-to-float cast always raises an ArrowInvalid (it may make sense to have an option to allow filling a null or nan or some other value instead).
> [C++] Add casting option to set unsafe casts to null rather than some garbage value
> -----------------------------------------------------------------------------------
>
> Key: ARROW-1489
> URL: https://issues.apache.org/jira/browse/ARROW-1489
> Project: Apache Arrow
> Issue Type: New Feature
> Components: C++
> Reporter: Wes McKinney
> Priority: Major
>
> Null is the obvious choice when certain casts fail, like string to number, but in other kinds of unsafe casts there may be more ambiguity.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)