Skip to content

Conversation

@jonahgao
Copy link
Member

@jonahgao jonahgao commented Oct 22, 2023

Which issue does this PR close?

N/A

Rationale for this change

What changes are included in this PR?

  • Support Decimal256 for the abs function.
  • Minor fixes in the math sql logical test.

Are these changes tested?

Yes

Are there any user-facing changes?

No

@github-actions github-actions bot added physical-expr Changes to the physical-expr crates sqllogictest SQL Logic Tests (.slt) labels Oct 22, 2023
Copy link
Contributor

@comphead comphead left a comment

Choose a reason for hiding this comment

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

Perhaps its better to use plan_err or exec_err! instead of ArrowError

@jonahgao
Copy link
Member Author

Perhaps its better to use plan_err or exec_err! instead of ArrowError

Thank you @comphead, but the try_unary requires the returned error type to be ArrowError.

Copy link
Contributor

@comphead comphead left a comment

Choose a reason for hiding this comment

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

lgtm

@alamb alamb merged commit eee790f into apache:main Oct 23, 2023
@jonahgao jonahgao deleted the decimal256_abs branch October 24, 2023 02:11
@andygrove andygrove added the enhancement New feature or request label Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request physical-expr Changes to the physical-expr crates sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants