Github user gatorsmile commented on a diff in the pull request: https://github.com/apache/spark/pull/21403#discussion_r205214601 --- Diff: sql/core/src/test/resources/sql-tests/results/subquery/negative-cases/subq-input-typecheck.sql.out --- @@ -113,15 +105,7 @@ WHERE struct<> -- !query 8 output org.apache.spark.sql.AnalysisException -cannot resolve '(named_struct('t1a', t1.`t1a`, 't1b', t1.`t1b`) IN (listquery(t1.`t1a`)))' due to data type mismatch: -The number of columns in the left hand side of an IN subquery does not match the -number of columns in the output of subquery. -#columns in left hand side: 2. -#columns in right hand side: 1. -Left side columns: -[t1.`t1a`, t1.`t1b`]. -Right side columns: -[t2.`t2a`].; --- End diff -- Also output the message from line 117 to 124
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org