github-actions[bot] commented on code in PR #62435:
URL: https://github.com/apache/doris/pull/62435#discussion_r3071437329


##########
fe/fe-core/src/main/java/org/apache/doris/statistics/OlapAnalysisTask.java:
##########
@@ -328,7 +328,11 @@ protected void doFull() throws Exception {
         if (StatisticsUtil.enablePartitionAnalyze() && 
tbl.isPartitionedTable()) {

Review Comment:
   When `enable_partition_analyze` is on, this branch keeps partitioned OLAP 
tables on the old `doPartitionTable()` flow, so they never reach the new 
`FULL_ANALYZE_TEMPLATE`. That fallback still uses `PARTITION_ANALYZE_TEMPLATE` 
plus `MERGE_PARTITION_TEMPLATE`, and the merge query still hardcodes 
`hot_value` to `null`. In practice, `ANALYZE TABLE ... WITH SYNC` on a 
partitioned table will still produce no hot values, so the feature change here 
is only effective for non-partitioned tables.
   
   Please either teach the partition-analyze path how to derive/merge 
`hot_value`, or avoid routing partitioned full analyze through that path until 
the hot-value result is preserved.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to