[
https://issues.apache.org/jira/browse/HIVE-28239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhihua Deng updated HIVE-28239:
-------------------------------
Component/s: Standalone Metastore
> Fix bug on HMSHandler#checkLimitNumberOfPartitions
> --------------------------------------------------
>
> Key: HIVE-28239
> URL: https://issues.apache.org/jira/browse/HIVE-28239
> Project: Hive
> Issue Type: Bug
> Components: Hive, Standalone Metastore
> Affects Versions: 4.0.0
> Reporter: Wechar
> Assignee: Wechar
> Priority: Major
> Labels: hive-4.0.1-merged, hive-4.0.1-must,
> pull-request-available
> Fix For: 4.1.0, 4.0.1
>
>
> {{HMSHandler#checkLimitNumberOfPartitions}} should not compare request size,
> which can cause the incorrect limit check.
> Assume that HMS configure {{metastore.limit.partition.request}} as 100, the
> client calls {{get_partitions_by_filter}} with maxParts as 101, and the
> matching partition number is 50, in this case the HMS server should not throw
> MetaException by partition limit check.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)