Details
Description
While executing Hive's unit tests two testcases have different outputs with Sun Java and non-Sun Java (such as IBM):
TestCliDriver and TestParse.
The differences are mainly due to the use of HashMaps on the creation of the Logical Plan on analyzeInternal method. Sun java presents the elements of a HashMap in one order, and non sun Java on a different order.
Both outputs are correct, and don't affect the final query result. I propose this patch attached to make Hive unit tests compliant with all JVMs.
The patch adds the output files and a change on ql/build.xml.