You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2020/05/06 04:36:00 UTC

[jira] [Resolved] (SPARK-31595) Spark sql cli should allow unescaped quote mark in quoted string

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

Wenchen Fan resolved SPARK-31595.
---------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

Issue resolved by pull request 28393
[https://github.com/apache/spark/pull/28393]

> Spark sql cli should allow unescaped quote mark in quoted string
> ----------------------------------------------------------------
>
>                 Key: SPARK-31595
>                 URL: https://issues.apache.org/jira/browse/SPARK-31595
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Adrian Wang
>            Assignee: Adrian Wang
>            Priority: Major
>             Fix For: 3.0.0
>
>
> spark-sql> select "'";
> spark-sql> select '"';
> In Spark parser if we pass a text of `select "'";`, there will be ParserCancellationException, which will be handled by PredictionMode.LL. By dropping `;` correctly we can avoid that retry.



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