You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Liang-Chi Hsieh (JIRA)" <ji...@apache.org> on 2017/05/10 08:03:04 UTC

[jira] [Closed] (SPARK-20612) Unresolvable attribute in Filter won't throw analysis exception

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

Liang-Chi Hsieh closed SPARK-20612.
-----------------------------------
    Resolution: Won't Fix

> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org