Github user fhueske commented on a diff in the pull request: https://github.com/apache/flink/pull/3623#discussion_r110379996 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/table/plan/schema/DeferredTypeFlinkTableFunction.scala --- @@ -40,6 +43,10 @@ class DeferredTypeFlinkTableFunction( val implicitResultType: TypeInformation[_]) extends FlinkTableFunction(tableFunction, evalMethod) { + val paramTypeInfos = evalMethod.getParameterTypes.map { paramType => + TypeExtractor.getForClass(paramType) --- End diff -- The type extraction does not always work (esp. not for Row). That's why I think that passing `Class[_]` might be better.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---