kgyrtkirk commented on code in PR #15096:
URL: https://github.com/apache/druid/pull/15096#discussion_r1348450052
##########
sql/src/test/java/org/apache/druid/sql/calcite/BaseCalciteQueryTest.java:
##########
@@ -1056,7 +1056,7 @@ public Map<String, Object> baseQueryContext()
public void assertResultsEquals(String sql, List<Object[]> expectedResults,
List<Object[]> results)
{
- for (int i = 0; i < results.size(); i++) {
+ for (int i = 0; i < Math.min(results.size(), expectedResults.size()); i++)
{
Review Comment:
totally true :) I was hitting some exception...and was just showeling in
something before going back to that
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]