Github user JamesRTaylor commented on a diff in the pull request:
https://github.com/apache/phoenix/pull/120#discussion_r41285442
--- Diff:
phoenix-core/src/it/java/org/apache/phoenix/end2end/DerivedTableIT.java ---
@@ -313,21 +290,25 @@ public void testDerivedTableWithGroupBy() throws
Exception {
query = "SELECT DISTINCT COLLECTDISTINCT(t.b) FROM (SELECT
b_string b, a_string a FROM aTable GROUP BY a_string, b_string) AS t GROUP BY
t.a";
statement = conn.prepareStatement(query);
rs = statement.executeQuery();
- assertTrue (rs.next());
+ Set<Array> queryResults = new HashSet<>();
--- End diff --
Use BaseTest.assertValuesEqualsResultSet() instead which does the same
thing as this.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---