yaooqinn commented on a change in pull request #31810:
URL: https://github.com/apache/spark/pull/31810#discussion_r592504404
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/types/YearMonthIntervalType.scala
##########
@@ -54,6 +54,8 @@ class YearMonthIntervalType private() extends AtomicType {
override def defaultSize: Int = 4
private[spark] override def asNullable: YearMonthIntervalType = this
+
+ override def typeName: String = "year-month interval"
Review comment:
according to the standard,year-month and day-time is italic,so I guess
interval here is unnecessary.
----------------------------------------------------------------
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]