MaxGekk commented on issue #25022: [SPARK-24695][SQL] Move `CalendarInterval` 
to org.apache.spark.sql.types package
URL: https://github.com/apache/spark/pull/25022#issuecomment-534214406
 
 
   @cloud-fan I would consider only 2 options:
   - Keep as is, and expose existing `CalendarInterval` in UDF, or
   - Follow SQL standard, and expose 2 types from Java standard library - 
`Period` and `Duration`.
   
   It seems nobody here likes the second option. So, I would do the first one 
instead of changing semantic of already exposed `CalendarInterval` in any ways.

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