[jira] [Commented] (FLINK-6544) Expose State Backend Interface for UDAGG
[ https://issues.apache.org/jira/browse/FLINK-6544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16756175#comment-16756175 ] Kurt Young commented on FLINK-6544: --- I'm closing this issue since it will be addressed after blink gets merged. > Expose State Backend Interface for UDAGG > > > Key: FLINK-6544 > URL: https://issues.apache.org/jira/browse/FLINK-6544 > Project: Flink > Issue Type: Improvement > Components: Table API SQL >Reporter: kaibo.zhou >Assignee: kaibo.zhou >Priority: Major > > Currently UDAGG users can not access state, it's necessary to provide users > with a convenient and efficient way to access the state within the UDAGG. > This is the design doc: > https://docs.google.com/document/d/1g-wHOuFj5pMaYMJg90kVIO2IHbiQiO26nWscLIOn50c/edit# > Proposed Changes: > 1. Implementation of DataView to support state access for UDAGG > 2. Support getAccumulatorType when use DataView > 3. Refactor build-in agg(MaxWithRetractAccumulator and > MinWithRetractAccumulator) using the DataView > 4. Support DataView in Java and Scala Tuples and Case classes or as the > accumulator of AggregateFunction itself. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (FLINK-6544) Expose State Backend Interface for UDAGG
[ https://issues.apache.org/jira/browse/FLINK-6544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16089489#comment-16089489 ] Kaibo Zhou commented on FLINK-6544: --- Hi all, as discussed in the documentation, I will create some sub-tasks as follows: 1. Implementation of DataView to support state access for UDAGG 2. Support getAccumulatorType when use DataView 3. Refactor build-in agg(MaxWithRetractAccumulator and MinWithRetractAccumulator) using the DataView 4. Support DataView in Java and Scala Tuples and case classes or as the accumulator of AggregateFunction itself Thanks, Kaibo > Expose State Backend Interface for UDAGG > > > Key: FLINK-6544 > URL: https://issues.apache.org/jira/browse/FLINK-6544 > Project: Flink > Issue Type: Improvement > Components: Table API & SQL >Reporter: Kaibo Zhou >Assignee: Kaibo Zhou > > Currently UDAGG users can not access state, it's necessary to provide users > with a convenient and efficient way to access the state within the UDAGG. > This is the design doc: > https://docs.google.com/document/d/1g-wHOuFj5pMaYMJg90kVIO2IHbiQiO26nWscLIOn50c/edit# > Proposed Changes: > 1. Implementation of DataView to support state access for UDAGG > 2. Support getAccumulatorType when use DataView > 3. Refactor build-in agg(MaxWithRetractAccumulator and > MinWithRetractAccumulator) using the DataView > 4. Support DataView in Java and Scala Tuples and Case classes or as the > accumulator of AggregateFunction itself. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (FLINK-6544) Expose State Backend Interface for UDAGG
[ https://issues.apache.org/jira/browse/FLINK-6544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16089475#comment-16089475 ] ASF GitHub Bot commented on FLINK-6544: --- Github user kaibozhou closed the pull request at: https://github.com/apache/flink/pull/4351 > Expose State Backend Interface for UDAGG > > > Key: FLINK-6544 > URL: https://issues.apache.org/jira/browse/FLINK-6544 > Project: Flink > Issue Type: Improvement > Components: Table API & SQL >Reporter: Kaibo Zhou >Assignee: Kaibo Zhou > > Currently UDAGG users can not access state, it's necessary to provide users > with a convenient and efficient way to access the state within the UDAGG. > This is the design doc: > https://docs.google.com/document/d/1g-wHOuFj5pMaYMJg90kVIO2IHbiQiO26nWscLIOn50c/edit# -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (FLINK-6544) Expose State Backend Interface for UDAGG
[ https://issues.apache.org/jira/browse/FLINK-6544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16089260#comment-16089260 ] ASF GitHub Bot commented on FLINK-6544: --- GitHub user kaibozhou opened a pull request: https://github.com/apache/flink/pull/4351 [FLINK-6544] [table] Expose State Backend Interface for UDAGG Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into consideration. If your changes take all of the items into account, feel free to open your pull request. For more information and/or questions please refer to the [How To Contribute guide](http://flink.apache.org/how-to-contribute.html). In addition to going through the list, please provide a meaningful description of your changes. - [ ] General - The pull request references the related JIRA issue ("[FLINK-XXX] Jira title text") - 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 - [ ] 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/kaibozhou/flink FLINK-6544 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/4351.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 #4351 commit 5426b5f20e91fcdb023cca01e32bb2e0e037d9a5 Author: 宝牛Date: 2017-07-17T03:08:10Z [FLINK-6544] [table] Expose State Backend Interface for UDAGG > Expose State Backend Interface for UDAGG > > > Key: FLINK-6544 > URL: https://issues.apache.org/jira/browse/FLINK-6544 > Project: Flink > Issue Type: Improvement > Components: Table API & SQL >Reporter: Kaibo Zhou >Assignee: Kaibo Zhou > > Currently UDAGG users can not access state, it's necessary to provide users > with a convenient and efficient way to access the state within the UDAGG. > This is the design doc: > https://docs.google.com/document/d/1g-wHOuFj5pMaYMJg90kVIO2IHbiQiO26nWscLIOn50c/edit# -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (FLINK-6544) Expose State Backend Interface for UDAGG
[ https://issues.apache.org/jira/browse/FLINK-6544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16082031#comment-16082031 ] Fabian Hueske commented on FLINK-6544: -- Thanks for the very nice design document. I made a pass and left some comments and suggestions. Cheers, Fabian > Expose State Backend Interface for UDAGG > > > Key: FLINK-6544 > URL: https://issues.apache.org/jira/browse/FLINK-6544 > Project: Flink > Issue Type: Improvement > Components: Table API & SQL >Reporter: Kaibo Zhou >Assignee: Kaibo Zhou > > Currently UDAGG users can not access state, it's necessary to provide users > with a convenient and efficient way to access the state within the UDAGG. > This is the design doc: > https://docs.google.com/document/d/1g-wHOuFj5pMaYMJg90kVIO2IHbiQiO26nWscLIOn50c/edit# -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (FLINK-6544) Expose State Backend Interface for UDAGG
[ https://issues.apache.org/jira/browse/FLINK-6544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16081989#comment-16081989 ] Jark Wu commented on FLINK-6544: Hi guys, we have updated the design doc of "state backend for UDAGG" [~twalthr] [~fhueske] , and welcome any feedback from anyone. > Expose State Backend Interface for UDAGG > > > Key: FLINK-6544 > URL: https://issues.apache.org/jira/browse/FLINK-6544 > Project: Flink > Issue Type: Improvement > Components: Table API & SQL >Reporter: Kaibo Zhou >Assignee: Kaibo Zhou > > Currently UDAGG users can not access state, it's necessary to provide users > with a convenient and efficient way to access the state within the UDAGG. > This is the design doc: > https://docs.google.com/document/d/1g-wHOuFj5pMaYMJg90kVIO2IHbiQiO26nWscLIOn50c/edit# -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (FLINK-6544) Expose State Backend Interface for UDAGG
[ https://issues.apache.org/jira/browse/FLINK-6544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16064613#comment-16064613 ] ASF GitHub Bot commented on FLINK-6544: --- Github user kaibozhou commented on the issue: https://github.com/apache/flink/pull/3895 The design has changed, and close it first. > Expose State Backend Interface for UDAGG > > > Key: FLINK-6544 > URL: https://issues.apache.org/jira/browse/FLINK-6544 > Project: Flink > Issue Type: Improvement > Components: Table API & SQL >Reporter: Kaibo Zhou >Assignee: Kaibo Zhou > > Currently UDAGG users can not access state, it's necessary to provide users > with a convenient and efficient way to access the state within the UDAGG. > This is the design doc: > https://docs.google.com/document/d/1g-wHOuFj5pMaYMJg90kVIO2IHbiQiO26nWscLIOn50c/edit# -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (FLINK-6544) Expose State Backend Interface for UDAGG
[ https://issues.apache.org/jira/browse/FLINK-6544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16064603#comment-16064603 ] ASF GitHub Bot commented on FLINK-6544: --- Github user kaibozhou closed the pull request at: https://github.com/apache/flink/pull/3895 > Expose State Backend Interface for UDAGG > > > Key: FLINK-6544 > URL: https://issues.apache.org/jira/browse/FLINK-6544 > Project: Flink > Issue Type: Improvement > Components: Table API & SQL >Reporter: Kaibo Zhou >Assignee: Kaibo Zhou > > Currently UDAGG users can not access state, it's necessary to provide users > with a convenient and efficient way to access the state within the UDAGG. > This is the design doc: > https://docs.google.com/document/d/1g-wHOuFj5pMaYMJg90kVIO2IHbiQiO26nWscLIOn50c/edit# -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (FLINK-6544) Expose State Backend Interface for UDAGG
[ https://issues.apache.org/jira/browse/FLINK-6544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16009403#comment-16009403 ] ASF GitHub Bot commented on FLINK-6544: --- GitHub user kaibozhou opened a pull request: https://github.com/apache/flink/pull/3895 [FLINK-6544] [table] Expose State Backend Interface for UDAGG This PR partially solved "Expose State Backend Interface for UDAGG", support over aggregate and unbounded group aggregate. Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into consideration. If your changes take all of the items into account, feel free to open your pull request. For more information and/or questions please refer to the [How To Contribute guide](http://flink.apache.org/how-to-contribute.html). In addition to going through the list, please provide a meaningful description of your changes. - [ ] General - The pull request references the related JIRA issue ("[FLINK-XXX] Jira title text") - 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 - [ ] 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/kaibozhou/flink FLINK-6544 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/3895.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 #3895 commit 9f5fbd268a76decccb823d32301a9ccb7cd1a24a Author: kaibozhouDate: 2017-05-08T04:37:34Z [FLINK-6544] [table] Expose State Backend Interface for UDAGG > Expose State Backend Interface for UDAGG > > > Key: FLINK-6544 > URL: https://issues.apache.org/jira/browse/FLINK-6544 > Project: Flink > Issue Type: Improvement > Components: Table API & SQL >Reporter: Kaibo Zhou >Assignee: Kaibo Zhou > > Currently UDAGG users can not access state, it's necessary to provide users > with a convenient and efficient way to access the state within the UDAGG. > This is the design doc: > https://docs.google.com/document/d/1g-wHOuFj5pMaYMJg90kVIO2IHbiQiO26nWscLIOn50c/edit# -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (FLINK-6544) Expose State Backend Interface for UDAGG
[ https://issues.apache.org/jira/browse/FLINK-6544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16009397#comment-16009397 ] ASF GitHub Bot commented on FLINK-6544: --- Github user kaibozhou closed the pull request at: https://github.com/apache/flink/pull/3893 > Expose State Backend Interface for UDAGG > > > Key: FLINK-6544 > URL: https://issues.apache.org/jira/browse/FLINK-6544 > Project: Flink > Issue Type: Improvement > Components: Table API & SQL >Reporter: Kaibo Zhou >Assignee: Kaibo Zhou > > Currently UDAGG users can not access state, it's necessary to provide users > with a convenient and efficient way to access the state within the UDAGG. > This is the design doc: > https://docs.google.com/document/d/1g-wHOuFj5pMaYMJg90kVIO2IHbiQiO26nWscLIOn50c/edit# -- This message was sent by Atlassian JIRA (v6.3.15#6346)