cloud-fan commented on code in PR #49513: URL: https://github.com/apache/spark/pull/49513#discussion_r1918369632
########## 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: This is the behavior for DESCRIBE TABLE without AS JSON, see https://github.com/apache/spark/commit/36d23eff4b4c3a2b8fd301672e532132c96fdd68#diff-f2a04f920c41d18a7d387216f86405bfdc6fb09c44ebe1bb09312ba7dde55333L136 Here we just revert it back. -- 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