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:18:00 UTC
[jira] [Assigned] (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 reassigned ARROW-13966:
--------------------------------
Assignee: David Li
> [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, 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)