GitHub user wuchong opened a pull request:

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

    [FLINK-4109] [tableAPI] Change the name of ternary condition operator

    It's better to use "?" than "eval()" for ternary condition operator in 
Table API since most people comming from Java/C/C++ know what it does. However, 
"eval()" is ambiguous.
    
    The condition operator looks like this now:
    
    ```
    (42 > 5).?("A", "B")
    (42 > 5) ? ("A", "B")
    ```
    
    The document has been updated too. 
    
    As it is a public API, I hope it can be reviewed soon and merged before 
release.

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

    $ git pull https://github.com/wuchong/flink FLINK-4109

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

    https://github.com/apache/flink/pull/2173.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 #2173
    
----
commit 8c689ccf269e706895e26e8eb3638e226d2c783b
Author: Jark Wu <wuchong...@alibaba-inc.com>
Date:   2016-06-28T04:37:12Z

    [FLINK-4109] [tableAPI] Change the name of ternary condition operator 
'eval' to '?'

----


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