hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shivram Mani (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HAWQ-1536) pxf-json unit test failure due to json list comparison
Date Mon, 09 Oct 2017 21:18:03 GMT
Shivram Mani created HAWQ-1536:

             Summary: pxf-json unit test failure due to json list comparison
                 Key: HAWQ-1536
                 URL: https://issues.apache.org/jira/browse/HAWQ-1536
             Project: Apache HAWQ
          Issue Type: Bug
          Components: PXF
            Reporter: Shivram Mani
            Assignee: Ed Espino

We see the following error while unit testing PXF JSON profile on certain environments.
org.apache.hawq.pxf.plugins.json.parser.PartitionedJsonParserNoSeekTest > testNoSeek FAILED
    org.junit.ComparisonFailure at PartitionedJsonParserNoSeekTest.java:71

16 tests completed, 1 failed
:pxf-json:test FAILED
The reason for the failure is since the List of elements in the JSON data seems to be different
from the expected response. In non GCP environments the parser always returned objects in
the same order as it appeared in the RAW JSON file. On the GCP environment that doesn't seem
to be the case. This could be related to the JVM version or the jackson library version.

Will be fixing the unit test to not have any order order expectation in the results returned

This message was sent by Atlassian JIRA

View raw message