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 for SimpleStatement. The correct way to trace a query is by setting the trace argument to True in Session.execute() and Session.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