[jira] [Updated] (SPARK-30822) Pyspark queries fail if terminated with a semicolon

2020-02-23 Thread Takeshi Yamamuro (Jira)


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

Takeshi Yamamuro updated SPARK-30822:
-
Flags:   (was: Patch)

> Pyspark queries fail if terminated with a semicolon
> ---
>
> Key: SPARK-30822
> URL: https://issues.apache.org/jira/browse/SPARK-30822
> Project: Spark
>  Issue Type: Bug
>  Components: PySpark, SQL
>Affects Versions: 3.0.0
>Reporter: Samuel Setegne
>Priority: Minor
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> When a user submits a directly executable SQL statement terminated with a 
> semicolon, they receive a 
> `org.apache.spark.sql.catalyst.parser.ParseException` of `mismatched input 
> ";"`. SQL-92 describes a direct SQL statement as having the format of 
> ` ` and the majority of SQL 
> implementations either require the semicolon as a statement terminator, or 
> make it optional (meaning not raising an exception when it's included, 
> seemingly in recognition that it's a common behavior).



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

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



[jira] [Updated] (SPARK-30822) Pyspark queries fail if terminated with a semicolon

2020-02-23 Thread Takeshi Yamamuro (Jira)


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

Takeshi Yamamuro updated SPARK-30822:
-
Labels:   (was: easyfix patch pull-request-available)

> Pyspark queries fail if terminated with a semicolon
> ---
>
> Key: SPARK-30822
> URL: https://issues.apache.org/jira/browse/SPARK-30822
> Project: Spark
>  Issue Type: Bug
>  Components: PySpark, SQL
>Affects Versions: 3.0.0
>Reporter: Samuel Setegne
>Priority: Minor
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> When a user submits a directly executable SQL statement terminated with a 
> semicolon, they receive a 
> `org.apache.spark.sql.catalyst.parser.ParseException` of `mismatched input 
> ";"`. SQL-92 describes a direct SQL statement as having the format of 
> ` ` and the majority of SQL 
> implementations either require the semicolon as a statement terminator, or 
> make it optional (meaning not raising an exception when it's included, 
> seemingly in recognition that it's a common behavior).



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

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