You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "caican (Jira)" <ji...@apache.org> on 2023/07/14 05:58:00 UTC
[jira] [Created] (SPARK-44419) Support to extract partial filters of datasource v2 table and push them down
caican created SPARK-44419:
------------------------------
Summary: 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.4.0, 3.3.0, 3.2.0, 3.1.2
Reporter: caican
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