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

Yang Jie resolved SPARK-59922.
------------------------------
    Resolution: Won't Fix

Not a bug: an inferred filter that carries a With already returns correct rows, 
since With has been evaluable since SPARK-58818. Inlining it repeats an 
expensive definition per reference (UDF calls in the inferred filter went 18 -> 
27 on a CASE WHEN ... BETWEEN probe with identical results) while file sources 
gain no pushdown. See 
https://github.com/apache/spark/pull/59186#issuecomment-5936869552

> Inline With definitions in filters inferred by InferFiltersFromConstraints
> --------------------------------------------------------------------------
>
>                 Key: SPARK-59922
>                 URL: https://issues.apache.org/jira/browse/SPARK-59922
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 5.0.0
>            Reporter: Yang Jie
>            Priority: Major
>              Labels: pull-request-available
>




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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to