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

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

Adrian Wang created SPARK-31595:
-----------------------------------

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


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