Maxim Gekk created SPARK-31888:
----------------------------------
Summary: 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
Fix For: 3.0.0
Currently, ParquetFilters supports only java.sql.Date values of DateType, and
explicitly casts Any to java.sql.Date, see
https://github.com/apache/spark/blob/cb0db213736de5c5c02b09a2d5c3e17254708ce1/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFilters.scala#L176
So, any filters refer to date 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: [email protected]
For additional commands, e-mail: [email protected]