0AyanamiRei opened a new pull request, #65630:
URL: https://github.com/apache/doris/pull/65630

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: #64933
   
   Problem Summary: Backport the `information_schema.tables` column-pruning and 
single-pass table-status statistics optimization from #64933 to `branch-4.0`.
   
   Source merge commit: `058dfd3794aca46617766173ced5ac5574efff94`.
   
   ### Conflict resolution
   
   - Adapted the BE changes to the `branch-4.0` schema scanner layout under 
`be/src/pipeline/exec` and `be/src/exec/schema_scanner`, retaining the 
required-column collection and adding the branch-compatible 
`util/string_util.h` include.
   - `branch-4.0` predates the `LocalTablet`/`LocalReplica` split. Kept those 
classes absent and ported the single-pass normal-replica statistics logic to 
the existing `Tablet`/`Replica` model, with the corresponding test adapted to 
`TabletTest`.
   - Preserved the branch's JMockit `ExecuteEnv` setup in 
`FrontendServiceImplTest` and added only the imports and four status-pruning 
tests required by the source PR.
   - Preserved Thrift field id `10` for `required_columns`; field id `9` 
remains reserved on this maintained branch.
   
   The resulting backport retains the source behavior: lightweight projections 
skip tablet-derived status work, while full status queries compute 
row/data/index statistics in one tablet traversal.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test: No need to test (one-time Agent conflict-resolution workflow; build 
and test execution were intentionally excluded)
       - `build-support/clang-format.sh`
       - `build-support/check-format.sh`
       - `git diff HEAD^ HEAD --check`
   - 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]

Reply via email to