flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From twalthr <...@git.apache.org>
Subject [GitHub] flink pull request #2653: [FLINK-4469] [table] Add support for user defined ...
Date Thu, 17 Nov 2016 16:58:16 GMT
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message