forked from apache/doris
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix](profile) When all preds are always_true, input rows not be coun…
…ted in the profile. (apache#42998) ## Proposed changes In the past, if the predicate came from a runtime filter (e.g., MinMaxFilter), it could trigger the all_pred_always_true logic in _evaluate_vectorization_predicate. before ``` - ScanRows: 399.864K (399864) - RowsShortCircuitPredFiltered: 378.582K (378582) - RowsShortCircuitPredInput: 399.862K (399862) - RowsVectorPredFiltered: 2 - RowsVectorPredInput: 12.192K (12192) ``` now ``` - ScanRows: 399.864K (399864) - RowsShortCircuitPredFiltered: 378.582K (378582) - RowsShortCircuitPredInput: 399.862K (399862) - RowsVectorPredFiltered: 2 - RowsVectorPredInput: 399.864K (399864) ``` This could result in missing statistics for some input rows. This PR also modifies some of the previous logic.
- Loading branch information
Showing
6 changed files
with
27 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters