[
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: [email protected]
For additional commands, e-mail: [email protected]