GitHub user wuchong opened a pull request:

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

    [FLINK-4070] [tableApi] Support literals on left side of binary expre…

    The Table API does not support literals on left side of expressions like 
`+,_,*,/,%,>,< `. Because there is already such method in Int class, scala 
compiler would not search for implicit conversion.
    
    So I add a function `toExpr` to Expression, now we can use 12.toExpr % 'f0. 
It is a useful feature in some cases.


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

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

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

    https://github.com/apache/flink/pull/2120.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 #2120
    
----
commit 8530408554aa6929a54be3d03b2b33f28bd01fd1
Author: Jark Wu <[email protected]>
Date:   2016-06-17T03:39:21Z

    [FLINK-4070] [tableApi] Support literals on left side of binary expressions

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to