yaooqinn commented on pull request #31073: URL: https://github.com/apache/spark/pull/31073#issuecomment-757466168
For me, to get an interval at the scala/java side, the `lit` and `CalendarInterval` is much easier and clearer. ```scala lit(new CalendarInterval(0, 1, 0)) res0: org.apache.spark.sql.Column = INTERVAL '1 days' ``` So I am sitting at the fence for this change. ---------------------------------------------------------------- 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]
