Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 89FD2200B4F for ; Tue, 26 Jul 2016 18:14:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 88AB9160A75; Tue, 26 Jul 2016 16:14:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CA387160A78 for ; Tue, 26 Jul 2016 18:14:21 +0200 (CEST) Received: (qmail 75714 invoked by uid 500); 26 Jul 2016 16:14:20 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 75658 invoked by uid 99); 26 Jul 2016 16:14:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jul 2016 16:14:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8641F2C0D62 for ; Tue, 26 Jul 2016 16:14:20 +0000 (UTC) Date: Tue, 26 Jul 2016 16:14:20 +0000 (UTC) From: "Aihua Xu (JIRA)" To: dev@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-14337) Skewed table stored as DIRECTORIES throws IOException for simple query MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 26 Jul 2016 16:14:22 -0000 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)