yaooqinn commented on issue #26412: [SPARK-29774][SQL] Date and Timestamp type +/- null should be null as Postgres URL: https://github.com/apache/spark/pull/26412#issuecomment-560263988 > I think it's all because we hack the `Add` operator to do date add. Now we need to add more hacks in the type coercion rules. > > How about we create `UnresolvedAdd` in the parser, and convert it to either `Add` or `DateAdd` in the analyzer? This is better, I will follow this sugguestion, thanks.
---------------------------------------------------------------- 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]
