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

Takeshi Yamamuro resolved SPARK-26736.
--------------------------------------
    Fix Version/s: 3.0.0
         Assignee: Takeshi Yamamuro
       Resolution: Fixed

Resolved by https://github.com/apache/spark/pull/27219

> if filter condition `And` has non-determined sub function it does not do 
> partition prunning
> -------------------------------------------------------------------------------------------
>
>                 Key: SPARK-26736
>                 URL: https://issues.apache.org/jira/browse/SPARK-26736
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: roncenzhao
>            Assignee: Takeshi Yamamuro
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> Example:
> A  partitioned table definition:
> _create table test(id int) partitioned by (dt string);_
> The following sql does not do partition prunning:
> _select * from test where dt='20190101' and rand() < 0.5;_
>  
> I think it should do partition prunning in this case.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to