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/19 15:10:00 UTC

[jira] [Updated] (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:all-tabpanel ]

Ayoub Omari updated SPARK-31194:
--------------------------------
    Description: 
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_  _?_

  was:
When having a sql query as follows:

```

SELECT *

FROM people

WHERE

```

shouldn't we throw a parsing exception because of __unspecified _condition_  _?_


> 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