beliefer commented on code in PR #45571:
URL: https://github.com/apache/spark/pull/45571#discussion_r1530167583
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetRowConverter.scala:
##########
@@ -436,6 +436,17 @@ private[parquet] class ParquetRowConverter(
}
}
+ // INT96 timestamp doesn't have a logical type, here we check the
physical type instead.
+ case TimestampNTZType if
parquetType.asPrimitiveType().getPrimitiveTypeName == INT96 =>
+ new ParquetPrimitiveConverter(updater) {
+ // Converts nanosecond timestamps stored as INT96.
+ // TimestampNTZ type does not require rebasing due to its lack of
time zone context.
Review Comment:
Could you tell me why we can treat ltz as ntz directly?
--
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]