You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yuchuan Huang (Jira)" <ji...@apache.org> on 2025/09/03 17:40:00 UTC
[jira] [Updated] (SPARK-53476) Add case SupportsPushDownCatalystFilters in PushDownUtils
[ https://issues.apache.org/jira/browse/SPARK-53476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yuchuan Huang updated SPARK-53476:
----------------------------------
Summary: Add case SupportsPushDownCatalystFilters in PushDownUtils (was: PushDownUtils match case improvement)
> Add case SupportsPushDownCatalystFilters in PushDownUtils
> ---------------------------------------------------------
>
> Key: SPARK-53476
> URL: https://issues.apache.org/jira/browse/SPARK-53476
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 4.1.0
> Reporter: Yuchuan Huang
> Priority: Critical
>
>
> {code:java}
> package org.apache.spark.sql.execution.datasources.v2
> object PushDownUtils {
> def pushFilters(scanBuilder: ScanBuilder, filters: Seq[Expression])
> : (Either[Seq[sources.Filter], Seq[Predicate]], Seq[Expression]) = {
> scanBuilder match {
> case r: SupportsPushDownFilters => ... //
> case r: SupportsPushDownV2Filters => ... //
> case f: FileScanBuilder => ... //
> case _ => (Left(Nil), filters)
> } {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