Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public String getNodeExplainString(String prefix, TExplainLevel detailLevel) {
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
}
}
Expand Down