Hello Arnab Karmakar, Aleksandr Efimov, Noemi Pap-Takacs, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
https://gerrit.cloudera.org/25115
to look at the new patch set (#7).
Change subject: IMPALA-15548: Query option to bound HBO read time
......................................................................
IMPALA-15548: Query option to bound HBO read time
This patch adds a query option, HBO_MAX_READ_TIME_MS, to bound the time
the planner spent in reading HBO stats. 0 means no limit. Only has
effect when use_hbo_stats is true.
Once the limit is reached, the query stops reading from the HBO cache.
The planner logs a warning once per query and counts the skipped lookups
in a new frontend profile counter, HBOStats.SkippedCount.
Also adds documents for this new query option and the new profile
counters.
Testing
- Added FE unit tests
Assisted-by: Opus 4.8 (Claude Code)
Change-Id: I8f8f4f5c95844a259dd43abf79d3806fda18a152
---
M be/src/service/query-options.cc
M be/src/service/query-options.h
M common/thrift/ImpalaService.thrift
M common/thrift/Query.thrift
M docs/impala.ditamap
M docs/impala_keydefs.ditamap
A docs/topics/impala_hbo_max_read_time_ms.xml
M docs/topics/impala_history_based_optimization.xml
M docs/topics/impala_use_hbo_stats.xml
M fe/src/main/java/org/apache/impala/planner/PlanNode.java
M fe/src/main/java/org/apache/impala/service/FrontendProfile.java
M fe/src/main/java/org/apache/impala/service/HistoricalStats.java
A fe/src/test/java/org/apache/impala/planner/HboReadTimeLimitTest.java
13 files changed, 412 insertions(+), 2 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/15/25115/7
--
To view, visit https://gerrit.cloudera.org/25115
To unsubscribe, visit https://gerrit.cloudera.org/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I8f8f4f5c95844a259dd43abf79d3806fda18a152
Gerrit-Change-Number: 25115
Gerrit-PatchSet: 7
Gerrit-Owner: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Arnab Karmakar <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Noemi Pap-Takacs <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>