hello-stephen commented on code in PR #69706:
URL: https://github.com/apache/doris/pull/69706#discussion_r4703125780
##########
regression-test/suites/external_table_p2/maxcompute/test_max_compute_partition_prune.groovy:
##########
@@ -105,191 +101,153 @@ suite("test_max_compute_partition_prune",
"p2,external,maxcompute,external_remot
String mc_catalog_name = "test_max_compute_partition_prune"
- for (String enable_profile : ["true","false"] ) {
- sql """set enable_profile = ${enable_profile} """;
- sql """set fetch_splits_max_wait_time_ms = 10000 """;
-
- for (String num_partitions : ["1","10","100"] ) {
- sql "set num_partitions_in_batch_mode = ${num_partitions} "
Review Comment:
[P2] Keep a representative asynchronous split test
Removing this setting leaves `num_partitions_in_batch_mode` at its default
of 1024, while these fixtures have at most 10 partitions.
`MaxComputeScanNode.isBatchMode()` therefore returns false for every retained
query, so they all use synchronous `getSplits()` and never exercise
`startSplit()`'s asynchronous batching, split queue, or completion bookkeeping.
No other MaxCompute test forces that path. Keep at least one multi-partition
result check with `num_partitions_in_batch_mode=1` alongside a default-mode
check; the full parameter matrix can still be removed.
--
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]