sarutak commented on a change in pull request #33742:
URL: https://github.com/apache/spark/pull/33742#discussion_r688897945



##########
File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/json/JacksonParser.scala
##########
@@ -253,6 +259,12 @@ class JacksonParser(
           parser.getLongValue * 1000000L
       }
 
+    case TimestampNTZType =>
+      (parser: JsonParser) => parseJsonToken[java.lang.Long](parser, dataType) 
{
+        case VALUE_STRING if parser.getTextLength >= 1 =>
+          timestampNTZFormatter.parseWithoutTimeZone(parser.getText)

Review comment:
       Casting from numerical types to `timestamp_ntz` seems not supported so I 
don't care `VALUE_NUMBER_INT` here.




-- 
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]

Reply via email to