Skip to content

Commit

Permalink
[hotfix] Minor fix compile in FlinkSink
Browse files Browse the repository at this point in the history
  • Loading branch information
JingsongLi committed Nov 22, 2023
1 parent 6e1b9d8 commit 351e103
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public SingleOutputStreamOperator<Committable> doWrite(
Options options = Options.fromMap(table.options());
if (options.get(SINK_USE_MANAGED_MEMORY)) {
MemorySize memorySize = options.get(SINK_MANAGED_WRITER_BUFFER_MEMORY);
written.getTransformation().declareManagedMemoryUseCaseAtSlotScope()
written.getTransformation()
.declareManagedMemoryUseCaseAtOperatorScope(
ManagedMemoryUseCase.OPERATOR, memorySize.getMebiBytes());
}
Expand Down

0 comments on commit 351e103

Please sign in to comment.