MaxGekk commented on code in PR #49513: URL: https://github.com/apache/spark/pull/49513#discussion_r1918015476
########## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/interface.scala: ########## @@ -80,20 +82,18 @@ trait MetadataMapSupport { .mkString("[", ", ", "]") case JInt(value) => value.toString case JDouble(value) => value.toString + case JLong(value) => + if (timestampKeys.contains(key)) { + new Date(value).toString Review Comment: Could you use `Iso8601TimestampFormatter` instead of the legacy class `Date`. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org