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/13 13:24:00 UTC

[jira] [Resolved] (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 resolved ARROW-13966.
------------------------------
    Fix Version/s: 6.0.0
       Resolution: Fixed

Issue resolved by pull request 11129
[https://github.com/apache/arrow/pull/11129]

> [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
>            Assignee: David Li
>            Priority: Major
>              Labels: kernel, pull-request-available, types
>             Fix For: 6.0.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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)