[jira] [Created] (FLINK-20607) a wrong example in udfs page.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-20607) a wrong example in udfs page.

Shang Yuanchun (Jira)
shizhengchao created FLINK-20607:
------------------------------------

             Summary: a wrong example in udfs page.
                 Key: FLINK-20607
                 URL: https://issues.apache.org/jira/browse/FLINK-20607
             Project: Flink
          Issue Type: Bug
          Components: Documentation
    Affects Versions: 1.11.1, 1.12.0
            Reporter: shizhengchao


Demonstration error of multiple input types in FunctionHint:
{code:java}
@FunctionHint(
  input = [@DataTypeHint("INT"), @DataTypeHint("INT")],
  output = @DataTypeHint("INT")
)
{code}

should be
{code:java}
@FunctionHint(
  input = {@DataTypeHint("INT"), @DataTypeHint("INT")},
  output = @DataTypeHint("INT")
)
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)