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

Restructure the coders in PyFlink

    XMLWordPrintableJSON

Details

    Description

      Now, PyFlink has introduced many top-level coder. The top-level coder is defined as used by `Python Operation` directly. Currently, some top-level coder comes with the semantics of function, such as `TableFunctionCoder`. In fact, we need to remove this semantic and remove many coders such as `TableFunctionCoder`, `AggregateFunctionCoder` and so on. For the data structure type to be processed, there will only be `FlattenRowCoder`(used in udf, udtf.., the type of data will be List), `TopRowCoder`(used in udaf, udtagg, the type of data will be Row or InternalRow), `RawCoder`(used in datastream, the type of data will be raw data type), `ArrowCoder`(used in pandas udf, the type of data will be pandas data structure).

      Attachments

        Issue Links

          Activity

            People

              hxbks2ks Huang Xingbo
              hxbks2ks Huang Xingbo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: