mh0w commented on issue #56672:
URL: https://github.com/apache/spark/issues/56672#issuecomment-4777550984

   > 4.0 was released May 2025 and this code was done in July 2025. I don't 
think we can backport this to 4.0 as it's a new feature. We should change the 
documentation (I believe it's just the docstring in that function). Do you want 
to make a PR for it?
   
   Agreed. `try_to_date()` seems to be fully absent from PySpark 4.0, it's not 
just a missing Python export. I'll create a PR fixing `try_to_date()`'s 
docstring reference to which version introduced the function (4.0.0 --> 4.1.0).
   
   For users wanting a null-tolerant `(try_)to_date()` function, is the 
solution to just not use PySpark 4.0.x and to use <=3.x or >=4.1.x instead?


-- 
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]

Reply via email to