cassandra-python-driver v1.0.2 Release Notes
-
March 4, 2014
๐ Bug Fixes
- With asyncorereactor, correctly handle EAGAIN/EWOULDBLOCK when the message from Cassandra is a multiple of the read buffer size. Previously, if no more data became available to read on the socket, the message would never be processed, resulting in an OperationTimedOut error.
- Double quote keyspace, table and column names that require them (those using uppercase characters or keywords) when generating CREATE statements through KeyspaceMetadata and TableMetadata.
- Decode TimestampType as DateType. (Cassandra replaced DateType with TimestampType to fix sorting of pre-unix epoch dates in CASSANDRA-5723.)
- โ Handle latest table options when parsing the schema and generating CREATE statements.
- Avoid 'Set changed size during iteration' during query plan generation when hosts go up or down
Other
- โ Remove ignored
tracing_enabled
parameter forSimpleStatement
. The correct way to trace a query is by setting thetrace
argument toTrue
inSession.execute()
andSession.execute_async()
. - Raise TypeError instead of cassandra.query.InvalidParameterTypeError when a parameter for a prepared statement has the wrong type; remove cassandra.query.InvalidParameterTypeError.
- More consistent type checking for query parameters
- โ Add option to a return special object for empty string values for non-string columns