HyukjinKwon commented on code in PR #41512:
URL: https://github.com/apache/spark/pull/41512#discussion_r1222709092
##########
python/pyspark/sql/connect/column.py:
##########
@@ -73,7 +73,17 @@ def _bin_op(
) -> Callable[["Column", Any], "Column"]:
def wrapped(self: "Column", other: Any) -> "Column":
if other is None or isinstance(
- other, (bool, float, int, str, datetime.datetime, datetime.date,
decimal.Decimal)
+ other,
+ (
+ bool,
+ float,
+ int,
+ str,
+ datetime.datetime,
+ datetime.date,
+ decimal.Decimal,
+ datetime.timedelta,
Review Comment:
This is a bug fix?
--
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]