Anne Sullivan created CASSANDRA-5598:
----------------------------------------
Summary: 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
Priority: Minor
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 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