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

Reconsider the runtime property of the BuiltInFunctionDefinition

    XMLWordPrintableJSON

Details

    Description

      I found a bit confused when implementing the inner built in functions when dealing with the runtime property. Currently, it has three types of the runtime property:
      1) runtimeclass which means flink provide a class to define the runtime implementation
      2) runtimeProvider which means the runtime class is code generated
      3) runtimeDefered which means it will use the calcite's sql operator to mapping the codegen

      After some research, I found that we have 4 situations to deal:
      1) non new stack operators.
      2) new stack with own runtime class provided. eg: IFNULL -> runtimeClass
      3) new stack translate to sql operator to provide runtime call gen. eg:IS_NOT_TRUE -> runtimeDefered
      4) new stack can not mapping to calcite's operator (mainly flink internal functions) without runtime class need mapping to the runtime callgen. eg: CURRENT_WATERMARK. -> runtimeProvided

      Attachments

        Activity

          People

            Unassigned Unassigned
            aitozi WenJun Min
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: