You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (JIRA)" <ji...@apache.org> on 2016/08/23 00:39:20 UTC
[jira] [Updated] (SPARK-17194) When emitting SQL for string
literals Spark should use single quotes, not double
[ https://issues.apache.org/jira/browse/SPARK-17194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Rosen updated SPARK-17194:
-------------------------------
Summary: When emitting SQL for string literals Spark should use single quotes, not double (was: When emitting SQL for string literals, Spark should use single quotes, not double)
> When emitting SQL for string literals Spark should use single quotes, not double
> --------------------------------------------------------------------------------
>
> Key: SPARK-17194
> URL: https://issues.apache.org/jira/browse/SPARK-17194
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Josh Rosen
> Priority: Minor
>
> When Spark emits SQL for a string literal, it should wrap the string in single quotes, not double quotes. Databases which adhere more strictly to the ANSI SQL standards, such as Postgres, allow only single-quotes to be used for denoting string literals (see http://stackoverflow.com/a/1992331/590203).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org