You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2019/07/16 16:41:02 UTC

[jira] [Updated] (SPARK-26736) if filter condition `And` has non-determined sub function it does not do partition prunning

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

Dongjoon Hyun updated SPARK-26736:
----------------------------------
    Affects Version/s:     (was: 2.4.0)
                       3.0.0

> 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
>            Priority: Minor
>
> 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
(v7.6.14#76016)

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