Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-28239

Fix bug on HMSHandler#checkLimitNumberOfPartitions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 4.1.0
    • Hive

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              wechar Wechar
              wechar Wechar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: