Skip to content

Conversation

@jnidzwetzki
Copy link

Prepared statements in multi-node environments are failing. After switching the cassandra node, the cpp-driver tries to execute the prepared statement instead of preparing it. As a result, the prepared statement is not available on the cassandra node and the prepared statement can not be executed.

For additional information, see the discussion at the user mailing list: https://groups.google.com/a/lists.datastax.com/forum/#!topic/cpp-driver-user/d0TngHHDIOk

jstasiewicz added a commit that referenced this pull request Feb 28, 2014
Fix for prepared statements in multi-node environments
@jstasiewicz jstasiewicz merged commit 211b760 into apache:master Feb 28, 2014
@jstasiewicz
Copy link
Contributor

My mistake. Thanks!

mpenick pushed a commit that referenced this pull request Aug 3, 2016
Add the Travis badge in the readme
mpenick pushed a commit that referenced this pull request Jul 19, 2018
397 - AppVeyor and TracisCI Enablement
mikefero pushed a commit that referenced this pull request Jan 14, 2020
Fix metrics tests and deprecate unused metric
millerjp added a commit to millerjp/cpp-driver that referenced this pull request Sep 8, 2025
MAJOR ACHIEVEMENT: Complete recursive type parsing for vectors!

IMPLEMENTED:
- Recursive type parser using existing DataTypeClassNameParser
- Full support for frozen<> wrapper parsing
- Support for nested collections: vector<frozen<list<T>>>, etc.
- Support for tuples in vectors: vector<tuple<...>>
- Support for arbitrary nesting depth
- Proper handling of parentheses and angle brackets

SUPPORTED TYPES:
- vector<frozen<list<int>>>
- vector<frozen<set<text>>>
- vector<frozen<map<K,V>>>
- vector<tuple<...>>
- vector<frozen<list<frozen<set<uuid>>>>>
- Any valid Cassandra nested type combination

TECHNICAL DETAILS:
- Uses DataTypeClassNameParser::parse_one() for recursive parsing
- Correctly parses from right-to-left to find dimension
- Handles nested parentheses and angle brackets
- No hardcoded types or assumptions
- Fails explicitly on parse errors

TESTS:
- Comprehensive unit tests for nested parsing
- Integration tests for all complex types
- Round-trip tests for nested collections

This completes the CRITICAL requirement for full nested type support!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants