cloud-fan commented on a change in pull request #28197: [SPARK-31431][SQL] Add
CalendarInterval encoder support
URL: https://github.com/apache/spark/pull/28197#discussion_r407946405
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/Encoders.scala
##########
@@ -135,6 +136,13 @@ object Encoders {
*/
def BINARY: Encoder[Array[Byte]] = ExpressionEncoder()
+ /**
+ * An encoder for `CalendarInterval`
+ *
+ * @since 3.1.0
+ */
+ def CALENDARINTERVAL: Encoder[CalendarInterval] = ExpressionEncoder()
Review comment:
how about just interval?
----------------------------------------------------------------
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]