[
https://issues.apache.org/jira/browse/HIVE-14337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aihua Xu resolved HIVE-14337.
-----------------------------
Resolution: Cannot Reproduce
Assignee: (was: Aihua Xu)
We need to set {{set mapred.input.dir.recursive=true;}} to make it work.
> Skewed table stored as DIRECTORIES throws IOException for simple query
> ----------------------------------------------------------------------
>
> Key: HIVE-14337
> URL: https://issues.apache.org/jira/browse/HIVE-14337
> Project: Hive
> Issue Type: Bug
> Components: Query Planning
> Reporter: Aihua Xu
>
> CREATE TABLE list_bucket_single (key STRING, value STRING)
> SKEWED BY (key) ON (1,5,6) STORED AS DIRECTORIES;
> insert into list_bucket_single values('1', '1');
> select * from list_bucket_single;
> It will throw IOException Failed with exception
> java.io.IOException:java.io.IOException: Not a file:
> file:/user/hive/warehouse/list_bucket_single/HIVE_DEFAULT_LIST_BUCKETING_DIR_NAME.
> Seems it's not handling the folder when it's created with 'STORED AS
> DIRECTORIES'.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)