You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ayoub Omari (Jira)" <ji...@apache.org> on 2020/03/23 10:29:00 UTC

[jira] [Comment Edited] (SPARK-31194) spark sql runs successfully with query not specifying condition next to where

    [ https://issues.apache.org/jira/browse/SPARK-31194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17064692#comment-17064692 ] 

Ayoub Omari edited comment on SPARK-31194 at 3/23/20, 10:28 AM:
----------------------------------------------------------------

Oh ok ! Closing as Where works as an alias to tableName in this case 


was (Author: sarmon):
Where works as an alias to tableName in this case 

> spark sql runs successfully with query not specifying condition next to where 
> ------------------------------------------------------------------------------
>
>                 Key: SPARK-31194
>                 URL: https://issues.apache.org/jira/browse/SPARK-31194
>             Project: Spark
>          Issue Type: Story
>          Components: SQL
>    Affects Versions: 2.4.5
>            Reporter: Ayoub Omari
>            Priority: Major
>
> When having a sql query as follows:
> {color:#00875a}_SELECT *_{color}
> {color:#00875a}_FROM people_{color}
> {color:#00875a}_WHERE_{color}
> shouldn't we throw a parsing exception because of __unspecified _condition_  _?_



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org