spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SPARK-20690) Analyzer shouldn't add missing attributes through subquery
Date Wed, 10 May 2017 08:34:04 GMT

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

Apache Spark reassigned SPARK-20690:
------------------------------------

    Assignee:     (was: Apache Spark)

> Analyzer shouldn't add missing attributes through subquery
> ----------------------------------------------------------
>
>                 Key: SPARK-20690
>                 URL: https://issues.apache.org/jira/browse/SPARK-20690
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: Liang-Chi Hsieh
>
> We add missing attributes into Filter in Analyzer. But we shouldn't do it through subqueries
like this:
> {code}
> select 1 from  (select 1 from onerow t1 LIMIT 1) where  t1.c1=1
> {code}
> This query works in current codebase. However, the outside where clause shouldn't be
able to refer t1.c1 attribute.



--
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


Mime
View raw message