MaxGekk commented on pull request #34049:
URL: https://github.com/apache/spark/pull/34049#issuecomment-922991766


   >  If so, is it ANSI compliant behavior?
   
   I think it is, the standard says:
   "
   ... If two year-month intervals have **different interval precisions**, they 
are, for the purpose of any operations between them, effectively converted to 
the same precision by appending new <primary datetime field>s to either the 
most significant end of one interval, the least significant end of one 
interval, or both.
   
   ... There are two classes of intervals. One class, called year-month 
intervals, has an express or implied **datetime precision** that includes no 
fields other than YEAR and MONTH ...
   "


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