[ 
https://issues.apache.org/jira/browse/SPARK-61378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18150059#comment-18150059
 ] 

Kousuke Saruta edited comment on SPARK-61378 at 11/24/26, 2:39 AM:
-------------------------------------------------------------------

This is fixed by SPARK-61823 and SPARK-61921 in a different way: 
InferFiltersFromConstraints no longer infers a filter over a column that can 
fail, instead of appending it after the condition. With them applied on top of 
the PR [#59940|https://github.com/apache/spark/pull/59940], the queries from 
the review of #59940 (an inferred isnotnull over a division or an ANSI cast 
following a UDF condition) succeed.


was (Author: sarutak):
This is fixed by SPARK-61823 and SPARK-61921 in a different way: 
InferFiltersFromConstraints no longer infers a filter over a column that can 
fail, instead of appending it after the condition. With them applied on top of 
the PR #59940, the queries from the review of #59940 (an inferred isnotnull 
over a division or an ANSI cast following a UDF condition) succeed.

> Add the filters that InferFiltersFromConstraints infers after the filter 
> condition
> ----------------------------------------------------------------------------------
>
>                 Key: SPARK-61378
>                 URL: https://issues.apache.org/jira/browse/SPARK-61378
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 4.2.0, 4.3.0, 4.4.0
>            Reporter: Kousuke Saruta
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to