You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/02/22 14:57:02 UTC

[jira] [Commented] (FLINK-8725) Separate NFA-state from NFA in CEP library

    [ https://issues.apache.org/jira/browse/FLINK-8725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16372897#comment-16372897 ] 

ASF GitHub Bot commented on FLINK-8725:
---------------------------------------

GitHub user aljoscha opened a pull request:

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

    [FLINK-8725] Separate state from NFA in CEP library

    This also changes the serialization of state to not include the static
    NFA parts and to also not include any user code.

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

    $ git pull https://github.com/aljoscha/flink fix-flink-cep-serialization

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

    https://github.com/apache/flink/pull/5559.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 #5559
    
----
commit 6a78cb834b0c49976e384181dc1df4114ebc2576
Author: Aljoscha Krettek <al...@...>
Date:   2018-02-07T12:55:11Z

    [FLINK-8725] Separate state from NFA in CEP library
    
    This also changes the serialization of state to not include the static
    NFA parts and to also not include any user code.

----


> Separate NFA-state from NFA in CEP library
> ------------------------------------------
>
>                 Key: FLINK-8725
>                 URL: https://issues.apache.org/jira/browse/FLINK-8725
>             Project: Flink
>          Issue Type: Bug
>          Components: CEP
>    Affects Versions: 1.4.0, 1.5.0
>            Reporter: Aljoscha Krettek
>            Assignee: Aljoscha Krettek
>            Priority: Major
>
> The CEP library currently serialises the static parts of the NFA in the state for each key. This is wasteful, because that part is static and problematic because the static part can contain user code in the form of filter functions.
>  
> We should only serialise the dynamic state of the NFA (current states, seen elements).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)