cloud-fan commented on PR #37283: URL: https://github.com/apache/spark/pull/37283#issuecomment-1195102833
> this one is for runtime error messages for casting numbers to numeric type, while Cast.typeCheckFailureMessage is for compile time error. Hmm does it matter? The point is `Cast` expression itself knows if it's from table insertion or not, and we can customize `Cast` behavior with this information, like different error messages for both compile time and runtime errors. -- 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]
