You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "robinwang (Jira)" <ji...@apache.org> on 2020/12/23 01:28:01 UTC
[jira] [Comment Edited] (FLINK-20700) Default value type does not
match the return type of method input()
[ https://issues.apache.org/jira/browse/FLINK-20700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17253471#comment-17253471 ]
robinwang edited comment on FLINK-20700 at 12/23/20, 1:27 AM:
--------------------------------------------------------------
Please assign it to me. Thanks. [~jark]
was (Author: wbgentleman):
Please assign it to me. Thanks.
> Default value type does not match the return type of method input()
> -------------------------------------------------------------------
>
> Key: FLINK-20700
> URL: https://issues.apache.org/jira/browse/FLINK-20700
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / API
> Affects Versions: 1.12.0
> Reporter: ZhangWei
> Priority: Trivial
>
> 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()};
--
This message was sent by Atlassian Jira
(v8.3.4#803005)