yiguolei commented on code in PR #59005:
URL: https://github.com/apache/doris/pull/59005#discussion_r2621659231
##########
be/src/runtime/runtime_predicate.h:
##########
@@ -66,9 +67,10 @@ class RuntimePredicate {
}
RETURN_IF_ERROR(tablet_schema->have_column(_contexts[target_node_id].col_name));
_contexts[target_node_id].tablet_schema = tablet_schema;
- int64_t index = DORIS_TRY(_contexts[target_node_id].get_field_index())
- _contexts[target_node_id]
- .predicate =
SharedPredicate::create_shared(index);
+ int64_t index = DORIS_TRY(_contexts[target_node_id].get_field_index());
+ DCHECK(_contexts[target_node_id].predicate != nullptr);
+
assert_cast<SharedPredicate*>(_contexts[target_node_id].predicate.get())
+ ->set_column_id(cast_set<uint32_t>(index));
Review Comment:
这里为什么要setcolumnid?
--
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]