grundprinzip commented on code in PR #39296:
URL: https://github.com/apache/spark/pull/39296#discussion_r1059248076
##########
python/pyspark/sql/connect/expressions.py:
##########
@@ -420,6 +420,12 @@ def __repr__(self) -> str:
return f"{self._name}({', '.join([str(arg) for arg in
self._args])})"
+class UnresolvedBinaryFunction(UnresolvedFunction):
Review Comment:
Since there was probably not a spec to follow for the string representation
of these objects, we can try to do our best to make the doc tests pass and be
somewhat compatible since this is not a real API:
* binary ops with single character operator -> infix
* other binary ops -> prefix
* for other expression types we directly resolve check with the server
--
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]