gengliangwang commented on a change in pull request #33344:
URL: https://github.com/apache/spark/pull/33344#discussion_r669575650
##########
File path:
sql/core/src/main/java/org/apache/spark/sql/execution/vectorized/ColumnVectorUtils.java
##########
@@ -94,7 +94,7 @@ public static void populate(WritableColumnVector col,
InternalRow row, int field
col.getChild(1).putLongs(0, capacity, c.microseconds);
} else if (t instanceof DateType) {
col.putInts(0, capacity, row.getInt(fieldIdx));
- } else if (t instanceof TimestampType) {
+ } else if (t instanceof TimestampType || t instanceof TimestampNTZType) {
Review comment:
The partition schema is validated in:
https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFileFormat.scala#L328
We need this to pass the tests.
--
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]