You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Jaehwa Jung (JIRA)" <ji...@apache.org> on 2015/07/10 04:39:04 UTC

[jira] [Created] (TAJO-1678) Create the table directory automatically when querying create external table.

Jaehwa Jung created TAJO-1678:
---------------------------------

             Summary: Create the table directory automatically when querying create external table.
                 Key: TAJO-1678
                 URL: https://issues.apache.org/jira/browse/TAJO-1678
             Project: Tajo
          Issue Type: Improvement
          Components: Catalog, planner/optimizer
            Reporter: Jaehwa Jung
            Priority: Minor


When creating an external table, if the table directory doesn't exist in the file system, tajo throws IOException.

Take this query for example:
{code:xml}
default> create external table table1 (id int, name text) using text location 'hdfs://localhost:9010/user/tajo/test1';
ERROR: hdfs://localhost:9010/user/tajo/test1 does not exist
{code}

We need to allow the table directory automatically for above case because of user's convenience. FYI, hive allows this policy.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)