chenboat commented on a change in pull request #4989: Add documentation to 
fields of important query execution stats.
URL: https://github.com/apache/incubator-pinot/pull/4989#discussion_r370781673
 
 

 ##########
 File path: 
pinot-core/src/main/java/org/apache/pinot/core/operator/ExecutionStatistics.java
 ##########
 @@ -22,8 +22,13 @@
  * The <code>ExecutionStatistics</code> class contains the operator statistics 
during execution time.
  */
 public class ExecutionStatistics {
+  // The number of documents scanned post filtering.
   private long _numDocsScanned;
+  // The number of entries (single value entry contains 1 entry, multi-value 
entry may contain multiple entries) in the
+  // filtering phase of the query execution: could be larger than the total 
scanned doc num because of multiple
+  // filtering predicates and multi-value entry.
 
 Review comment:
   I thought one reason why number_of_entries_scanned > number_of_doc_scanned 
is that for a multi-value entry, each value in it could count as one entry 
scanned. Is it right?  

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to