[ 
https://issues.apache.org/jira/browse/FLINK-4070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15331571#comment-15331571
 ] 

Jark Wu commented on FLINK-4070:
--------------------------------

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.

Of course after adding a function {{toExpr}} to Expression, we can use 
{{12.toExpr < 'f0}}. It is a solution, but not clean. 

Any ideas?  [~twalthr]  [~fhueske]

> Support literals on left side of binary expressions
> ---------------------------------------------------
>
>                 Key: FLINK-4070
>                 URL: https://issues.apache.org/jira/browse/FLINK-4070
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table API
>            Reporter: Timo Walther
>            Assignee: Jark Wu
>            Priority: Minor
>
> The Table API does not support binary expressions like {{12 < 'f0}} in Scala 
> DSL where the left side is a literal. Maybe this can be solved by implicits 
> or at least by a {{12.toExpr}} method.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to