You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Jacek Pliszka (Jira)" <ji...@apache.org> on 2020/04/21 21:18:00 UTC
[jira] [Commented] (ARROW-7011) [C++] Implement casts from
float/double to decimal128
[ https://issues.apache.org/jira/browse/ARROW-7011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17089080#comment-17089080 ]
Jacek Pliszka commented on ARROW-7011:
--------------------------------------
Would it be enough to:
multiply by 10**scale, cast to integer, cast to decimal128, corect the scale ?
> [C++] Implement casts from float/double to decimal128
> -----------------------------------------------------
>
> Key: ARROW-7011
> URL: https://issues.apache.org/jira/browse/ARROW-7011
> Project: Apache Arrow
> Issue Type: New Feature
> Components: C++
> Reporter: Wes McKinney
> Priority: Major
>
> see also ARROW-5905, ARROW-7010
--
This message was sent by Atlassian Jira
(v8.3.4#803005)