[
https://issues.apache.org/jira/browse/CASSANDRA-5795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718477#comment-13718477
]
Aleksey Yeschenko commented on CASSANDRA-5795:
----------------------------------------------
+1
nits:
- The copy-pasted DelayedValue code from Lists in Sets still references 'List'
in bind ("List value too long")
> now() is being rejected in INSERTs when inside collections
> ----------------------------------------------------------
>
> Key: CASSANDRA-5795
> URL: https://issues.apache.org/jira/browse/CASSANDRA-5795
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.2.6
> Reporter: Aleksey Yeschenko
> Assignee: Sylvain Lebresne
> Fix For: 1.2.8
>
> Attachments: 5795.txt
>
>
> Lists, Sets and Maps reject NonTerminal terms in prepare:
> {code}
> if (t instanceof Term.NonTerminal)
> throw new InvalidRequestException(String.format("Invalid
> list literal for %s: bind variables are not supported inside collection
> literals", receiver));
> {code}
> and now() is instanceof NonTerminal since CASSANDRA-5616, hence
> {noformat}
> cqlsh:test> insert into demo (id, timeuuids) values (0, [now()]);
> Bad Request: Invalid list literal for tus: bind variables are not supported
> inside collection literals
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira