[ 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org