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

    https://github.com/apache/flink/pull/2870#discussion_r104379120
  
    --- Diff: 
flink-libraries/flink-table/src/test/scala/org/apache/flink/api/table/expressions/ScalarFunctionsTest.scala
 ---
    @@ -1101,6 +1101,45 @@ class ScalarFunctionsTest extends ExpressionTestBase 
{
           "true")
       }
     
    +  @Test
    +  def testInExpressions(): Unit = {
    +    testTableApi(
    --- End diff --
    
    @twalthr It's a big problem. Even two problems:
    1. We mention that that all types (right) in IN operator have the same type 
because we use Set as collection. And we check if right operand has only one 
`TypeInfo`. Otherwise we should check each item one by one or use something 
like bloom filter
    2. Problem with compilation of expression - each field is compiling to more 
simple type (the most big problem)



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