uros-b commented on code in PR #56634:
URL: https://github.com/apache/spark/pull/56634#discussion_r3447601466


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/json/JsonInferSchema.scala:
##########
@@ -177,10 +179,10 @@ class JsonInferSchema(private val options: JSONOptions) 
extends Serializable wit
         if (options.prefersDecimal && decimalTry.isDefined) {
           decimalTry.get
         } else if (options.inferTimestamp) {
-          // For text-based format, it's ambiguous to infer a timestamp string 
without timezone, as
-          // it can be both TIMESTAMP LTZ and NTZ. To avoid behavior changes 
with the new support
-          // of NTZ, here we only try to infer NTZ if the config is set to use 
NTZ by default.

Review Comment:
   Should we move this comment instead of deleting it?



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