izveigor opened a new pull request, #5516: URL: https://github.com/apache/arrow-datafusion/pull/5516
# Which issue does this PR close? Follow on to https://github.com/apache/arrow-datafusion/pull/5423 # Rationale for this change I propose to add the symmetric optimization function for bitwise negative. Rules for bitwise negative in case of a binary expression are the same as the not clause: ~(A & B) ===> ~A | ~B ~(A | B) ===> ~A & ~B ~(~A) ===> A <!-- Why are you proposing this change? If this is already explained clearly in the issue then this section is not needed. Explaining clearly why changes are proposed helps reviewers understand your changes and offer better suggestions for fixes. --> # What changes are included in this PR? New optimization method for binary expressions with bitwise negative. # Are these changes tested? After PR merge: https://github.com/apache/arrow-datafusion/pull/5511 # Are there any user-facing changes? Should increase execution speed <!-- If there are user-facing changes then we may require documentation to be updated before approving the PR. --> <!-- If there are any breaking changes to public APIs, please add the `api change` label. --> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
