You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Kaibo Zhou (JIRA)" <ji...@apache.org> on 2017/07/17 08:22:00 UTC

[jira] [Updated] (FLINK-6544) Expose State Backend Interface for UDAGG

     [ https://issues.apache.org/jira/browse/FLINK-6544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kaibo Zhou updated FLINK-6544:
------------------------------
    Description: 
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.





  was:
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#


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