You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2018/08/14 08:30:00 UTC

[jira] [Created] (IMPALA-7439) CREATE DATABASE creates a catalog entry with empty location field

Todd Lipcon created IMPALA-7439:
-----------------------------------

             Summary: CREATE DATABASE creates a catalog entry with empty location field
                 Key: IMPALA-7439
                 URL: https://issues.apache.org/jira/browse/IMPALA-7439
             Project: IMPALA
          Issue Type: Bug
          Components: Catalog
            Reporter: Todd Lipcon


'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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org