hackergin commented on code in PR #24106:
URL: https://github.com/apache/flink/pull/24106#discussion_r1465412817


##########
flink-table/flink-table-common/src/main/java/org/apache/flink/table/annotation/FunctionHint.java:
##########
@@ -148,6 +148,18 @@
      */
     String[] argumentNames() default {""};
 
+    /**
+     * Explicitly lists the argument that a function takes as input, including 
their names, types,
+     * and whether they are optional.
+     *
+     * <p>By default, it is recommended to use this parameter instead of 
{@link #input()}. If the
+     * type of argumentHint is not defined, it will be considered an invalid 
argument and an
+     * exception will be thrown. Additionally, both this parameter and {@link 
#input()} cannot be
+     * defined at the same time. If neither arguments nor {@link #input()} are 
defined,
+     * reflection-based extraction will be used.
+     */
+    ArgumentHint[] arguments() default {};

Review Comment:
   Changed to `argument`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to