You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yuming Wang (JIRA)" <ji...@apache.org> on 2019/07/15 08:36:00 UTC

[jira] [Resolved] (SPARK-28073) ANSI SQL: Character literals

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

Yuming Wang resolved SPARK-28073.
---------------------------------
    Resolution: Resolved

Yes. We have implemented this syntax.

https://github.com/postgres/postgres/blob/REL_12_BETA2/src/test/regress/sql/strings.sql#L7-L17

> ANSI SQL: Character literals
> ----------------------------
>
>                 Key: SPARK-28073
>                 URL: https://issues.apache.org/jira/browse/SPARK-28073
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Yuming Wang
>            Priority: Major
>
> ||Feature ID||Feature Name||Feature Description||
> |E021-03|Character literals|— Subclause 5.3, “<literal>”: <quote> [ <character representation>... ] <quote>|
> Example:
> {code:java}
> SELECT 'first line' ' - next line' ' - third line' AS "Three lines to one";{code}
> Postgresql:[https://www.postgresql.org/docs/9.1/features-sql-standard.html]
> Hive:[https://cwiki.apache.org/confluence/display/Hive/Supported+Features%3A+Apache+Hive+2.1]
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org