Quanlong Huang has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/24993 )

Change subject: IMPALA-15415: [DOCS] Documentation for HBO
......................................................................


Patch Set 3:

(6 comments)

http://gerrit.cloudera.org:8080/#/c/24993/3/docs/topics/impala_clear_hbo_stats.xml
File docs/topics/impala_clear_hbo_stats.xml:

http://gerrit.cloudera.org:8080/#/c/24993/3/docs/topics/impala_clear_hbo_stats.xml@112
PS3, Line 112:     </p>
Let's also reference impala_history_based_optimization.xml here.


http://gerrit.cloudera.org:8080/#/c/24993/1/docs/topics/impala_history_based_optimization.xml
File docs/topics/impala_history_based_optimization.xml:

http://gerrit.cloudera.org:8080/#/c/24993/1/docs/topics/impala_history_based_optimization.xml@42
PS1, Line 42:       generate an optimized query plan.</p>
            :     <p>HBO support is implemented incrementally by plan node 
types. Impala currently supports HBO
            :       for the following plan nodes:</p>
            :     <ul>
            :       <li>ScanNode</li>
            :       <li>AggregationNode</li>
            :       <li>UnionNode</li>
            :       <li
> Done
Not done yet..


http://gerrit.cloudera.org:8080/#/c/24993/2/docs/topics/impala_history_based_optimization.xml
File docs/topics/impala_history_based_optimization.xml:

http://gerrit.cloudera.org:8080/#/c/24993/2/docs/topics/impala_history_based_optimization.xml@78
PS2, Line 78:       statistics, allowing cardinality to be reused across 
queries with different partition
> nit: IGNORE_PARTITION_CONSTANTS is a strategy, not a flag.
We can just keep the first sentense "In this example, HBO provides cardinality 
estimates of 31 rows for the first scan and 365 rows for the second scan."

The following part of this paragraph is explaining the canonicalization 
strategy (EXPR_REWRITE and IGNORE_PARTITION_CONSTANTS). If you feel it hard to 
explain, we can skip them in this patch and add them later.


http://gerrit.cloudera.org:8080/#/c/24993/3/docs/topics/impala_store_hbo_stats.xml
File docs/topics/impala_store_hbo_stats.xml:

http://gerrit.cloudera.org:8080/#/c/24993/3/docs/topics/impala_store_hbo_stats.xml@50
PS3, Line 50: historical profiles
This is confusing since all queries have a profile. Maybe use "historical 
stats".


http://gerrit.cloudera.org:8080/#/c/24993/3/docs/topics/impala_store_hbo_stats.xml@59
PS3, Line 59:   </conbody>
Can we add a link to the USE_HBO_STATS page and the main HBO page?


http://gerrit.cloudera.org:8080/#/c/24993/3/docs/topics/impala_use_hbo_stats.xml
File docs/topics/impala_use_hbo_stats.xml:

http://gerrit.cloudera.org:8080/#/c/24993/3/docs/topics/impala_use_hbo_stats.xml@60
PS3, Line 60:   </conbody>
Can we add a link to the STORE_HBO_STATS page and the main HBO page?



--
To view, visit http://gerrit.cloudera.org:8080/24993
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I75fc76691ceed4e74e5c1aec3a409e1c41d4db7d
Gerrit-Change-Number: 24993
Gerrit-PatchSet: 3
Gerrit-Owner: Sanjana Malhotra <[email protected]>
Gerrit-Reviewer: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Sanjana Malhotra <[email protected]>
Gerrit-Comment-Date: Tue, 13 Oct 2026 02:00:29 +0000
Gerrit-HasComments: Yes

Reply via email to