cloud-fan commented on a change in pull request #34596:
URL: https://github.com/apache/spark/pull/34596#discussion_r750896342
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/csv/CSVInferSchema.scala
##########
@@ -38,6 +39,13 @@ class CSVInferSchema(val options: CSVOptions) extends
Serializable {
legacyFormat = FAST_DATE_FORMAT,
isParsing = true)
+ private val timestampNTZFormatter = TimestampFormatter(
+ options.timestampFormatInRead,
Review comment:
moreover, maybe we should add a new CSV option to define pattern for
timestamp ntz.
--
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]