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

HiveMetaStoreClient.listPartitionNames() does not return error for non-existent table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • API
    • None

    Description

      In the non-auth case, calling HiveMetaStoreClient.getPartitionNames() on a non-existent table returns an empty list, rather than NoSuchObjectException.

      It looks like currently all of the checking for valid table is being done at the SemanticAnalyzer level, and no such checking done in the API/metastore level.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jdere Jason Dere
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: