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/09/09 19:17:00 UTC

[jira] [Updated] (ARROW-13966) [C++] Comparison kernel(s) for decimals

     [ https://issues.apache.org/jira/browse/ARROW-13966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Li updated ARROW-13966:
-----------------------------
    Labels: kernel types  (was: )

> [C++] Comparison kernel(s) for decimals
> ---------------------------------------
>
>                 Key: ARROW-13966
>                 URL: https://issues.apache.org/jira/browse/ARROW-13966
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Jonathan Keane
>            Priority: Major
>              Labels: kernel, types
>
> Even decimal-decimal comparisons return an error:
> {code:r}
> > Scalar$create(1.5)$cast(decimal(15, 2)) > Scalar$create(1.1)$cast(decimal(15, 2))
> Error: NotImplemented: Function greater has no kernel matching input types (scalar[decimal128(15, 2)], scalar[decimal128(15, 2)])
> {code}
> Ideally, we would also be able to (autocast in order to) compare decimal-float or decimal-integer.



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