You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2020/08/21 17:41:58 UTC

[GitHub] [incubator-pinot] npawar commented on a change in pull request #5892: Expose ResultSetStats in the Pinot client's ResultSetGroup

npawar commented on a change in pull request #5892:
URL: https://github.com/apache/incubator-pinot/pull/5892#discussion_r474837978



##########
File path: pinot-clients/pinot-java-client/src/test/java/org/apache/pinot/client/ResultSetGroupTest.java
##########
@@ -55,11 +55,15 @@ public void testDeserializeSelectionResultSet() {
     Assert.assertEquals(resultSet.getColumnCount(), 79);
     Assert.assertEquals(resultSet.getColumnName(0), "ActualElapsedTime");
     Assert.assertEquals(resultSet.getColumnName(1), "AirTime");
+
+    // Verify the execution stats.
+    Assert.assertEquals(115545, resultSetGroup.getExecutionStats().getTotalDocs());
+    Assert.assertEquals(82, resultSetGroup.getExecutionStats().getTimeUsedMs());

Review comment:
       How are we getting this fixed time of 82 for the test?




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org