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

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

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: API
    • Labels:
      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

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

                Dates

                • Created:
                  Updated: