This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch branch-3.0 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push: new 59e7ece6c72 [Fix](multi-catalog)Fixed incorrect parameter transmission when obtaining files by hms partition and incorrect parameter transmission concurrently. #43767 (#43914) 59e7ece6c72 is described below commit 59e7ece6c72991c096014365854a23a74fef2fbd Author: Mingyu Chen (Rayner) <morning...@163.com> AuthorDate: Thu Nov 14 21:41:25 2024 +0800 [Fix](multi-catalog)Fixed incorrect parameter transmission when obtaining files by hms partition and incorrect parameter transmission concurrently. #43767 (#43914) cherry pick from #43767 Co-authored-by: Qi Chen <che...@selectdb.com> --- .../main/java/org/apache/doris/datasource/hive/source/HiveScanNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/source/HiveScanNode.java b/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/source/HiveScanNode.java index dbf1ea9cd9a..e710bdb935d 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/source/HiveScanNode.java +++ b/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/source/HiveScanNode.java @@ -269,7 +269,7 @@ public class HiveScanNode extends FileQueryScanNode { fileCaches = getFileSplitByTransaction(cache, partitions, bindBrokerName); } else { boolean withCache = Config.max_external_file_cache_num > 0; - fileCaches = cache.getFilesByPartitions(partitions, withCache, withCache, bindBrokerName); + fileCaches = cache.getFilesByPartitions(partitions, withCache, partitions.size() > 1, bindBrokerName); } if (tableSample != null) { List<HiveMetaStoreCache.HiveFileStatus> hiveFileStatuses = selectFiles(fileCaches); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org