GitHub user liurenjie1024 opened a pull request:

    [FLINK-6968][Table API & SQL] Add Queryable table sink.

    ## What is the purpose of the change
    Streaming tables with unique key are continuously updated. For example 
queries with a non-windowed aggregation generate such tables. Commonly, such 
updating tables are emitted via an upsert table sink to an external datastore 
(k-v store, database) to make it accessible to applications.
    ## Brief change log
      - *Add a QueryableStateTableSink.*
      - *States are queryable.*
    ## Verifying this change
    This change added tests and can be verified as follows:
      - *Added test that validates that states will be stored.*
      - *Manually verified the change by running a 4 node cluser with 2 
JobManagers and 4 TaskManagers, a stateful streaming program, and use 
QueryableStateClient to test that.*
    ## Documentation
      - Does this pull request introduce a new feature? yes
      - If yes, how is the feature documented? docs

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

    $ git pull QueryableTableSink

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

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

    This closes #5688
commit 0663e550216dfef8bf205f90d5ac8a0e7e77a42b
Author: liurenjie1024 <liurenjie2008@...>
Date:   2018-03-12T07:32:44Z

    Code complete

commit 6d62d53f0bae65249ab69bddf7932e62ae1e7897
Author: liurenjie1024 <liurenjie2008@...>
Date:   2018-03-13T09:44:30Z

    Add test

commit c9ffa6ecdd638a497b60f3f063b2d352b1b98059
Author: liurenjie1024 <liurenjie2008@...>
Date:   2018-03-13T10:43:19Z

    Fix test style



Reply via email to