Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-6544

Expose State Backend Interface for UDAGG

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Abandoned
    • None
    • None
    • Table SQL / API
    • None

    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.

      Attachments

        Issue Links

          Activity

            People

              kaibo.zhou Kaibo Zhou
              kaibo.zhou Kaibo Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: