You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Aihua Xu (JIRA)" <ji...@apache.org> on 2016/07/26 16:14:20 UTC

[jira] [Created] (HIVE-14337) Skewed table stored as DIRECTORIES throws IOException for simple query

Aihua Xu created HIVE-14337:
-------------------------------

             Summary: 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
            Assignee: 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)