Renata Ghisloti Duarte de Souza created HIVE-4565:
-----------------------------------------------------

             Summary: TestCliDriver and TestParse fail with non Sun Java
                 Key: HIVE-4565
                 URL: https://issues.apache.org/jira/browse/HIVE-4565
             Project: Hive
          Issue Type: Bug
          Components: Tests
    Affects Versions: 0.11.0
         Environment: RedHat x86 IBM Java 6
            Reporter: Renata Ghisloti Duarte de Souza
            Priority: Minor
             Fix For: 0.11.0


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to