Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7439

CREATE DATABASE creates a catalog entry with empty location field

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Impala 3.1.0
    • Catalog
    • None
    • ghx-label-6

    Description

      'create database foobar' followed by 'describe database foobar' shows no location field for the newly created DB. If you then invalidate metadata, it will load the proper location upon a reload.

      It seems that the code for CREATE TABLE is currently working around this as ImpaladCatalog.getTablePath() actually ignores the location stored in the catalog entry and instead goes directly to the HMS to get the database location. It seems we should probably populate the catalog entry correctly upon creation.

      Attachments

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: