Skip to content

Commit

Permalink
[Fix](multi-catalog)Fixed incorrect parameter transmission when obtai…
Browse files Browse the repository at this point in the history
…ning files by hms partition and incorrect parameter transmission concurrently. (#43767)

### What problem does this PR solve?

Problem Summary:

### Release note

Fixed incorrect parameter transmission when obtaining files by hms
partition and incorrect parameter transmission concurrently.
This is probably a clerical error, and the current test can cover it.

### Check List (For Author)

- Test <!-- At least one of them must be included. -->
    - [ ] Regression test
    - [ ] Unit Test
    - [ ] Manual test (add detailed scripts or steps below)
    - [x] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
        - [x] Previous test can cover this change.
        - [ ] No code files have been changed.
        - [] Other reason: 

- Behavior changed:
    - [x] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?
    - [x] No.
- [ ] Yes. <!-- Add document PR link here. eg:
apache/doris-website#1214 -->

### Check List (For Reviewer who merge this PR)

- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
  • Loading branch information
kaka11chen authored and Your Name committed Nov 13, 2024
1 parent 6ecd55f commit 0cefe7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ private void getFileSplitByPartitions(HiveMetaStoreCache cache, List<HivePartiti
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);
Expand Down

0 comments on commit 0cefe7a

Please sign in to comment.