Skip to content

Commit

Permalink
[Pipeline](load) fix may oom in pipeline load (apache#27714)
Browse files Browse the repository at this point in the history
  • Loading branch information
HappenLee authored and 胥剑旭 committed Dec 14, 2023
1 parent 4a38b6a commit 580231a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/pipeline/exec/olap_table_sink_operator.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class OlapTableSinkOperator final : public DataSinkOperator<OlapTableSinkOperato
OlapTableSinkOperator(OperatorBuilderBase* operator_builder, DataSink* sink)
: DataSinkOperator(operator_builder, sink) {}

bool can_write() override { return true; } // TODO: need use mem_limit
bool can_write() override { return _sink->can_write(); }
};

class OlapTableSinkOperatorX;
Expand Down

0 comments on commit 580231a

Please sign in to comment.