cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7769) Implement pg-style dollar syntax for string constants
Date Fri, 15 Aug 2014 06:59:18 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-7769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14098267#comment-14098267
] 

Robert Stupp commented on CASSANDRA-7769:
-----------------------------------------

So, this syntax would support:

# full, nested dollar-qutoted string constants like this 
{{$function$the quick brown fox $q$jump$$q$ over the lazy $d$dog$d$$function$}} which is valid
and would be the alternative of
{{'the quick brown fox ''jump$'' over the lazy ''dog'''}}
# "simple" non-nested ones like this 
{{$function$the quick brown fox jump$ over the lazy dog$function$}}
# and even this simple style 
{{$$the quick brown fox jump$ over the lazy dog$$}}


> Implement pg-style dollar syntax for string constants
> -----------------------------------------------------
>
>                 Key: CASSANDRA-7769
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7769
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Robert Stupp
>            Assignee: Robert Stupp
>             Fix For: 3.0
>
>
> Follow-up of CASSANDRA-7740:
> {{$function$...$function$}} in addition to string style variant.
> See also http://www.postgresql.org/docs/9.1/static/sql-syntax-lexical.html#SQL-SYNTAX-DOLLAR-QUOTING



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message