zhengruifeng commented on code in PR #48826:
URL: https://github.com/apache/spark/pull/48826#discussion_r1837981823
##########
python/pyspark/sql/connect/expressions.py:
##########
@@ -490,7 +490,7 @@ def __repr__(self) -> str:
# is sightly different:
# java.time.Duration only applies HOURS, MINUTES, SECONDS
units,
# while Pandas applies all supported units.
- return pd.Timedelta(delta).isoformat() # type:
ignore[attr-defined]
Review Comment:
it is surprising that the two `type: ignore` were caused by non-linter
dependency.
--
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]