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

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

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

    https://github.com/apache/flink/pull/2870#discussion_r105238764
  
    --- Diff: 
flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/codegen/CodeGenerator.scala
 ---
    @@ -870,6 +870,16 @@ class CodeGenerator(
             requireTimeInterval(operand)
             generateUnaryIntervalPlusMinus(plus = true, nullCheck, operand)
     
    +      case IN =>
    +        val left = operands.head
    +        val right = operands.tail
    +        val addReusableCodeCallback = (declaration: String, 
initialization: String) => {
    --- End diff --
    
    @twalthr `generateIn` can executed long enough. This solution works fine


> Support for SQL IN operator
> ---------------------------
>
>                 Key: FLINK-4565
>                 URL: https://issues.apache.org/jira/browse/FLINK-4565
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table API & SQL
>            Reporter: Timo Walther
>            Assignee: Dmytro Shkvyra
>
> It seems that Flink SQL supports the uncorrelated sub-query IN operator. But 
> it should also be available in the Table API and tested.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to