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)