shuke987 opened a new pull request, #65124:
URL: https://github.com/apache/doris/pull/65124

   ## Proposed changes
   
   `partition_key_minmax` checks partition-pruned memo-plan statistics. In 
Cloud P0, this case can run the `EXPLAIN` before the physical index row count 
has finished reporting after insert/analyze. When that happens, the planner's 
selected-partition row count can be `0`, so the existing `ndv/count` assertions 
fail even though the partition-key `min/max` is already correct.
   
   This patch keeps the existing `EXPLAIN` assertions and adds a bounded wait 
for the base index strict row count via `show index stats <table> <index>` 
before running each memo-plan check.
   
   ## Testing
   
   - `git diff --check`
   
   No local regression environment was allocated in this session, so the 
targeted regression case was not run locally.
   


-- 
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