Github user fhueske commented on a diff in the pull request:
https://github.com/apache/flink/pull/3623#discussion_r112675377
--- Diff:
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/functions/TableFunction.scala
---
@@ -131,8 +129,16 @@ abstract class TableFunction[T] extends
UserDefinedFunction {
* method. Flink's type extraction facilities can handle basic types or
* simple POJOs but might be wrong for more complex, custom, or
composite types.
*
+ * The input arguments are the input arguments which are passed to the
eval() method.
+ * Only the literal arguments (constant values) are passed to the
[[getResultType()]] method.
+ * If non-literal arguments appear, it will pass nulls instead.
--- End diff --
Mention the `argTypes` parameter as well
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---