Timo Walther created FLINK-23707:
------------------------------------
Summary: Use consistent managed memory weights for StreamNode
Key: FLINK-23707
URL: https://issues.apache.org/jira/browse/FLINK-23707
Project: Flink
Issue Type: Sub-task
Components: Table SQL / Planner
Reporter: Timo Walther
Assignee: Timo Walther
Managed memory that is declared on transformations via
{{Transformation#declareManagedMemoryUseCaseAtOperatorScope(ManagedMemoryUseCase
managedMemoryUseCase, int weight)}} should be declared using a weight.
Usually, a weight should be some kind of factor, however, in the table planner
it is used a kibi byte value. This causes issues on the DataStream API side
that sets it to {{1}} in
{{org.apache.flink.streaming.runtime.translators.BatchExecutionUtils#applyBatchExecutionSettings}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)