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

Cleanup IMetaStoreClient#getPartitionsByNames APIs

    XMLWordPrintableJSON

Details

    Description

      Currently the IMetastoreClient interface has 8 variants of the getPartitionsByNames method. Going quickly over the concrete implementation it appears that not all of them are useful/necessary so a bit of cleanup is needed.

      Below a few potential problems I observed:

      • Some of the APIs are not used anywhere in the project (neither by production nor by test code).
      • Some of the APIs are deprecated in some concrete implementations but not globally at the interface level without an explanation why.
      • Some of the implementations simply throw without doing anything.
      • Many of the APIs are partially tested or not tested at all.

      HIVE-24743, HIVE-25281 are related since they introduce/deprecate some of the aforementioned APIs.

      It would be good to review the aforementioned APIs and decide what needs to stay and what needs to go as well as complete necessary when relevant.

      Attachments

        Issue Links

          Activity

            People

              pvary Peter Vary
              zabetak Stamatis Zampetakis
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 20m
                  3h 20m