yy782 opened a new pull request, #71109:
URL: https://github.com/apache/doris/pull/71109

   ### Background
   
   Several places in Doris BE still carry code that was explicitly marked 
`deprecated` or "Not used any more" after earlier refactors or feature 
removals. These stale leftovers were never cleaned up.
   
   ### What problem does this PR solve?
   
   Issue Number: None
   Related PR: None
   PR Type: Refactor
   
   Problem Summary:
   These unused, clearly-marked pieces raise maintenance cost and make the 
codebase harder to navigate. Removing them keeps the repo lean.
   
   ### Details
   
   - **Behavior change:** None intended. Every item was verified with a 
full-repo grep — zero external references, or only comment-only call sites.
   - **Compatibility:** None changed. No Thrift/Proto structs, persisted 
formats, logs, or metrics touched.
   - **Performance impact:** None expected. Deletions only, no new code path.
   - **Rollback:** plain revert is safe.
   
   ### What was removed
   
   - `descriptors.{h,cpp}`: 6 deprecated members and getters in 
MaxComputeTableDescriptor (`_region`, `_odps_url`, `_tunnel_url`, 
`_access_key`, `_secret_key`, `_public_access`). Fallback path now reads 
directly from `tdesc.mcTable`. Also removes a commented-out dead block in 
`TupleDescriptor::debug_string()`.
   - `hdfs_builder.{h,cpp}`: deprecated `set_kerberos_ticket_cache()`, whose 
body was entirely comments and whose only call site was already commented out.
   - `olap_common.h`: `OlapReaderStatistics::block_seek_num` and 
`block_seek_ns`, marked "Not used any more".
   - `result_sink_operator.h`: deprecated fields in `ResultFileOptions` 
(`is_local_file`, `schema`, `file_properties`, `is_refactor_before_flag`) and 
the now-unused `_file_opts` member on `ResultSinkOperator`.
   
   ### Testing
   
   - Full-repo grep per removed symbol, zero references confirmed.
   - `clang-format` passed.
   - build passed.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Behavior changed: No
   - Does this need documentation: No
   - Pre-submission status: Partially verified (static grep + formatting; build 
passed)
   
   ### AI Disclosure
   
   - Tool: DeepSeek V4 Pro
   - Generated: code deletions, reference verification, this PR description
   - Human review: submitter reviewed every diff file by file
   


-- 
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