Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

I believe it would be better for Flink state to adopt the approach used in the definition of Java collection interfaces, which do not throw any checked exceptions. Additionally, there have been previous discussions about eliminating all thrown exceptions in state-related interfaces and instead providing more specific unchecked exceptions in implementations (as mentioned in Stephan Ewen's comments). Therefore, this FLIP takes these ideas into account and proposes to reorganize the state-related exceptions in a more specific and clear way.

Proposed Changes

This FLIP proposes a change to the state API that is annotated as @PublicEvolving and targets version 1.19. The main changes are:

        1. Remove all the Exception  and IOException  in signature of state-accessing interfaces

...