Skip to content

[C++][Compute] Add decimal support for arithmetic compute functions #28831

@asfimport

Description

@asfimport

The following arithmetic functions do not support decimal:

  • abs

  • abs_checked

  • acos

  • acos_checked

  • asin

  • asin_checked

  • atan

  • ceil

  • cos

  • cos_checked

  • floor

  • is_finite (?)

  • is_inf (?)

  • is_nan (?)

  • ln

  • ln_checked

  • log1p

  • log1p_checked

  • log2

  • log2_checked

  • logb (float/decimal works int/decimal does not)

  • logb_checked (float/decimal works int/decimal does not)

  • mode

  • negate

  • negate_checked

  • power (float/decimal works int/decimal does not)

  • power_checked (float/decimal works int/decimal does not)

  • quantile

  • round (ARROW-13975)

  • round_to_multiple (ARROW-13975)

  • sign

  • sin

  • sin_checked

  • stddev

  • tan

  • tan_checked

  • tdigest

  • trunc

  • variance

    ? - May not be applicable

    The following kernels arithmetic functions do support decimal inputs

  • add

  • add_checked

  • atan2

  • divide

  • divide_checked

  • equal (ARROW-13966)

  • greater (ARROW-13966)

  • greater_equal (ARROW-13966)

  • less (ARROW-13966)

  • less_equal (ARROW-13966)

  • mean

  • min_max

  • multiply

  • multiply_checked

  • product

  • subtract

  • subtract_checked

  • sum

  • unique

Assignee: David Li / @lidavidm

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-13130. 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