github-actions[bot] commented on code in PR #62766:
URL: https://github.com/apache/doris/pull/62766#discussion_r3135747727
##########
regression-test/suites/nereids_rules_p0/mv/union_rewrite/partition_curd_union_rewrite.groovy:
##########
@@ -195,9 +195,11 @@ suite ("partition_curd_union_rewrite") {
"""
// wait partition is invalid
sleep(5000)
- mv_rewrite_success(all_partition_sql, mv_name)
+ mv_rewrite_success(all_partition_sql, mv_name,
Review Comment:
This still leaves the test flaky in cloud mode. The new
`is_partition_statistics_ready(...)` argument only weakens the
`mv_rewrite_success()` explain check; it does not wait for the MV partition
itself to become invalid before `compare_res()` runs. The analogous tests in
`partition_mv_rewrite.groovy` and `union_rewrite_grace_big.groovy` call
`waitingPartitionIsExpected(...)` here instead of sleeping a fixed 3-5 seconds.
Without that wait, the rewritten query can still race with invalidation for
`p_20231017_20231018` here, and the same issue applies to the later
`2023-10-21` insert/drop blocks too.
--
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]