flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sunjincheng121 <...@git.apache.org>
Subject [GitHub] flink pull request #3817: [FLINK-6428][table] Add support DISTINCT in dataSt...
Date Thu, 04 May 2017 00:40:58 GMT
GitHub user sunjincheng121 opened a pull request:


    [FLINK-6428][table] Add support DISTINCT in dataStream SQL

    With the changes of this PR. `DISTINCT` keyword can be supported `SELECT Clause`  of dataStream
    In standard database there are two situations can using `DISTINCT` keyword.
    * in `SELECT Clause`, e.g.: `SELECT DISTINCT name FROM table`
    * in `AGG Clause`, e.g.: `COUNT([ALL|DISTINCT] expression)`,`SUM([ALL|DISTINCT] expression)`,
    In this JIRA. we talk about `SELECT Clause`. With the growing elements, the limitations
tend to be back-end storage(flink state). In theory, external storage is infinitely large
(user can control and expect), this point of view, the infinite STREAM of the DISTINCT can
be supported.In addition, external storage, for example: RocksDB, the user can set the TTL
according to the actual amount of business data to ensure that external storage is working
    - [x] General
      - The pull request references the related JIRA issue ("[FLINK-6428][table] Add support
DISTINCT in dataStream SQL")
      - The pull request addresses only one issue
      - Each commit in the PR has a meaningful commit message (including the JIRA id)
    - [ ] Documentation
      - Documentation has been added for new functionality
      - Old documentation affected by the pull request has been updated
      - JavaDoc for public methods has been added
    - [x] Tests & Build
      - Functionality added by the pull request is covered by tests
      - `mvn clean verify` has been executed successfully locally or a Travis build has passed

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

    $ git pull https://github.com/sunjincheng121/flink FLINK-6428-PR

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 #3817
commit f1aaffd765f05f8b51801ae1bb66426d99480970
Author: sunjincheng121 <sunjincheng121@gmail.com>
Date:   2017-05-03T03:47:09Z

    [FLINK-6428][table] Add support DISTINCT in dataStream SQL


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