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 <chenqi@selectdb.com>
This commit is contained in:
committed by
GitHub
parent
b4f0f6d825
commit
b707156169
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user