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

Jonathan Ellis updated CASSANDRA-5598:
--------------------------------------

         Reviewer: Sylvain Lebresne
    Fix Version/s: 2.0.3
         Assignee: Lyuben Todorov

> Need invalid exception when submitting a prepared statement with too many 
> markers
> ---------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-5598
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5598
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.2.4
>         Environment: [cqlsh 2.3.0 | Cassandra 1.2.4 | CQL spec 3.0.0 | Thrift 
> protocol 19.35.0]
>            Reporter: Anne Sullivan
>            Assignee: Lyuben Todorov
>            Priority: Minor
>             Fix For: 2.0.3
>
>
> Binary protocol uses a short value so this places a limit of 16K on the 
> number of bound variable, would be nice to see an InvalidException at 
> prepared time if statement contains more markers than supported (thank you to 
> pcmanus pointing this out on IRC channel).  
> Currently, no error is given until you try to execute the query and get the 
> following (which is misleading because the bound # is much smaller than the 
> limit):
> com.datastax.driver.core.exceptions.InvalidQueryException: there were 135000 
> markers(?) in CQL but 3928 bound variables



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to