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. {code} 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 {code} 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 (v6.4.14#64029)