Github user icexelloss commented on a diff in the pull request: https://github.com/apache/spark/pull/18664#discussion_r144300577 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/arrow/ArrowUtils.scala --- @@ -31,7 +31,8 @@ object ArrowUtils { // todo: support more types. - def toArrowType(dt: DataType): ArrowType = dt match { + /** Maps data type from Spark to Arrow. NOTE: timeZoneId required for TimestampTypes */ + def toArrowType(dt: DataType, timeZoneId: Option[String]): ArrowType = dt match { --- End diff -- Btw, this is a bit nit pick. So feel free to stick to this if you think `Option[String]` is the right thing.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org