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/01/15 19:55:08 UTC
[GitHub] [incubator-pinot] chenboat opened a new pull request #4989: Add
documentation to fields of important query execution stats.
chenboat opened a new pull request #4989: Add documentation to fields of important query execution stats.
URL: https://github.com/apache/incubator-pinot/pull/4989
1. Add documentation to fields of important query execution stats which are not clear from variable names.
2. Fix some typos.
3. Left some TODO for follow-ups documentations of query module.
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] Jackie-Jiang merged pull request #4989: Add
documentation to fields of important query execution stats.
Posted by GitBox <gi...@apache.org>.
Jackie-Jiang merged pull request #4989: Add documentation to fields of important query execution stats.
URL: https://github.com/apache/incubator-pinot/pull/4989
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] Jackie-Jiang commented on a change in pull
request #4989: Add documentation to fields of important query execution
stats.
Posted by GitBox <gi...@apache.org>.
Jackie-Jiang 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_r369180529
##########
File path: pinot-core/src/main/java/org/apache/pinot/core/operator/ExecutionStatistics.java
##########
@@ -22,8 +22,12 @@
* 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 doc ids scanned in the filtering phase of the query execution: could be larger than the total doc num
Review comment:
`The number of entries (single-value entry contains one value, multi-value entry may contain multiple values) scanned ...`
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] Jackie-Jiang commented on a change in pull
request #4989: Add documentation to fields of important query execution
stats.
Posted by GitBox <gi...@apache.org>.
Jackie-Jiang 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_r370766388
##########
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:
Last sentence also changed (multi-value entry is not the reason)
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] chenboat commented on a change in pull request
#4989: Add documentation to fields of important query execution stats.
Posted by GitBox <gi...@apache.org>.
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] Jackie-Jiang commented on a change in pull
request #4989: Add documentation to fields of important query execution
stats.
Posted by GitBox <gi...@apache.org>.
Jackie-Jiang 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_r369178479
##########
File path: pinot-core/src/main/java/org/apache/pinot/core/operator/docidsets/SizeBasedDocIdSet.java
##########
@@ -21,7 +21,7 @@
import org.apache.pinot.core.common.BlockDocIdIterator;
import org.apache.pinot.core.operator.dociditerators.SizeBasedDocIdIterator;
-
+// TODO: javadoc this class.
Review comment:
Can you change the TODO to: `Rename the class to MatchAllDocIdSet`
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] codecov-io commented on issue #4989: Add
documentation to fields of important query execution stats.
Posted by GitBox <gi...@apache.org>.
codecov-io commented on issue #4989: Add documentation to fields of important query execution stats.
URL: https://github.com/apache/incubator-pinot/pull/4989#issuecomment-574887413
# [Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=h1) Report
> Merging [#4989](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-pinot/commit/29c6b39d34d51bb4165b0be63b17a427a45ebf52?src=pr&el=desc) will **decrease** coverage by `15.35%`.
> The diff coverage is `n/a`.
[](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #4989 +/- ##
=============================================
- Coverage 51.82% 36.46% -15.36%
=============================================
Files 1176 1176
Lines 62388 62388
Branches 9167 9167
=============================================
- Hits 32331 22752 -9579
- Misses 27577 37592 +10015
+ Partials 2480 2044 -436
```
| [Impacted Files](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=tree) | Coverage Δ | Complexity Δ | |
|---|---|---|---|
| [...pache/pinot/core/operator/ExecutionStatistics.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9FeGVjdXRpb25TdGF0aXN0aWNzLmphdmE=) | `95.83% <ø> (ø)` | `0 <0> (ø)` | :arrow_down: |
| [...not/core/operator/docidsets/SizeBasedDocIdSet.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9kb2NpZHNldHMvU2l6ZUJhc2VkRG9jSWRTZXQuamF2YQ==) | `50% <ø> (ø)` | `0 <0> (ø)` | :arrow_down: |
| [...e/operator/dociditerators/SortedDocIdIterator.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9kb2NpZGl0ZXJhdG9ycy9Tb3J0ZWREb2NJZEl0ZXJhdG9yLmphdmE=) | `55.55% <ø> (ø)` | `0 <0> (ø)` | :arrow_down: |
| [.../pinot/core/operator/docidsets/BitmapDocIdSet.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9kb2NpZHNldHMvQml0bWFwRG9jSWRTZXQuamF2YQ==) | `84.37% <ø> (+6.25%)` | `0 <0> (ø)` | :arrow_down: |
| [...ator/query/DictionaryBasedAggregationOperator.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9xdWVyeS9EaWN0aW9uYXJ5QmFzZWRBZ2dyZWdhdGlvbk9wZXJhdG9yLmphdmE=) | `89.28% <ø> (ø)` | `0 <0> (ø)` | :arrow_down: |
| [.../pinot/core/operator/docidsets/SortedDocIdSet.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9kb2NpZHNldHMvU29ydGVkRG9jSWRTZXQuamF2YQ==) | `66.66% <ø> (-4.77%)` | `0 <0> (ø)` | |
| [.../org/apache/pinot/common/http/MultiGetRequest.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29tbW9uL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9jb21tb24vaHR0cC9NdWx0aUdldFJlcXVlc3QuamF2YQ==) | `0% <0%> (-100%)` | `0% <0%> (ø)` | |
| [...che/pinot/common/restlet/resources/TablesList.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29tbW9uL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9jb21tb24vcmVzdGxldC9yZXNvdXJjZXMvVGFibGVzTGlzdC5qYXZh) | `0% <0%> (-100%)` | `0% <0%> (ø)` | |
| [...che/pinot/pql/parsers/pql2/ast/OptionsAstNode.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29tbW9uL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9wcWwvcGFyc2Vycy9wcWwyL2FzdC9PcHRpb25zQXN0Tm9kZS5qYXZh) | `0% <0%> (-100%)` | `0% <0%> (ø)` | |
| [...ot/core/query/scheduler/TableBasedGroupMapper.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9xdWVyeS9zY2hlZHVsZXIvVGFibGVCYXNlZEdyb3VwTWFwcGVyLmphdmE=) | `0% <0%> (-100%)` | `0% <0%> (ø)` | |
| ... and [691 more](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=footer). Last update [29c6b39...71df3cb](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] codecov-io edited a comment on issue #4989: Add
documentation to fields of important query execution stats.
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #4989: Add documentation to fields of important query execution stats.
URL: https://github.com/apache/incubator-pinot/pull/4989#issuecomment-574887413
# [Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=h1) Report
> Merging [#4989](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-pinot/commit/29c6b39d34d51bb4165b0be63b17a427a45ebf52?src=pr&el=desc) will **decrease** coverage by `0.01%`.
> The diff coverage is `n/a`.
[](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #4989 +/- ##
===========================================
- Coverage 51.82% 51.8% -0.02%
Complexity 12 12
===========================================
Files 1176 1179 +3
Lines 62388 62763 +375
Branches 9167 9213 +46
===========================================
+ Hits 32331 32513 +182
- Misses 27577 27757 +180
- Partials 2480 2493 +13
```
| [Impacted Files](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=tree) | Coverage Δ | Complexity Δ | |
|---|---|---|---|
| [...pache/pinot/core/operator/ExecutionStatistics.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9FeGVjdXRpb25TdGF0aXN0aWNzLmphdmE=) | `95.83% <ø> (ø)` | `0 <0> (ø)` | :arrow_down: |
| [...not/core/operator/docidsets/SizeBasedDocIdSet.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9kb2NpZHNldHMvU2l6ZUJhc2VkRG9jSWRTZXQuamF2YQ==) | `50% <ø> (ø)` | `0 <0> (ø)` | :arrow_down: |
| [...e/operator/dociditerators/SortedDocIdIterator.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9kb2NpZGl0ZXJhdG9ycy9Tb3J0ZWREb2NJZEl0ZXJhdG9yLmphdmE=) | `47.22% <ø> (-8.34%)` | `0 <0> (ø)` | |
| [.../pinot/core/operator/docidsets/BitmapDocIdSet.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9kb2NpZHNldHMvQml0bWFwRG9jSWRTZXQuamF2YQ==) | `78.12% <ø> (ø)` | `0 <0> (ø)` | :arrow_down: |
| [...ator/query/DictionaryBasedAggregationOperator.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9xdWVyeS9EaWN0aW9uYXJ5QmFzZWRBZ2dyZWdhdGlvbk9wZXJhdG9yLmphdmE=) | `89.28% <ø> (ø)` | `0 <0> (ø)` | :arrow_down: |
| [.../pinot/core/operator/docidsets/SortedDocIdSet.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9kb2NpZHNldHMvU29ydGVkRG9jSWRTZXQuamF2YQ==) | `71.42% <ø> (ø)` | `0 <0> (ø)` | :arrow_down: |
| [...filter/SortedInvertedIndexBasedFilterOperator.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9maWx0ZXIvU29ydGVkSW52ZXJ0ZWRJbmRleEJhc2VkRmlsdGVyT3BlcmF0b3IuamF2YQ==) | `60% <0%> (-12%)` | `0% <0%> (ø)` | |
| [.../core/segment/index/readers/BloomFilterReader.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9zZWdtZW50L2luZGV4L3JlYWRlcnMvQmxvb21GaWx0ZXJSZWFkZXIuamF2YQ==) | `64.28% <0%> (-7.15%)` | `0% <0%> (ø)` | |
| [...apache/pinot/core/query/reduce/CombineService.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9xdWVyeS9yZWR1Y2UvQ29tYmluZVNlcnZpY2UuamF2YQ==) | `55.76% <0%> (-5.77%)` | `0% <0%> (ø)` | |
| ... and [44 more](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=footer). Last update [29c6b39...eb5716a](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] Jackie-Jiang commented on a change in pull
request #4989: Add documentation to fields of important query execution
stats.
Posted by GitBox <gi...@apache.org>.
Jackie-Jiang 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_r369180838
##########
File path: pinot-core/src/main/java/org/apache/pinot/core/operator/ExecutionStatistics.java
##########
@@ -22,8 +22,12 @@
* 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 doc ids scanned in the filtering phase of the query execution: could be larger than the total doc num
+ // because of multiple filtering predicates.
private long _numEntriesScannedInFilter;
+ // Equal to _numDocsScanned * number_of_projected_columns
Review comment:
`Equal to numDocsScanned * numProjectedColumns`
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] Jackie-Jiang commented on a change in pull
request #4989: Add documentation to fields of important query execution
stats.
Posted by GitBox <gi...@apache.org>.
Jackie-Jiang 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_r370791947
##########
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:
Oh sorry my bad, you are right. The semantic for this value changed with #4455 and I totally forgot about it...
So right now the entry has different meaning in `_numEntriesScannedInFilter` (each MV value contains multiple entries) and `_numEntriesScannedInFilter` (both SV and MV value are counted as one entry).
Can you please add a TODO to make entry semantic the same in `_numEntriesScannedInFilter` and `_numEntriesScannedInFilter`? Currently it is very misleading.
I think it might be better to add a new stats `_numValuesScannedInFilter` to replace the current `_numEntriesScannedInFilter`, but it is out of the scope of this pr.
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] Jackie-Jiang commented on a change in pull
request #4989: Add documentation to fields of important query execution
stats.
Posted by GitBox <gi...@apache.org>.
Jackie-Jiang 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_r370275890
##########
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:
The number of entries (single-value entry contains 1 **value**, multi-value entry may contain multiple **values**) **scanned** in the filtering phase of the query execution. Could be larger than the number of documents scanned because of multiple filtering predicates.
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] Jackie-Jiang commented on a change in pull
request #4989: Add documentation to fields of important query execution
stats.
Posted by GitBox <gi...@apache.org>.
Jackie-Jiang 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_r369178737
##########
File path: pinot-core/src/main/java/org/apache/pinot/core/operator/docidsets/SortedDocIdSet.java
##########
@@ -77,6 +77,7 @@ public void setEndDocId(int endDocId) {
@Override
public long getNumEntriesScannedInFilter() {
+ // TODO: explain return 0.
Review comment:
`No need to scan values when filtering with sorted index`
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] chenboat commented on a change in pull request
#4989: Add documentation to fields of important query execution stats.
Posted by GitBox <gi...@apache.org>.
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_r370815728
##########
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:
TODO added. Thanks for the clarification.
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] codecov-io edited a comment on issue #4989: Add
documentation to fields of important query execution stats.
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #4989: Add documentation to fields of important query execution stats.
URL: https://github.com/apache/incubator-pinot/pull/4989#issuecomment-574887413
# [Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=h1) Report
> Merging [#4989](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-pinot/commit/29c6b39d34d51bb4165b0be63b17a427a45ebf52?src=pr&el=desc) will **increase** coverage by `5.49%`.
> The diff coverage is `n/a`.
[](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #4989 +/- ##
============================================
+ Coverage 51.82% 57.32% +5.49%
Complexity 12 12
============================================
Files 1176 1176
Lines 62388 62388
Branches 9167 9167
============================================
+ Hits 32331 35761 +3430
+ Misses 27577 23957 -3620
- Partials 2480 2670 +190
```
| [Impacted Files](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=tree) | Coverage Δ | Complexity Δ | |
|---|---|---|---|
| [...pache/pinot/core/operator/ExecutionStatistics.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9FeGVjdXRpb25TdGF0aXN0aWNzLmphdmE=) | `95.83% <ø> (ø)` | `0 <0> (ø)` | :arrow_down: |
| [...not/core/operator/docidsets/SizeBasedDocIdSet.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9kb2NpZHNldHMvU2l6ZUJhc2VkRG9jSWRTZXQuamF2YQ==) | `50% <ø> (ø)` | `0 <0> (ø)` | :arrow_down: |
| [...e/operator/dociditerators/SortedDocIdIterator.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9kb2NpZGl0ZXJhdG9ycy9Tb3J0ZWREb2NJZEl0ZXJhdG9yLmphdmE=) | `55.55% <ø> (ø)` | `0 <0> (ø)` | :arrow_down: |
| [.../pinot/core/operator/docidsets/BitmapDocIdSet.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9kb2NpZHNldHMvQml0bWFwRG9jSWRTZXQuamF2YQ==) | `84.37% <ø> (+6.25%)` | `0 <0> (ø)` | :arrow_down: |
| [...ator/query/DictionaryBasedAggregationOperator.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9xdWVyeS9EaWN0aW9uYXJ5QmFzZWRBZ2dyZWdhdGlvbk9wZXJhdG9yLmphdmE=) | `89.28% <ø> (ø)` | `0 <0> (ø)` | :arrow_down: |
| [.../pinot/core/operator/docidsets/SortedDocIdSet.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9kb2NpZHNldHMvU29ydGVkRG9jSWRTZXQuamF2YQ==) | `71.42% <ø> (ø)` | `0 <0> (ø)` | :arrow_down: |
| [...rg/apache/pinot/core/operator/CombineOperator.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9Db21iaW5lT3BlcmF0b3IuamF2YQ==) | `66.29% <0%> (-2.25%)` | `0% <0%> (ø)` | |
| [.../pinot/core/segment/index/SegmentMetadataImpl.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9zZWdtZW50L2luZGV4L1NlZ21lbnRNZXRhZGF0YUltcGwuamF2YQ==) | `80.97% <0%> (+0.4%)` | `0% <0%> (ø)` | :arrow_down: |
| [...ment/creator/impl/SegmentColumnarIndexCreator.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9zZWdtZW50L2NyZWF0b3IvaW1wbC9TZWdtZW50Q29sdW1uYXJJbmRleENyZWF0b3IuamF2YQ==) | `88.8% <0%> (+0.72%)` | `0% <0%> (ø)` | :arrow_down: |
| [...t/creator/impl/SegmentIndexCreationDriverImpl.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9zZWdtZW50L2NyZWF0b3IvaW1wbC9TZWdtZW50SW5kZXhDcmVhdGlvbkRyaXZlckltcGwuamF2YQ==) | `86.87% <0%> (+0.77%)` | `0% <0%> (ø)` | :arrow_down: |
| ... and [211 more](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=footer). Last update [29c6b39...71df3cb](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] codecov-io edited a comment on issue #4989: Add
documentation to fields of important query execution stats.
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #4989: Add documentation to fields of important query execution stats.
URL: https://github.com/apache/incubator-pinot/pull/4989#issuecomment-574887413
# [Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=h1) Report
> Merging [#4989](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-pinot/commit/29c6b39d34d51bb4165b0be63b17a427a45ebf52?src=pr&el=desc) will **increase** coverage by `5.52%`.
> The diff coverage is `n/a`.
[](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #4989 +/- ##
============================================
+ Coverage 51.82% 57.34% +5.52%
Complexity 12 12
============================================
Files 1176 1179 +3
Lines 62388 62731 +343
Branches 9167 9204 +37
============================================
+ Hits 32331 35976 +3645
+ Misses 27577 24080 -3497
- Partials 2480 2675 +195
```
| [Impacted Files](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=tree) | Coverage Δ | Complexity Δ | |
|---|---|---|---|
| [...pache/pinot/core/operator/ExecutionStatistics.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9FeGVjdXRpb25TdGF0aXN0aWNzLmphdmE=) | `95.83% <ø> (ø)` | `0 <0> (ø)` | :arrow_down: |
| [...not/core/operator/docidsets/SizeBasedDocIdSet.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9kb2NpZHNldHMvU2l6ZUJhc2VkRG9jSWRTZXQuamF2YQ==) | `50% <ø> (ø)` | `0 <0> (ø)` | :arrow_down: |
| [...e/operator/dociditerators/SortedDocIdIterator.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9kb2NpZGl0ZXJhdG9ycy9Tb3J0ZWREb2NJZEl0ZXJhdG9yLmphdmE=) | `55.55% <ø> (ø)` | `0 <0> (ø)` | :arrow_down: |
| [.../pinot/core/operator/docidsets/BitmapDocIdSet.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9kb2NpZHNldHMvQml0bWFwRG9jSWRTZXQuamF2YQ==) | `78.12% <ø> (ø)` | `0 <0> (ø)` | :arrow_down: |
| [...ator/query/DictionaryBasedAggregationOperator.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9xdWVyeS9EaWN0aW9uYXJ5QmFzZWRBZ2dyZWdhdGlvbk9wZXJhdG9yLmphdmE=) | `89.28% <ø> (ø)` | `0 <0> (ø)` | :arrow_down: |
| [.../pinot/core/operator/docidsets/SortedDocIdSet.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9kb2NpZHNldHMvU29ydGVkRG9jSWRTZXQuamF2YQ==) | `71.42% <ø> (ø)` | `0 <0> (ø)` | :arrow_down: |
| [...apache/pinot/common/metrics/ValidationMetrics.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29tbW9uL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9jb21tb24vbWV0cmljcy9WYWxpZGF0aW9uTWV0cmljcy5qYXZh) | `47.45% <0%> (-28.82%)` | `0% <0%> (ø)` | |
| [...rg/apache/pinot/core/operator/CombineOperator.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9Db21iaW5lT3BlcmF0b3IuamF2YQ==) | `66.29% <0%> (-2.25%)` | `0% <0%> (ø)` | |
| [...mon/request/transform/TransformExpressionTree.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29tbW9uL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9jb21tb24vcmVxdWVzdC90cmFuc2Zvcm0vVHJhbnNmb3JtRXhwcmVzc2lvblRyZWUuamF2YQ==) | `77.27% <0%> (-1.76%)` | `0% <0%> (ø)` | |
| [...org/apache/pinot/spi/plugin/PluginClassLoader.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvcGx1Z2luL1BsdWdpbkNsYXNzTG9hZGVyLmphdmE=) | `24.52% <0%> (-1.4%)` | `0% <0%> (ø)` | |
| ... and [228 more](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=footer). Last update [29c6b39...9be4b4e](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] Jackie-Jiang commented on a change in pull
request #4989: Add documentation to fields of important query execution
stats.
Posted by GitBox <gi...@apache.org>.
Jackie-Jiang 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_r369173071
##########
File path: pinot-core/src/main/java/org/apache/pinot/core/operator/dociditerators/SortedDocIdIterator.java
##########
@@ -24,14 +24,12 @@
public final class SortedDocIdIterator implements IndexBasedDocIdIterator {
- /**
- *
- */
private List<IntPair> pairs;
private String datasourceName;
/**
- * @param sortedDocIdSet
+ * @param datasourceName
Review comment:
Remove the empty javadoc?
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] codecov-io edited a comment on issue #4989: Add
documentation to fields of important query execution stats.
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #4989: Add documentation to fields of important query execution stats.
URL: https://github.com/apache/incubator-pinot/pull/4989#issuecomment-574887413
# [Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=h1) Report
> Merging [#4989](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-pinot/commit/29c6b39d34d51bb4165b0be63b17a427a45ebf52?src=pr&el=desc) will **increase** coverage by `5.21%`.
> The diff coverage is `n/a`.
[](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #4989 +/- ##
============================================
+ Coverage 51.82% 57.03% +5.21%
Complexity 12 12
============================================
Files 1176 1179 +3
Lines 62388 62763 +375
Branches 9167 9213 +46
============================================
+ Hits 32331 35799 +3468
+ Misses 27577 24345 -3232
- Partials 2480 2619 +139
```
| [Impacted Files](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=tree) | Coverage Δ | Complexity Δ | |
|---|---|---|---|
| [...pache/pinot/core/operator/ExecutionStatistics.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9FeGVjdXRpb25TdGF0aXN0aWNzLmphdmE=) | `95.83% <ø> (ø)` | `0 <0> (ø)` | :arrow_down: |
| [...not/core/operator/docidsets/SizeBasedDocIdSet.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9kb2NpZHNldHMvU2l6ZUJhc2VkRG9jSWRTZXQuamF2YQ==) | `50% <ø> (ø)` | `0 <0> (ø)` | :arrow_down: |
| [...e/operator/dociditerators/SortedDocIdIterator.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9kb2NpZGl0ZXJhdG9ycy9Tb3J0ZWREb2NJZEl0ZXJhdG9yLmphdmE=) | `55.55% <ø> (ø)` | `0 <0> (ø)` | :arrow_down: |
| [.../pinot/core/operator/docidsets/BitmapDocIdSet.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9kb2NpZHNldHMvQml0bWFwRG9jSWRTZXQuamF2YQ==) | `84.37% <ø> (+6.25%)` | `0 <0> (ø)` | :arrow_down: |
| [...ator/query/DictionaryBasedAggregationOperator.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9xdWVyeS9EaWN0aW9uYXJ5QmFzZWRBZ2dyZWdhdGlvbk9wZXJhdG9yLmphdmE=) | `89.28% <ø> (ø)` | `0 <0> (ø)` | :arrow_down: |
| [.../pinot/core/operator/docidsets/SortedDocIdSet.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9kb2NpZHNldHMvU29ydGVkRG9jSWRTZXQuamF2YQ==) | `71.42% <ø> (ø)` | `0 <0> (ø)` | :arrow_down: |
| [...org/apache/pinot/broker/queryquota/HitCounter.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtYnJva2VyL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9icm9rZXIvcXVlcnlxdW90YS9IaXRDb3VudGVyLmphdmE=) | `92.3% <0%> (-7.7%)` | `0% <0%> (ø)` | |
| [...rg/apache/pinot/core/operator/CombineOperator.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcGlub3QvY29yZS9vcGVyYXRvci9Db21iaW5lT3BlcmF0b3IuamF2YQ==) | `66.29% <0%> (-2.25%)` | `0% <0%> (ø)` | |
| [...ot/parsers/utils/BrokerRequestComparisonUtils.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29tbW9uL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9wYXJzZXJzL3V0aWxzL0Jyb2tlclJlcXVlc3RDb21wYXJpc29uVXRpbHMuamF2YQ==) | `23.92% <0%> (-2.2%)` | `0% <0%> (ø)` | |
| [...n/src/main/java/org/apache/pinot/common/Utils.java](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree#diff-cGlub3QtY29tbW9uL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9jb21tb24vVXRpbHMuamF2YQ==) | `57.44% <0%> (-2.13%)` | `0% <0%> (ø)` | |
| ... and [219 more](https://codecov.io/gh/apache/incubator-pinot/pull/4989/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=footer). Last update [29c6b39...94017b3](https://codecov.io/gh/apache/incubator-pinot/pull/4989?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] Jackie-Jiang commented on a change in pull
request #4989: Add documentation to fields of important query execution
stats.
Posted by GitBox <gi...@apache.org>.
Jackie-Jiang 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_r369179369
##########
File path: pinot-core/src/main/java/org/apache/pinot/core/operator/docidsets/SizeBasedDocIdSet.java
##########
@@ -49,6 +49,7 @@ public void setEndDocId(int endDocId) {
@Override
public long getNumEntriesScannedInFilter() {
+ // TODO explain why return 0.
Review comment:
`No need to scan values when all values match the filter`
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] Jackie-Jiang commented on a change in pull
request #4989: Add documentation to fields of important query execution
stats.
Posted by GitBox <gi...@apache.org>.
Jackie-Jiang 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_r370276146
##########
File path: pinot-core/src/main/java/org/apache/pinot/core/operator/docidsets/SizeBasedDocIdSet.java
##########
@@ -21,7 +21,7 @@
import org.apache.pinot.core.common.BlockDocIdIterator;
import org.apache.pinot.core.operator.dociditerators.SizeBasedDocIdIterator;
-
+// Rename this class to MatchAllDocIdSet.
Review comment:
Add `TODO: `
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] Jackie-Jiang commented on a change in pull
request #4989: Add documentation to fields of important query execution
stats.
Posted by GitBox <gi...@apache.org>.
Jackie-Jiang 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_r369176879
##########
File path: pinot-core/src/main/java/org/apache/pinot/core/operator/docidsets/BitmapDocIdSet.java
##########
@@ -79,6 +79,7 @@ public void setEndDocId(int endDocId) {
@Override
public long getNumEntriesScannedInFilter() {
+ // TODO: explain why there is no entries scanned in this filter.
Review comment:
`No need to scan values when filtering with inverted index`
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] Jackie-Jiang commented on a change in pull
request #4989: Add documentation to fields of important query execution
stats.
Posted by GitBox <gi...@apache.org>.
Jackie-Jiang 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_r370276395
##########
File path: pinot-core/src/main/java/org/apache/pinot/core/operator/docidsets/SizeBasedDocIdSet.java
##########
@@ -49,6 +49,7 @@ public void setEndDocId(int endDocId) {
@Override
public long getNumEntriesScannedInFilter() {
+ // No value scanned because all docs are matches and will be returned.
Review comment:
`matched`
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org