MaxGekk commented on a change in pull request #32213:
URL: https://github.com/apache/spark/pull/32213#discussion_r615344413
##########
File path:
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/LiteralExpressionSuite.scala
##########
@@ -200,8 +204,8 @@ class LiteralExpressionSuite extends SparkFunSuite with
ExpressionEvalHelper {
checkSeqLiteral(Seq(1, 2, 3), IntegerType)
checkSeqLiteral(Seq("a", "b", "c"), StringType)
checkSeqLiteral(Seq(1.0, 4.0), DoubleType)
- checkSeqLiteral(Seq(MICROS_PER_DAY, MICROS_PER_HOUR),
- CalendarIntervalType)
Review comment:
@maropu I removed it because this doesn't check `CalendarIntervalType`.
`elementType` is not used in `checkSeqLiteral()`, and this
`checkSeqLiteral(Seq(MICROS_PER_DAY, MICROS_PER_HOUR), CalendarIntervalType)`
checks the `Long` type, actually.
I think of to improve the test by removing `elementType` at all, and check
`CalendarIntervalType` via `CalendarInterval` values.
--
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]