uchenily commented on code in PR #70688:
URL: https://github.com/apache/doris/pull/70688#discussion_r4640650806
##########
be/src/service/point_query_executor.cpp:
##########
@@ -199,6 +215,21 @@ Status Reusable::init(const TDescriptorTable& t_desc_tbl,
const std::vector<TExp
return Status::OK();
}
+Status Reusable::materialize_virtual_columns(Block* block) const {
+ if (block->rows() == 0) {
+ return Status::OK();
+ }
+
+ for (const auto& [pos, expr_ctx] : _virtual_column_exprs) {
Review Comment:
fixed
##########
be/src/service/point_query_executor.cpp:
##########
@@ -199,6 +215,21 @@ Status Reusable::init(const TDescriptorTable& t_desc_tbl,
const std::vector<TExp
return Status::OK();
}
+Status Reusable::materialize_virtual_columns(Block* block) const {
+ if (block->rows() == 0) {
+ return Status::OK();
+ }
+
+ for (const auto& [pos, expr_ctx] : _virtual_column_exprs) {
+ ColumnPtr result_column;
+ RETURN_IF_ERROR(expr_ctx->execute(block, result_column));
Review Comment:
fixed
--
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]