cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mlowicki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8705) cqlsh doesn't handle new line escape character inside string literals
Date Fri, 30 Jan 2015 09:10:34 GMT

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

mlowicki commented on CASSANDRA-8705:
-------------------------------------

C* 2.1.2. If I hit ENTER before the place I want to put new line then it works as you show.
Why it isn't supported in CQL? I've to hit ENTER every time and can't use select from history.

> cqlsh doesn't handle new line escape character inside string literals
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-8705
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8705
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: mlowicki
>
> {code}
> cqlsh:sync> select count(*) from entity where user_id='255824802' and parent_id='MzI5MDReMV48c2VydmVyIHRhZz50cmFzaF9ib29rbWFya3M=
>         ... ';
>  count
> -------
>      1
> (1 rows)
> cqlsh:sync> select count(*) from entity where user_id='255824802' and parent_id='MzI5MDReMV48c2VydmVyIHRhZz50cmFzaF9ib29rbWFya3M=\n';
>  count
> -------
>      0
> (1 rows)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message