Skip to content

fix(arrow/compute): fix scalar comparison panic - #518

Merged
zeroshade merged 1 commit into
apache:mainfrom
zeroshade:decimal-comparison-panic
Sep 24, 2025
Merged

fix(arrow/compute): fix scalar comparison panic#518
zeroshade merged 1 commit into
apache:mainfrom
zeroshade:decimal-comparison-panic

Conversation

@zeroshade

Copy link
Copy Markdown
Member

Rationale for this change

fixes #503

What changes are included in this PR?

Properly limit the slice when calling op in comparePrimitiveArrayScalar like we do for comparePrimitiveScalarArray as per #464

Are these changes tested?

Yes, the unit test is updated to account for this situation

Are there any user-facing changes?

scenario will no longer panic

@kou kou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@zeroshade
zeroshade merged commit 378b923 into apache:main Sep 24, 2025
16 checks passed
@zeroshade
zeroshade deleted the decimal-comparison-panic branch March 27, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants