flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From StephanEwen <...@git.apache.org>
Subject [GitHub] flink issue #3142: [FLINK-5527][query] querying a non-existing key does not ...
Date Wed, 18 Jan 2017 11:28:59 GMT
Github user StephanEwen commented on the issue:

    In a separate change, we actually deprecated the default value in states. It does not
behave very well at runtime in many cases and we thought that it would be simpler to let the
user code handle default values.
    Can queryable state not simply return null as well? I am also not sure if the assumption
can be made that external queries want the same default value as the state updating code paths
(which frequently use the default value only as a shortcut for initializing the state).

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message