Github user cloud-fan commented on the issue:
https://github.com/apache/spark/pull/21403
OK I see the point now.
`a IN (select (c, d) from ...)` is valid but `(i, j) IN (select (c, d) from
...)` is not. This is a little weird because `a` is semantically same with `(i,
j)` if `a` is struct type with 2 fields `i` and `j`. It sounds like we want to
treat `(...)` specially in the context of IN expression.
Can you give some similar examples in other databases?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]