Github user twalthr commented on a diff in the pull request: https://github.com/apache/flink/pull/2653#discussion_r88463780 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/scala/table/StreamTableEnvironment.scala --- @@ -142,4 +143,15 @@ class StreamTableEnvironment( asScalaStream(translate(table)) } + /** + * Registers a [[TableFunction]] under a unique name in the TableEnvironment's catalog. + * Registered functions can be referenced in SQL queries. + * + * @param name The name under which the function is registered. + * @param tf The TableFunction to register + */ + def registerFunction[T: TypeInformation](name: String, tf: TableFunction[T]): Unit ={ --- End diff -- `= {`
--- 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. ---