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

Default value type does not match the return type of method input()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.12.0
    • None
    • Table SQL / API
    • None

    Description

      In org.apache.flink.table.annotation.FunctionHint, the return type of input() is an 

      array of DataTypeHint, while the default value is @DataTypeHint() which is just an object.

      So the method defination should be as below, *{}*should be added.

      DataTypeHint[] input() default {@DataTypeHint()};

      Attachments

        Activity

          People

            Unassigned Unassigned
            Amon ZhangWei
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: