flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Robutti (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-4565) Support for SQL IN operator
Date Thu, 08 Sep 2016 12:06:20 GMT

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

Simone Robutti commented on FLINK-4565:
---------------------------------------

I defined this parser combinator rule ```lazy val in:PackratParser[Expression] = term ~ "IN"
~ table ^^{
    case l ~ _ ~ r => In(l,r)
  }```

`In` takes an expression (containing the field of the left table to be matched against the
right table) and a Table. I need to define  a parser for a Table but I never worked with parser-combinators
so I have no idea how to do that. Any suggestion?

> 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: Simone Robutti
>
> 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.4#6332)

Mime
View raw message