MaxGekk commented on pull request #28966:
URL: https://github.com/apache/spark/pull/28966#issuecomment-652480348


   I am going to add this to the SQL migration guide:
   ```
     - In Spark 3.0, JSON datasource and JSON function `schema_of_json` infer 
TimestampType from string values if they match to the pattern defined by the 
JSON option `timestampFormat`. Since version 3.1, the timestamp type inference 
is disabled by default. Set the JSON option `inferTimestamp` to `true` to 
enable such type inference.
   ```
   
   The question is about the version from which we are going to disable the 
inference - Spark 3.1 or Spark 3.0.1.
   


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

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