This repository has been archived by the owner on Nov 22, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 37
Comparisons with date values unsupported #273
Labels
Comments
Thank you for reporting @mark-oppenheim. |
zero323
added a commit
that referenced
this issue
Dec 30, 2019
Resolved by #274 |
zero323
added a commit
that referenced
this issue
Dec 30, 2019
zero323
added a commit
that referenced
this issue
Dec 30, 2019
That's an amazing turn-around time. Thanks! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using 2.4.0.post6
mypy reports
Unsupported operand types for < ("Column" and "date")
I suspect the solution is as simple as changing the definitions of lt, gt, lte, gte etc in master/third_party/3/pyspark/sql/column.pyi from
Union[Column, LiteralType, DecimalLiteral])
toUnion[Column, LiteralType, DecimalLiteral, DateTimeLiteral])
DateTimeLiteral
is already imported but appears not to be used.The text was updated successfully, but these errors were encountered: