Github user HyukjinKwon commented on the issue:
https://github.com/apache/spark/pull/14279
I might have to make a follow-up for..
- making `DatatypeConverter.parseDateTime` to be safe with early dates
- enabling `TimestampType` tests in `JsonHadoopFsRelationSuite`
- merging
[`CSVFileFormat.verifySchema()`](https://github.com/apache/spark/blob/cb1b9d34f37a5574de43f61e7036c4b8b81defbf/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/csv/CSVFileFormat.scala#L188-L197)
for verifying schemas before writing (see
[CSVFileFormat.scala#L87](https://github.com/apache/spark/blob/cb1b9d34f37a5574de43f61e7036c4b8b81defbf/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/csv/CSVFileFormat.scala#L87))
with `CSVRelation. makeConverter` here just like the other data sources. For
example, JSON (see [JacksonGenerator.scala#L115-L119](
https://github.com/apache/spark/blob/2877f1a5224c38c1fa0b85ef633ff935fae9dd83/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/json/JacksonGenerator.scala#L115-L119))
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]