You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Joey Echeverria (JIRA)" <ji...@apache.org> on 2014/08/06 20:04:22 UTC

[jira] [Created] (HIVE-7633) Warehouse#getTablePath() doesn't handle external tables

Joey Echeverria created HIVE-7633:
-------------------------------------

             Summary: Warehouse#getTablePath() doesn't handle external tables
                 Key: HIVE-7633
                 URL: https://issues.apache.org/jira/browse/HIVE-7633
             Project: Hive
          Issue Type: Bug
    Affects Versions: 0.13.0
            Reporter: Joey Echeverria


Warehouse#getTablePath() takes a DB and a table name. This means it will generate the wrong path for external tables. This can cause a problem if you have an external table on the local file system and HDFS is not currently running when trying to gather statistics.

getTablePath() should take in the table and see if it's external and has a location before just assuming it's a managed table.



--
This message was sent by Atlassian JIRA
(v6.2#6252)