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

Apache Spark reassigned SPARK-34242:
------------------------------------

    Assignee: Apache Spark

> Use getPartitionByNames to filter partition to avoid partition scan
> -------------------------------------------------------------------
>
>                 Key: SPARK-34242
>                 URL: https://issues.apache.org/jira/browse/SPARK-34242
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 2.4.0, 3.0.0, 3.0.1
>            Reporter: haiyangyu
>            Assignee: Apache Spark
>            Priority: Major
>
> In HiveShim, `getPartitionByFilters` will lead parttion scan in special , ec: 
>  concat(dt, phour)='2021-01-26 18', the `convertFilters` can't explain this 
> case to filter partition.
> In this issue case , It will `getAllPartitionName` to fetch all partition, 
> and will calc local to filter all quafilied partition, and use 
> `getPartitionByNames` to fetch partition detail info as last.



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

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

Reply via email to