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

IHMSHandler.getTable not always fetching the right catalog

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.1
    • Component/s: Metastore
    • Labels:
      None

      Description

      IHMSHandler.get_table_core(String dbName, String tableName) fetches the catalog name from the conf.  This causes issues when doing an operation where the catalog is known and does not match the default provided in the configuration file (e.g. adding a partition).  This method should be removed and callers forced to use IHMSHandler.get_table_core(String catName, String dbName, String tableName) instead since callers will know whether they have the catalog name or not.

        Attachments

        1. HIVE-19576.1take5.patch
          3 kB
          Alan Gates
        2. HIVE-19576.1take4.patch
          3 kB
          Alan Gates
        3. HIVE-19576.1take3.patch
          3 kB
          Alan Gates
        4. HIVE-19576.1take2.patch
          3 kB
          Alan Gates
        5. HIVE-19576.patch
          3 kB
          Alan Gates

          Activity

            People

            • Assignee:
              gates Alan Gates
              Reporter:
              gates Alan Gates
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: