Github user mgaido91 commented on the issue:

    https://github.com/apache/spark/pull/22029
  
    Yes, I summarized earlier the behavior for `(a, b) in (struct_col1, 
struct_col2, ...)`. You can also check the PR description in "Summarizing:".
    
    Instead, `input_struct_col in (struct_col1, struct_col2, ...)` has not 
really wide support:
     - Postgres fails:
    ```
    mgaido=# select 1 from (select (1, 'a') as c1) t1 where c1 in ((1, 'b'), 
(2, 'a'));
    ERROR:  could not identify an equality operator for type unknown
    ```
     - Oracle does the same.
     - Hive behaves like Spark now (before and after the PR) for this case.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to