flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shixiaogang <...@git.apache.org>
Subject [GitHub] flink pull request #3305: [FLINK-5790][StateBackend] Use list types when Lis...
Date Tue, 14 Feb 2017 06:23:02 GMT
GitHub user shixiaogang opened a pull request:

    https://github.com/apache/flink/pull/3305

    [FLINK-5790][StateBackend] Use list types when ListStateDescriptor extends StateDescriptor

    1. Now the state serializer, instead of the element serializer, is stored in `ListStateDescriptor`.

    2. `ArrayListTypeInfo` is introduced to help create serializers with the element type.
    3. `ArrayListSerializer` is moved to the package org.apache.flink.api.common.typeutils.base
to avoid cyclic dependencies.
    4. Old implementation of `ListStateDescriptor` is kept in the migration package for back
compatibility.
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/alibaba/flink flink-5790

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/3305.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3305
    
----
commit e8e11b7965365178453ab6eab78c6d5ac98f3537
Author: xiaogang.sxg <xiaogang.sxg@alibaba-inc.com>
Date:   2017-02-14T05:39:30Z

    Use list types when ListStateDescriptor extends StateDescriptor

commit ba8cdc919fc2e66b3e81f6f8566140bef53a9b96
Author: xiaogang.sxg <xiaogang.sxg@alibaba-inc.com>
Date:   2017-02-14T06:22:25Z

    Support back compatibility for ListStateDescriptor

----


---
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.
---

Mime
View raw message