bp #40969
This commit is contained in:
@ -131,7 +131,7 @@ public abstract class FileScanNode extends ExternalScanNode {
|
||||
output.append(prefix).append("partition=").append(selectedPartitionNum).append("/").append(totalPartitionNum)
|
||||
.append("\n");
|
||||
|
||||
if (detailLevel == TExplainLevel.VERBOSE) {
|
||||
if (detailLevel == TExplainLevel.VERBOSE && !isBatchMode()) {
|
||||
output.append(prefix).append("backends:").append("\n");
|
||||
Multimap<Long, TFileRangeDesc> scanRangeLocationsMap = ArrayListMultimap.create();
|
||||
// 1. group by backend id
|
||||
|
||||
@ -91,7 +91,16 @@ suite("test_hive_partitions", "p0,external,hive,external_docker,external_docker_
|
||||
|
||||
q01()
|
||||
|
||||
sql """drop catalog if exists ${catalog_name}"""
|
||||
sql """set num_partitions_in_batch_mode=1"""
|
||||
explain {
|
||||
sql ("select * from partition_table")
|
||||
verbose (true)
|
||||
|
||||
contains "(approximate)inputSplitNum=60"
|
||||
}
|
||||
sql """unset variable num_partitions_in_batch_mode"""
|
||||
|
||||
// sql """drop catalog if exists ${catalog_name}"""
|
||||
} finally {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user