Tzu-Li (Gordon) Tai created FLINK-21676:
-------------------------------------------
Summary: Ensure that state names are valid identifiers in the
StateFun Java SDK
Key: FLINK-21676
URL: https://issues.apache.org/jira/browse/FLINK-21676
Project: Flink
Issue Type: Improvement
Components: Stateful Functions
Reporter: Tzu-Li (Gordon) Tai
Assignee: Tzu-Li (Gordon) Tai
Fix For: statefun-3.0.0
While the Java SDK only access state via state name strings, other SDKs, like
the Python SDK, may access state as properties on the storage instance.
To ensure that users can properly access previous state after swapping
languages for their functions, we should enforce that specified state names are
valid identifiers, following the rules below:
* Must start with either an alphabet letter [a-z] / [A-Z], or an underscore "_".
* Characters other than the first, can be either an alphabet letter [a-z] /
[A-Z], a digit [0-9], or an underscore "_".
* Must not contain spaces.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)