mrhhsg commented on code in PR #63258:
URL: https://github.com/apache/doris/pull/63258#discussion_r4281754308


##########
be/src/exec/operator/exchange_sink_buffer.cpp:
##########
@@ -49,6 +49,56 @@
 
 namespace doris {
 
+void borrow_block(PBlock* src, PBlock* dst, BlockSource source) {
+    if (source == BlockSource::OWNED) {

Review Comment:
   已按建议简化:column_metas 统一改为 CopyFrom,去掉 OWNED/SHARED 的区分与 BlockSource 枚举;owner 
的 column_metas 不再被移走,只有 column_values 仍是借用的。见 963ade7。



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