[
https://issues.apache.org/jira/browse/FLINK-21676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tzu-Li (Gordon) Tai closed FLINK-21676.
---------------------------------------
Resolution: Fixed
flink-statefun/master: 5e6e05b74701ec8617af966f3944a56023fd2783
> 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
> Priority: Major
> 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)