GitHub user twalthr opened a pull request:

    https://github.com/apache/flink/pull/1429

    [FLINK-3097] [table] Add support for custom functions in Table API

    As described in FLINK-3097, this PR implements the possibility of adding 
custom row functions for the Table API.
    
    In the tests you can find some examples how custom functions can look like:
    ```
    table.select("TRIM(f0)")
    table.select("SYSTEM_TIME()")
    table.select("SUBSTRING(SUBSTRING(f0, 2, 5), 0, 1)")
    table.select("SUBSTRING(f0, 1), SUBSTRING(f0, 2, 5)")
    ```
    
    The Scala Table API is not supported yet, since I'm still waiting for #1237.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/twalthr/flink TableApiCustomFunctions

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/1429.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1429
    
----
commit f6677487d3fe48042f521226aa4e8358433e1f9c
Author: twalthr <twal...@apache.org>
Date:   2015-11-29T15:15:16Z

    [FLINK-3097] [table] Add support for custom functions in Table API

----


---
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.
---

Reply via email to