You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Yibo Cai (Jira)" <ji...@apache.org> on 2021/09/02 10:14:00 UTC

[jira] [Created] (ARROW-13862) [C++][Compute] Allow truncation when casting integer to decimal

Yibo Cai created ARROW-13862:
--------------------------------

             Summary: [C++][Compute] Allow truncation when casting integer to decimal
                 Key: ARROW-13862
                 URL: https://issues.apache.org/jira/browse/ARROW-13862
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
            Reporter: Yibo Cai


Normally, a decimal is big enough to hold a C integer. But it may have long scale digits and cause truncation.

See https://github.com/apache/arrow/pull/11045#discussion_r700199554



--
This message was sent by Atlassian Jira
(v8.3.4#803005)