[ https://issues.apache.org/jira/browse/SPARK-31888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan resolved SPARK-31888. --------------------------------- Fix Version/s: (was: 3.0.0) 3.1.0 Resolution: Fixed Issue resolved by pull request 28696 [https://github.com/apache/spark/pull/28696] > Support `java.time.Instant` in Parquet filter pushdown > ------------------------------------------------------ > > Key: SPARK-31888 > URL: https://issues.apache.org/jira/browse/SPARK-31888 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 3.0.0, 3.1.0 > Reporter: Maxim Gekk > Assignee: Maxim Gekk > Priority: Major > Fix For: 3.1.0 > > > Currently, ParquetFilters supports only java.sql.Timestamp values of > TimestampType, and explicitly casts Any to java.sql.Timestamp, see > https://github.com/apache/spark/blob/cb0db213736de5c5c02b09a2d5c3e17254708ce1/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFilters.scala#L180 > So, any filters refer to timestamp values are not pushed down to Parquet when > spark.sql.datetime.java8API.enabled is true. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org