sreemanamala commented on code in PR #16885:
URL: https://github.com/apache/druid/pull/16885#discussion_r1719408389
##########
processing/src/test/java/org/apache/druid/query/operator/window/RowsAndColumnsHelper.java:
##########
@@ -280,6 +281,17 @@ public void validate(String msgBase, Column col)
} else {
Assert.assertEquals(msg, ((Long) expectedVal).longValue(),
accessor.getLong(i));
}
+ } else if (expectedVal instanceof Object[]) {
+ Object actualVal = accessor.getObject(i);
+ if (expectedNulls[i]) {
+ Assert.assertEquals(msg, 0, actualVal);
Review Comment:
Thanks for pointing out. it was a mistake. Should have been
`Assert.assertNull(msg, accessor.getObject(i))`
will update it.
--
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]