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


##########
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:
   message PColumnMeta {
       message Decimal {
           optional uint32 precision = 1;
           optional uint32 scale = 2;
       }
       optional string name = 1 [default = ""];
       optional PGenericType.TypeId type = 2 [default = UNKNOWN];
       optional bool is_nullable = 3 [default = false];
       optional Decimal decimal_param = 4;
       repeated PColumnMeta children = 5;
       optional bool result_is_nullable = 6;
       optional string function_name = 7;
       optional int32 be_exec_version = 8;
       optional segment_v2.ColumnPathInfo column_path = 9;
       optional int32 variant_max_subcolumns_count = 10 [default = 0];
       optional bool variant_enable_doc_mode = 11 [default = false];
       optional bool variant_is_v2 = 12 [default = false];
   }
   
   message PBlock {
       repeated PColumnMeta column_metas = 1;



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