Skip to content

[C++] Comparison kernel(s) for decimals #29571

@asfimport

Description

@asfimport

Even decimal-decimal comparisons return an error:

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

Ideally, we would also be able to (autocast in order to) compare decimal-float or decimal-integer.

Reporter: Jonathan Keane / @jonkeane
Assignee: David Li / @lidavidm

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-13966. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions