Timo Walther created FLINK-40708:
------------------------------------
Summary: Support ValueView in PTFs
Key: FLINK-40708
URL: https://issues.apache.org/jira/browse/FLINK-40708
Project: Flink
Issue Type: Sub-task
Components: Table SQL / API, Table SQL / Planner, Table SQL / Runtime
Reporter: Timo Walther
Assignee: Timo Walther
The API proposed in FLIP-440 makes it very easy and intuitive for developers to
declare and use value state, including defining a default initial value.
However, state access in PTF is more complex and not every state entry needs to
be read and/or updated. For future optimizations such as lazy deserialization
or avoiding no-op serialization, a “supplier-like“ pattern should be promoted
for optimal performance.
This FLIP proposes the introduction of a ValueView that follows the design
principles of MapView and ListView and adopts ValueState interfaces from
DataStream API.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)