liutang123 opened a new pull request, #55600: URL: https://github.com/apache/doris/pull/55600
### What problem does this PR solve? When there are many paimon splits, FE will take a long time to process the splits. 1. `PaimonScanNode` will set hadoop conf and predicates to each split: <img width="962" height="112" alt="Clipboard_Screenshot_1756816113" src="https://github.com/user-attachments/assets/7cb04a8d-12f6-4468-8635-ea1c89bf4c5c" /> The size of rpc params will be very large: <img width="366" height="142" alt="Clipboard_Screenshot_1756816345" src="https://github.com/user-attachments/assets/a9bc2950-0f65-4267-925c-321529ff535b" /> 2. Some inefficient hotspot functions: For example, `FileFormatUtils.getFileFormatBySuffix` will transform the entire path to lower case. <img width="844" height="141" alt="Clipboard_Screenshot_1756816732" src="https://github.com/user-attachments/assets/8ed8a655-36c7-4c5d-be63-a6494c81cc53" /> After this patch, when Doris 3.0 generates the query plan for a Paimon table with 400,000 splits, it will save 6 seconds of total execution time, and the size of RPC parameters will be reduced by 300 MB. Issue Number: close #xxx Related PR: #xxx Problem Summary: ### Release note None ### 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) - [ ] No need to test or manual test. Explain why: - [ ] This is a refactor/code format and no logic has been changed. - [ ] Previous test can cover this change. - [ ] No code files have been changed. - [ ] Other reason <!-- Add your reason? --> - Behavior changed: - [ ] No. - [ ] Yes. <!-- Explain the behavior change --> - Does this need documentation? - [ ] No. - [ ] Yes. <!-- Add document PR link here. eg: https://github.com/apache/doris-website/pull/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 --> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
