Kikyou1997 commented on code in PR #10615:
URL: https://github.com/apache/doris/pull/10615#discussion_r916412786


##########
be/src/vec/exec/volap_scan_node.cpp:
##########
@@ -1833,4 +1842,12 @@ Status VOlapScanNode::get_hints(TabletSharedPtr table, 
const TPaloScanRange& sca
     return Status::OK();
 }
 
+void VOlapScanNode::init_output_slots() {
+    for (const auto& slot_desc : _tuple_desc->slots()) {
+        _output_slot_flags.emplace_back(_output_slot_ids.empty() ||
+                                        std::find(_output_slot_ids.begin(), 
_output_slot_ids.end(),
+                                                  slot_desc->id()) != 
_output_slot_ids.end());

Review Comment:
   Only when the slot_desc 's against output_slot_ids exists, the flag could be 
true



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to