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

ASF GitHub Bot commented on FLINK-4070:
---------------------------------------

Github user twalthr commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2120#discussion_r69471024
  
    --- Diff: 
flink-libraries/flink-table/src/test/scala/org/apache/flink/api/scala/batch/table/SelectITCase.scala
 ---
    @@ -134,4 +134,22 @@ class SelectITCase(
           .select('a, 'b as 'a).toDataSet[Row].print()
       }
     
    +  @Test
    +  def testLiteralOnLeft(): Unit = {
    --- End diff --
    
    We want to reduce long running ITCases. We recently introduced an 
`ExpressionTestBase` for tests of this type. You can create an 
`ArithmeticExpressionsTest` similar to `DecimalTypeTest`.


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