Impala Public Jenkins has submitted this change and it was merged. ( https://gerrit.cloudera.org/25115 )
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 Reviewed-on: https://gerrit.cloudera.org/25115 Reviewed-by: Impala Public Jenkins <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- 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(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- 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: merged Gerrit-Change-Id: I8f8f4f5c95844a259dd43abf79d3806fda18a152 Gerrit-Change-Number: 25115 Gerrit-PatchSet: 10 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]>
