zclllyybb opened a new pull request, #63580:
URL: https://github.com/apache/doris/pull/63580
### What problem does this PR solve?
Issue Number: N/A
Related PR: #60386
Problem Summary: MultiCastDataStreamer already shares pulled blocks through
the column copy-on-write contract. The previous pull path still cloned every
column for each consumer through _copy_block(), which added unnecessary
per-consumer allocation and copy work. The copy-on-write assertion changes and
regression coverage from the original attempt are already present on current
master, so this change keeps the pull completion accounting in _finish_pull()
and returns the shared block directly.
### Release note
None
### Check List (For Author)
- Test:
- Build: ./build.sh --be --fe -j90
- Regression test: ./run-regression-test.sh --run -d query_p0/cte -s
test_cte_multicast_complex
- Format: build-support/clang-format.sh and
build-support/check-format.sh with clang-format v16
- Static analysis: build-support/run-clang-tidy.sh --base
upstream/master --build-dir be/build_ASAN
- 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]