[ 
https://issues.apache.org/jira/browse/SPARK-20612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-20612:
------------------------------------

    Assignee: Apache Spark

> 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
>            Assignee: Apache Spark
>
> 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to