uros-b commented on code in PR #56407:
URL: https://github.com/apache/spark/pull/56407#discussion_r3409977764


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetUtils.scala:
##########
@@ -207,6 +207,8 @@ object ParquetUtils extends Logging {
       schema.forall(f => isBatchReadSupported(sqlConf, f.dataType))
 
   def isBatchReadSupported(sqlConf: SQLConf, dt: DataType): Boolean = dt match 
{
+    case _: TimestampNTZNanosType | _: TimestampLTZNanosType =>

Review Comment:
   Just leaving a performance note here: because isBatchReadSupported returns 
false for these types and isBatchReadSupportedForSchema uses forall, a single 
nanos column disables vectorized reads for the entire file/row group. That's 
fine and the vectorized follow-up is acknowledged.



-- 
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]

Reply via email to