Dongjoon Hyun created SPARK-18603:
-------------------------------------

             Summary: Support `OuterReference` in projection list of IN 
correlated subqueries
                 Key: SPARK-18603
                 URL: https://issues.apache.org/jira/browse/SPARK-18603
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.0.2
            Reporter: Dongjoon Hyun


This issue aims to allow OuterReference columns in projection lists of IN 
correlated subqueries. 

**EXAMPLE**
{code}
scala> sql("CREATE TEMPORARY VIEW t1 AS SELECT * FROM VALUES 1, 2 AS t1(a)")
scala> sql("CREATE TEMPORARY VIEW t2 AS SELECT * FROM VALUES 1 AS t2(b)")
scala> sql("SELECT a FROM t1 WHERE a IN (SELECT a FROM t2)").show
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to