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_r410238261
##########
File path: sql/core/src/main/scala/org/apache/spark/sql/SQLImplicits.scala
##########
@@ -210,6 +214,9 @@ abstract class SQLImplicits extends
LowPrioritySQLImplicits {
/** @since 1.6.1 */
implicit def newStringArrayEncoder: Encoder[Array[String]] =
ExpressionEncoder()
+ /** @since 3.1.0 */
+ implicit def newIntervalArrayEncoder: Encoder[Array[CalendarInterval]] =
ExpressionEncoder()
Review comment:
ditto, why is there no decimal array encoder?
----------------------------------------------------------------
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]