Skip to content

Commit

Permalink
[fix](sink) add writting restriction for OlapTableSinkV2Operator (apa…
Browse files Browse the repository at this point in the history
  • Loading branch information
TangSiyang2001 authored and HappenLee committed Jan 12, 2024
1 parent 69802da commit 773c932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/pipeline/exec/olap_table_sink_v2_operator.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class OlapTableSinkV2Operator final : public DataSinkOperator<vectorized::VOlapT
OlapTableSinkV2Operator(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 OlapTableSinkV2OperatorX;
Expand Down

0 comments on commit 773c932

Please sign in to comment.