You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/06/22 17:18:51 UTC
[GitHub] [spark] MaxGekk commented on a change in pull request #32993: [SPARK-35776][SQL] Check all year-month interval types in arrow
MaxGekk commented on a change in pull request #32993:
URL: https://github.com/apache/spark/pull/32993#discussion_r656427775
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/execution/arrow/ArrowWriterSuite.scala
##########
@@ -30,7 +30,11 @@ class ArrowWriterSuite extends SparkFunSuite {
test("simple") {
def check(dt: DataType, data: Seq[Any], timeZoneId: String = null): Unit = {
- val schema = new StructType().add("value", dt, nullable = true)
+ val avroDatatype = dt match {
+ case _: YearMonthIntervalType => YearMonthIntervalType()
Review comment:
Sorry, I didn't get this. Do you always test only `YearMonthIntervalType()`?
--
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org