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 1CC33200B3E for ; Wed, 7 Sep 2016 20:45:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1B965160AC1; Wed, 7 Sep 2016 18:45: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 8A899160ABF for ; Wed, 7 Sep 2016 20:45:21 +0200 (CEST) Received: (qmail 49744 invoked by uid 500); 7 Sep 2016 18:45:20 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 49727 invoked by uid 99); 7 Sep 2016 18:45:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Sep 2016 18:45:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A81E12C0059 for ; Wed, 7 Sep 2016 18:45:20 +0000 (UTC) Date: Wed, 7 Sep 2016 18:45:20 +0000 (UTC) From: "Chaoyu Tang (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-12812) Enable mapred.input.dir.recursive by default to support union with aggregate function MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 07 Sep 2016 18:45:22 -0000 [ https://issues.apache.org/jira/browse/HIVE-12812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chaoyu Tang updated HIVE-12812: ------------------------------- Attachment: HIVE-12812.patch > Enable mapred.input.dir.recursive by default to support union with aggregate function > ------------------------------------------------------------------------------------- > > Key: HIVE-12812 > URL: https://issues.apache.org/jira/browse/HIVE-12812 > Project: Hive > Issue Type: Bug > Components: Hive > Affects Versions: 1.2.1, 2.1.0 > Reporter: Chaoyu Tang > Assignee: Chaoyu Tang > Attachments: HIVE-12812.patch > > > When union remove optimization is enabled, union query with aggregate function writes its subquery intermediate results to subdirs which needs mapred.input.dir.recursive to be enabled in order to be fetched. This property is not defined by default in Hive and often ignored by user, which causes the query failure and is hard to be debugged. > So we need set mapred.input.dir.recursive to true whenever union remove optimization is enabled. -- This message was sent by Atlassian JIRA (v6.3.4#6332)