MaxGekk commented on code in PR #56825:
URL: https://github.com/apache/spark/pull/56825#discussion_r3485914157
##########
sql/core/src/main/scala/org/apache/spark/sql/avro/AvroUtils.scala:
##########
@@ -123,9 +123,6 @@ private[sql] object AvroUtils extends Logging {
case _: GeometryType | _: GeographyType => false
- // Nanosecond-capable timestamps are not yet supported by this datasource.
Review Comment:
Done in this PR - I updated `docs/sql-data-sources-avro.md` with the new
mappings in both tables: read - `timestamp-nanos` (long) -> `TimestampType(p)`,
`local-timestamp-nanos` (long) -> `TimestampNTZType(p)`; write - the same in
reverse, noting `p` in 7-9 and that they require
`spark.sql.timestampNanosTypes.enabled=true`.
--
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]