pengbo commented on issue #24567: [SPARK-27638][SQL]: date format 'yyyy-M-dd' 
string comparison not handled properly
URL: https://github.com/apache/spark/pull/24567#issuecomment-490893372
 
 
   cc @cloud-fan @MaxGekk 
   
   Some corner cases like `date_col > 'invalid_date_string'` will always return 
false in this solution seems to be reasonable as well In my opinion such as 
date_col > '2000-' or '19999' (the same behavior in Mysql).
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to