HappenLee opened a new pull request, #68177: URL: https://github.com/apache/doris/pull/68177
### What problem does this PR solve? Issue Number: None Related PR: #68011 Problem Summary: The FE constant-folding implementation of `parse_url(..., 'QUERY')` already locates the first `#` in the URL, but then creates a suffix string and scans that suffix for `#` again. This repeats work and, when a fragment exists, temporarily copies the fragment even though its end position is already known. Reuse the existing query and fragment boundaries to extract the result directly. The returned values and NULL/empty-string behavior are unchanged. ### Release note None ### Check List (For Author) - Test: No need to test (small allocation and scan reduction; no behavior change) - Behavior changed: No - Does this need documentation: No -- 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]
