You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Denys Kuzmenko (Jira)" <ji...@apache.org> on 2024/05/21 13:56:00 UTC
[jira] [Commented] (HIVE-28239) Fix bug on HMSHandler#checkLimitNumberOfPartitions
[ https://issues.apache.org/jira/browse/HIVE-28239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17848213#comment-17848213 ]
Denys Kuzmenko commented on HIVE-28239:
---------------------------------------
Merged to master
thanks for the patch [~wechar]!
> Fix bug on HMSHandler#checkLimitNumberOfPartitions
> --------------------------------------------------
>
> Key: HIVE-28239
> URL: https://issues.apache.org/jira/browse/HIVE-28239
> Project: Hive
> Issue Type: Bug
> Components: Hive
> Reporter: Wechar
> Assignee: Wechar
> Priority: Major
> Labels: pull-request-available
>
> {{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)