MaxGekk commented on pull request #29935: URL: https://github.com/apache/spark/pull/29935#issuecomment-801738281
I would like to propose to not expose `CalendarIntervalType` (consider it as a legacy one), and focus on new types `YearMonthIntervalType` and `DayTimeIntervalType` (see SPARK-27790). If you have a proposal of mapping `YearMonthIntervalType`/`DayTimeIntervalType` to python types (from standard lib) like we did for Java/Scala already: - [Support java.time.Duration as an external type of the day-time interval type](https://issues.apache.org/jira/browse/SPARK-34605) - [Support java.time.Period as an external type of the year-month interval type](https://issues.apache.org/jira/browse/SPARK-34615) Please, open a sub-task JIRA in SPARK-27790, and we will discuss your proposal in the tickets. ---------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
