Liang-Chi Hsieh created SPARK-20612:
---------------------------------------

             Summary: Unresolvable attribute in Filter won't throw analysis 
exception
                 Key: SPARK-20612
                 URL: https://issues.apache.org/jira/browse/SPARK-20612
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 2.2.0
            Reporter: Liang-Chi Hsieh


We have a rule in Analyzer that adds missing attributes in a Filter into its 
child plan. It makes the following codes work:

{code}
val df = Seq((1, "a"), (2, "b"), (3, "c")).toDF("x", "y")
df.select("y").where("x=1")
{code}

It should throw an analysis exception.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to