[ 
https://issues.apache.org/jira/browse/SPARK-36695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chao Sun resolved SPARK-36695.
------------------------------
    Resolution: Duplicate

> Allow passing V2 functions to data sources via V2 filters
> ---------------------------------------------------------
>
>                 Key: SPARK-36695
>                 URL: https://issues.apache.org/jira/browse/SPARK-36695
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.3.0
>            Reporter: Chao Sun
>            Priority: Major
>
> The V2 filter API currently only allow {{NamedReference}} in predicates that 
> are pushed down to data sources. It may be beneficial to allow V2 functions 
> in predicates as well so that we can implement function pushdown. This 
> feature is also supported by Trino (Presto).
> One use case is we can pushdown predicates such as {{bucket(col, 32) = 10}} 
> which will allow data sources such as Iceberg to only scan a single partition.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to