Skip to content

panic at attempt to multiply with overflow when doing math on Decimal128 columns #3437

@kmitchener

Description

@kmitchener

Describe the bug
A clear and concise description of what the bug is.

When changing the TPC-H tests to use Decimals, getting panics with this error:

thread 'sql::subqueries::tpch_q17_correlated' panicked at 'attempt to multiply with overflow', datafusion/physical-expr/src/expressions/binary/kernels_arrow.rs:359:61

To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

See #3393 for additional examples where the overflow happens on benchmark queries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions