uros-db commented on code in PR #47687:
URL: https://github.com/apache/spark/pull/47687#discussion_r1713473766
##########
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/util/IntervalUtilsSuite.scala:
##########
@@ -670,6 +670,22 @@ class IntervalUtilsSuite extends SparkFunSuite with
SQLHelper {
}
}
+ test("SPARK-35680: format negative month intervals") {
+ import org.apache.spark.sql.types.YearMonthIntervalType._
Review Comment:
I also find it a bit weird to have imports in tests, however I see that this
is actually common in `IntervalUtilsSuite.scala`
perhaps Nemanja can keep it as it is for now (and possibly follow up later
with a fix, updating the entire suite)?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]