cloud-fan commented on issue #24567: [SPARK-27638][SQL]: Cast string to date/timestamp in binary comparisons with dates/timestamps URL: https://github.com/apache/spark/pull/24567#issuecomment-491700227 A general note: eventually we do need to support different type coercion modes for different users. But the type coercion rule should be reasonable under any mode. It's not reasonable to compare date/timestamp and string by casting to string, as it returns the wrong result when the string is a partial date/timestamp. For safety, we can add a legacy config to fallback to the old behavior.
---------------------------------------------------------------- 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]
