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

Support to specify the input/output types of Python UDFs via string

    XMLWordPrintableJSON

Details

    Description

      Currently, users need to specify the input/output types as following:

      {{@udf(result_type=DataTypes.BIGINT())
      def add(i, j):
         return i + j
      }}

      FLIP-65 makes it possible to support syntaxes as following:

      {{@udf(result_type="BIGINT")
      def add(i, j):
         return i + j
      }}

      Attachments

        Issue Links

          Activity

            People

              hxbks2ks Huang Xingbo
              dian.fu Dian Fu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: