[ 
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)

Reply via email to