This is an automated email from the ASF dual-hosted git repository.

jackie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new 263f4f6c01 Fix a typo when calculating query freshness (#12947)
263f4f6c01 is described below

commit 263f4f6c0122c18fbd46bcfb62b74aed5cfc186e
Author: Xiaotian (Jackie) Jiang <[email protected]>
AuthorDate: Wed Apr 17 10:55:54 2024 -0700

    Fix a typo when calculating query freshness (#12947)
---
 .../org/apache/pinot/core/query/executor/ServerQueryExecutorV1Impl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/pinot-core/src/main/java/org/apache/pinot/core/query/executor/ServerQueryExecutorV1Impl.java
 
b/pinot-core/src/main/java/org/apache/pinot/core/query/executor/ServerQueryExecutorV1Impl.java
index 82664cd57f..3e61bebf36 100644
--- 
a/pinot-core/src/main/java/org/apache/pinot/core/query/executor/ServerQueryExecutorV1Impl.java
+++ 
b/pinot-core/src/main/java/org/apache/pinot/core/query/executor/ServerQueryExecutorV1Impl.java
@@ -327,7 +327,7 @@ public class ServerQueryExecutorV1Impl implements 
QueryExecutor {
       }
       long minConsumingFreshnessTimeMs = 0;
       if (minIngestionTimeMs != Long.MAX_VALUE) {
-        minConsumingFreshnessTimeMs = minIndexTimeMs;
+        minConsumingFreshnessTimeMs = minIngestionTimeMs;
       } else if (minIndexTimeMs != Long.MAX_VALUE) {
         minConsumingFreshnessTimeMs = minIndexTimeMs;
       } else if (maxEndTimeMs != Long.MIN_VALUE) {


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

Reply via email to