Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions be/src/exprs/lambda_function/lambda_function.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,14 @@ class LambdaFunction {

virtual std::string get_name() const = 0;

virtual doris::Status prepare(RuntimeState* state, const VExprSPtrs& children) {
batch_size = state->batch_size();
virtual doris::Status prepare(RuntimeState* /*state*/, const VExprSPtrs& /*children*/) {
return Status::OK();
}

virtual doris::Status execute(VExprContext* context, const doris::Block* block,
const Selector* selector, size_t count, ColumnPtr& result_column,
const DataTypePtr& result_type,
const VExprSPtrs& children) const = 0;

int batch_size;
};

using LambdaFunctionPtr = std::shared_ptr<LambdaFunction>;
Expand Down
Loading
Loading