This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new b7071561691 branch-2.1: [Fix](multi-catalog)Fixed incorrect parameter
transmission when obtaining files by hms partition and incorrect parameter
transmission concurrently. #43767 (#43871)
b7071561691 is described below
commit b70715616914bd5c070f87e44f995953519384bc
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Nov 13 21:42:18 2024 +0800
branch-2.1: [Fix](multi-catalog)Fixed incorrect parameter transmission when
obtaining files by hms partition and incorrect parameter transmission
concurrently. #43767 (#43871)
Cherry-picked from #43767
Co-authored-by: Qi Chen <[email protected]>
---
.../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: [email protected]
For additional commands, e-mail: [email protected]