Skip to content

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

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:Functiongreaterhasnokernelmatchinginput 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions