Dandandan commented on issue #488: URL: https://github.com/apache/arrow-datafusion/issues/488#issuecomment-857586240
> @Dandandan I was debugging to see what happens with the current code. Seems like all `IN` clauses are converted to `Expr::InList`. Should we use the `InList` itself? Or it is intended for different purpose, so better create `Expr::In`? The `InList` is for the `IN (1, 2, 3)` (a literal list) syntax, whereas this will be for `IN (SELECT ....)` (in subquery). This currently results in an error if you try it (something like `Unsupported ast node SQLExpr::InSubQuery) in sqltorel`) which is defined here: https://github.com/apache/arrow-datafusion/blob/master/datafusion/src/sql/planner.rs#L1205 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
