Skip to content

Conversation

@izveigor
Copy link
Contributor

Which issue does this PR close?

Follow on to #5423 and #5476

Rationale for this change

After merging the PR #5476 Arrow DataFusion starts to support unsigned integers for bitwise operations.

If we apply "Negative" operator to unsigned integers, we get a negative number. However, type remains unsigned and it throws an error.

That feature solves this problem.

What changes are included in this PR?

Type coercion optimization began to support Expr::Negative case.

Are these changes tested?

Yes

Are there any user-facing changes?

Yes (they have to correct some mistakes)

@github-actions github-actions bot added logical-expr Logical plan and expressions optimizer Optimizer rules labels Mar 10, 2023
@izveigor izveigor marked this pull request as draft March 10, 2023 19:36
@izveigor izveigor closed this Mar 20, 2023
@izveigor izveigor deleted the negative_type_coercion branch March 20, 2023 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

logical-expr Logical plan and expressions optimizer Optimizer rules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant