[
https://issues.apache.org/jira/browse/SPARK-24125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongjoon Hyun updated SPARK-24125:
----------------------------------
Affects Version/s: (was: 3.0.0)
3.1.0
> Add quoting rules to SQL guide
> ------------------------------
>
> Key: SPARK-24125
> URL: https://issues.apache.org/jira/browse/SPARK-24125
> Project: Spark
> Issue Type: Improvement
> Components: Documentation
> Affects Versions: 3.1.0
> Reporter: Henry Robinson
> Priority: Minor
>
> As far as I can tell, Spark SQL's quoting rules are as follows:
> * {{`foo bar`}} is an identifier
> * {{'foo bar'}} is a string literal
> * {{"foo bar"}} is a string literal
> The last of these is non-standard (usually {{"foo bar"}} is an identifier),
> and so it's probably worth mentioning these rules in the 'reference' section
> of the [SQL
> guide|http://spark.apache.org/docs/latest/sql-programming-guide.html#reference].
> I'm assuming there's not a lot of enthusiasm to change the quoting rules,
> given it would be a breaking change, and that backticks work just fine as an
> alternative.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]