You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Chaoyu Tang (JIRA)" <ji...@apache.org> on 2016/01/08 21:00:40 UTC

[jira] [Created] (HIVE-12812) Enable mapred.input.dir.recursive by default to support union with aggregate function

Chaoyu Tang created HIVE-12812:
----------------------------------

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


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)