[ https://issues.apache.org/jira/browse/HIVE-12812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zoltan Haindrich updated HIVE-12812: ------------------------------------ Assignee: (was: Chaoyu Tang) Status: Open (was: Patch Available) the comment have re-queued it for ptest; I'm unassigning the ticket since it's >1 year since the last change. which version of Hive are you using? mapreduce is not really recommended nowadays...and I don't think there will be another 1.x release... > 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: 2.1.0, 1.2.1 > Reporter: Chaoyu Tang > Priority: Major > Attachments: HIVE-12812.patch, 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 (v7.6.3#76005)