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 284DE200B95 for ; Tue, 13 Sep 2016 03:18:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 26DE8160AD7; Tue, 13 Sep 2016 01:18: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 90C6B160AB8 for ; Tue, 13 Sep 2016 03:18:21 +0200 (CEST) Received: (qmail 83338 invoked by uid 500); 13 Sep 2016 01:18: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 83319 invoked by uid 99); 13 Sep 2016 01:18:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2016 01:18:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A9F062C014D for ; Tue, 13 Sep 2016 01:18:20 +0000 (UTC) Date: Tue, 13 Sep 2016 01:18: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: Tue, 13 Sep 2016 01:18: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, 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)