mapjoin_subquery dump two small table to the same file -------------------------------------------------------
Key: HIVE-2466 URL: https://issues.apache.org/jira/browse/HIVE-2466 Project: Hive Issue Type: Bug Components: Query Processor Affects Versions: 0.7.1 Reporter: binlijin Priority: Critical Fix For: 0.8.0 in mapjoin_subquery.q there is a query: SELECT /*+ MAPJOIN(z) */ subq.key1, z.value FROM (SELECT /*+ MAPJOIN(x) */ x.key as key1, x.value as value1, y.key as key2, y.value as value2 FROM src1 x JOIN src y ON (x.key = y.key)) subq JOIN srcpart z ON (subq.key1 = z.key and z.ds='2008-04-08' and z.hr=11); when dump x and z to a local file,there all dump to the same file, so we lost the data of x -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira