Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 17, 2012
  1. @thobbs
Commits on May 29, 2012
  1. @thobbs
Commits on May 26, 2012
  1. @spladug

    Handle timezones more cleanly when autopacking/unpacking.

    spladug authored
    Previously, datetime objects were assumed to be in local time. Now,
    naive objects are expected to be in UTC and timezone-aware objects
    will be converted to UTC for storage.
Commits on Apr 25, 2012
  1. @thobbs
Commits on Apr 24, 2012
  1. @thobbs

    Avoid float precision issues with UUID timestamps

    thobbs authored
    Fixes #135 by using microseconds as an intermediate form
    in place of nanoseconds, which were causing precision loss.
Commits on Apr 16, 2012
  1. @thobbs

    Match C* sorting of TimeUUIDs when timestamps tie

    thobbs authored
    Cassandra uses a signed byte array comparison to break
    ties when two UUIDs have matching timestamp components.
    The slice end templates we use to make the lowest or highest
    possible UUID with the same timestamp needed to be changed
    in order to match this.
Commits on Aug 26, 2011
  1. @thobbs
  2. @thobbs

    Merge branch 'composites'

    thobbs authored
    Conflicts:
    	pycassa/util.py
Commits on Aug 24, 2011
  1. @bjornedstrom @thobbs

    Python2.5 compatibility for BooleanType

    bjornedstrom authored thobbs committed
    Packs as an unsigned char, which yields the same results
    as packing as a boolean, but is compatible with python2.5.
    
    Fixes #72
Commits on Aug 21, 2011
  1. @thobbs

    Convert packing system to pass functions

    thobbs authored
    Instead running through the logic of what type
    a piece of data each time that it's packed or
    unpacked, we can determine the correct basic function
    to use for packing and unpacked one time on initialization
    and just use that.
    
    This will be needed to make the packing and unpacking of
    CompositeTypes efficient, but has a side effect of being
    more efficient for normal types as well.
Commits on Aug 20, 2011
  1. @thobbs
  2. @thobbs
Commits on Aug 19, 2011
  1. @9cloud

    - Unpack structures

    9cloud authored
  2. @9cloud
Commits on Jun 12, 2011
  1. @thobbs

    Add counter support to batch.py

    thobbs authored
Commits on May 2, 2011
  1. @thobbs

    Avoid unnecessary (un)packing of UUIDs

    thobbs authored
    The UUID.bytes attribute may be used without packing
    it as a 16 char string.
Commits on Apr 29, 2011
  1. @thobbs

    Connection detects C* api_version if not supplied

    thobbs authored
    An api_version parameter may be passed to bypass the
    version lookup upon Connection creation.
Commits on Apr 2, 2011
  1. @thobbs

    Unpack IntegerType data as BigInts

    thobbs authored
    This provides compatibility with other libraries
    and cassandra-cli, although pycassa still packs IntegerType
    values as 4-byte integers.
Commits on Feb 25, 2011
  1. @thobbs

    Improved autopacking efficiency.

    thobbs authored
     - Minimize the number of conditions examined when using BytesType
     - Don't bother to pack strings (utf8-encoded or otherwise)
Commits on Feb 24, 2011
  1. @thobbs

    Keep micro precision from datetimes on UUID creation

    thobbs authored
    datetime.timetuple() only includes second precision, so
    it was necessary to extract the microseconds separately
    to keep them from being lost.
    
    This fixes an issue where TimeUUID columns that were inserted
    with datetimes were not ordered beyond second precision.
Commits on Feb 16, 2011
  1. @thobbs

    Handle non-default validators in non-str named cols

    thobbs authored
    Previously, if a validator was added to a column in
    a CF with a comparator_type that was not BytesType or
    AsciiType, the column values were not likely to be
    packed correctly.
    
    This affected SystemManager.create_index() and
    SystemManager.alter_column().  (See issue #40.)
Commits on Nov 27, 2010
  1. @thobbs

    Documentation improvements

    thobbs authored
Commits on Nov 23, 2010
  1. @thobbs
Commits on Nov 2, 2010
  1. @thobbs

    Documentation improvements

    thobbs authored
Commits on Sep 23, 2010
  1. Python 2.4-compatibile checking of number types.

    Daniel Lundin authored
Commits on Sep 22, 2010
  1. @thobbs

    Expose time/uuid funcs in util, autoconvert times to UUID

    thobbs authored
    The convert_time_to_uuid() and convert_uuid_to_time() functions
    have been moved and added to util.py.  Non slice arguments for
    TimeUUID column names and values will now also be converted.
    
    Additionally, timestamps are now accepted in addition to datetimes.
Commits on Sep 6, 2010
  1. @thobbs
Commits on Sep 3, 2010
  1. @thobbs

    Preliminary failover support; util.py cleanup

    thobbs authored
    Failover now has some support.  It's not completely thoroughly
    tested, clean, or well documented.
Commits on Aug 23, 2010
  1. @thobbs
Something went wrong with that request. Please try again.