xiedeyantu commented on code in PR #22314:
URL: https://github.com/apache/datafusion/pull/22314#discussion_r3258176765
##########
datafusion/sql/src/expr/mod.rs:
##########
@@ -142,6 +142,23 @@ impl<S: ContextProvider> SqlToRel<'_, S> {
}
let RawBinaryExpr { op, left, right } = binary_expr;
+ if op == BinaryOperator::PGExp {
Review Comment:
I've moved the method to binary_op.rs because BinaryOperator::PGExp doesn't
have an operator chain like "#", so I used this approach to solve the problem.
I also tried implementing "^" in a similar way to "#", but it required a lot of
modifications and ultimately still relies on the "power" function. Would you
accept this modification?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]