You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2020/06/01 17:32:00 UTC

[jira] [Commented] (SPARK-31888) Support `java.time.Instant` in Parquet filter pushdown

    [ https://issues.apache.org/jira/browse/SPARK-31888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17121192#comment-17121192 ] 

Apache Spark commented on SPARK-31888:
--------------------------------------

User 'MaxGekk' has created a pull request for this issue:
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.0.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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org