alamb commented on issue #5700: URL: https://github.com/apache/arrow-datafusion/issues/5700#issuecomment-1481132344
In order to implement this feature I would suggest extending `Expr::Not` to work with integral types https://github.com/apache/arrow-datafusion/blob/8594ec73184b348ba23cf23458f1fc5340505d13/datafusion/expr/src/expr.rs#L104C51-L105 There is already an arrow kernel that can be used: https://docs.rs/arrow/35.0.0/arrow/compute/kernels/bitwise/fn.bitwise_not.html You may also have to figure out how to get the `~col` to work -- sqlparser supports it -- https://docs.rs/sqlparser/0.32.0/sqlparser/ast/enum.UnaryOperator.html#variant.PGBitwiseNot -- 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]
