[
https://issues.apache.org/jira/browse/PHOENIX-2257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14944844#comment-14944844
]
ASF GitHub Bot commented on PHOENIX-2257:
-----------------------------------------
GitHub user chiastic-security opened a pull request:
https://github.com/apache/phoenix/pull/120
PHOENIX-2257 Fix broken integration test for query over derived GROUP…
… BY table (testDerivedTableWithGroupBy()), which worked on Java 7 but not
on Java 8.
The test was retrieving two rows from a query with no ORDER BY clause, and
assuming that they would come back in a specific order. This happened to match
the order that Java 7 returned them in, but the order has changed in Java 8.
Test fixed by not assuming any particular order.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/chiastic-security/phoenix-for-cloudera
PHOENIX-2257
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/phoenix/pull/120.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #120
----
commit 8153896211d95e93d356f96bc4015f9a836541bd
Author: James Heather <[email protected]>
Date: 2015-10-06T10:12:38Z
PHOENIX-2257 Fix broken integration test for query over derived GROUP BY
table (testDerivedTableWithGroupBy()), which worked on Java 7 but not on Java 8.
The test was retrieving two rows from a query with no ORDER BY clause, and
assuming that they would come back in a specific order. This happened to match
the order that Java 7 returned them in, but the order has changed in Java 8.
Test fixed by not assuming any particular order.
----
> Failing integration test in DerivedTableIT
> ------------------------------------------
>
> Key: PHOENIX-2257
> URL: https://issues.apache.org/jira/browse/PHOENIX-2257
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.6.0
> Environment: Ubuntu and Fedora, 64-bit Java 8
> Reporter: James Heather
> Attachments: org.apache.phoenix.end2end.DerivedTableIT-output.txt
>
>
> {code}
> Failed tests:
> DerivedTableIT.testDerivedTableWithGroupBy:320 expected:<['e']> but
> was:<['b', 'c', 'e']>
> DerivedTableIT.testDerivedTableWithGroupBy:320 expected:<['e']> but
> was:<['b', 'c', 'e']>
> {code}
> This is on a freshly cloned copy of the repo, on the master branch.
> In the output, I get a couple of {{TableInfoMissingExceptions}}, which might
> be related.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)