Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.1, 2.1.0
-
None
Description
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.
Attachments
Attachments
Issue Links
- is duplicated by
-
HIVE-20319 group by and union all always generate empty query result
- Open