[
https://issues.apache.org/jira/browse/SPARK-34242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17271997#comment-17271997
]
Apache Spark commented on SPARK-34242:
--------------------------------------
User 'seayoun' has created a pull request for this issue:
https://github.com/apache/spark/pull/31343
> 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
> 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]