Quanlong Huang has posted comments on this change. ( 
https://gerrit.cloudera.org/25115 )

Change subject: IMPALA-15548: Query option to bound HBO read time
......................................................................


Patch Set 3:

(5 comments)

Thanks for the comments!

https://gerrit.cloudera.org/#/c/25115/2//COMMIT_MSG
Commit Message:

https://gerrit.cloudera.org/#/c/25115/2//COMMIT_MSG@9
PS2, Line 9: time
           : the pla
> nit: 'the' planner
Done


https://gerrit.cloudera.org/#/c/25115/2/be/src/service/query-options.h
File be/src/service/query-options.h:

https://gerrit.cloudera.org/#/c/25115/2/be/src/service/query-options.h@399
PS2, Line 399:   QUERY_OPT_FN(bottleneck_summary_max_entries, 
BOTTLENECK_SUMMARY_MAX_ENTRIES,           \
> Can we add unit tests for the new option?
I don't think we need a BE unit test for this. It's quite simple and the FE 
tests already cover it.


https://gerrit.cloudera.org/#/c/25115/2/fe/src/main/java/org/apache/impala/planner/PlanNode.java
File fe/src/main/java/org/apache/impala/planner/PlanNode.java:

https://gerrit.cloudera.org/#/c/25115/2/fe/src/main/java/org/apache/impala/planner/PlanNode.java@1235
PS2, Line 1235: The node that
              :     // crosses the threshold still finishes
> We are not testing this boundary case. I think having one such test case wo
Done


https://gerrit.cloudera.org/#/c/25115/2/fe/src/main/java/org/apache/impala/planner/PlanNode.java@1238
PS2, Line 1238:     if (limitMs > 0 && profile != null) {
> Its happening silently, can we add some debug logs when skipping HBO?
Done. Added a warning log at the first time. Also added a profile counter to 
reveal this.


https://gerrit.cloudera.org/#/c/25115/2/fe/src/test/java/org/apache/impala/planner/HboReadTimeLimitTest.java
File fe/src/test/java/org/apache/impala/planner/HboReadTimeLimitTest.java:

https://gerrit.cloudera.org/#/c/25115/2/fe/src/test/java/org/apache/impala/planner/HboReadTimeLimitTest.java@179
PS2, Line 179:     assertNotNull(second);
> Can we assert on cardinality also here?
Done



--
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: comment
Gerrit-Change-Id: I8f8f4f5c95844a259dd43abf79d3806fda18a152
Gerrit-Change-Number: 25115
Gerrit-PatchSet: 3
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: Quanlong Huang <[email protected]>
Gerrit-Comment-Date: Fri, 13 Nov 2026 08:53:25 +0000
Gerrit-HasComments: Yes

Reply via email to