You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/05/05 09:33:04 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15997993#comment-15997993 ] 

Apache Spark commented on SPARK-20612:
--------------------------------------

User 'viirya' has created a pull request for this issue:
https://github.com/apache/spark/pull/17871

> 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