You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/11/02 00:18:00 UTC

[jira] [Updated] (SPARK-44419) Support to extract partial filters of datasource v2 table and push them down

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

ASF GitHub Bot updated SPARK-44419:
-----------------------------------
    Labels: pull-request-available  (was: )

> Support to extract partial filters of datasource v2 table and push them down
> ----------------------------------------------------------------------------
>
>                 Key: SPARK-44419
>                 URL: https://issues.apache.org/jira/browse/SPARK-44419
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.1.2, 3.2.0, 3.3.0, 3.4.0
>            Reporter: caican
>            Priority: Major
>              Labels: pull-request-available
>
>  
> Run the following sql, and the date predicate in the where clause is not pushed down and it would cause a full table scan.
>  
> {code:java}
> SELECT
> id,
> data,
> date
> FROM
> testcat.db.table
> where
> (date = 20221110 and udfStrLen(data) = 8)
> or
> (date = 20221111 and udfStrLen(data) = 8)  {code}



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

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