You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Eric Evans (JIRA)" <ji...@apache.org> on 2011/04/19 18:36:05 UTC

[jira] [Updated] (CASSANDRA-2507) Python CQL driver does not decode most values

     [ https://issues.apache.org/jira/browse/CASSANDRA-2507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Evans updated CASSANDRA-2507:
----------------------------------

    Description: 
Most keys, and column name/values are not decoded properly.  The attached CQL input can be used to demonstrate:

_Note: requires the patch from CASSANDRA-2505 to be applied_

{noformat}
$ drivers/py/cqlsh localhost 9170 < repro.cql 
 | '\x00\x00\x00\x00\x00\x00\x00\x01','\x00\x00\x00\x00\x00\x00\x00\x01' | '\x00\x00\x00\x00\x00\x00\x00\x02','\x00\x00\x00\x00\x00\x00\x00\x02'
e�#j������ | 'e\xe2#\x01j\xa2\x11\xe0\x00\x00\xfe\x8e\xbe\xea\xd9\xff','e\xe2#\x02j\xa2\x11\xe0\x00\x00\xfe\x8e\xbe\xea\xd9\xff'
{noformat}

For all practical purposes, this renders the driver useless for everything but strings.

  was:
Most keys, and column name/values are not decoded properly.  The attached CQL input can be used to demonstrate:

{noformat}
$ drivers/py/cqlsh localhost 9170 < repro.cql 
 | '\x00\x00\x00\x00\x00\x00\x00\x01','\x00\x00\x00\x00\x00\x00\x00\x01' | '\x00\x00\x00\x00\x00\x00\x00\x02','\x00\x00\x00\x00\x00\x00\x00\x02'
e�#j������ | 'e\xe2#\x01j\xa2\x11\xe0\x00\x00\xfe\x8e\xbe\xea\xd9\xff','e\xe2#\x02j\xa2\x11\xe0\x00\x00\xfe\x8e\xbe\xea\xd9\xff'
{noformat}

For all practical purposes, this renders the driver useless for everything but strings.


> Python CQL driver does not decode most values
> ---------------------------------------------
>
>                 Key: CASSANDRA-2507
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2507
>             Project: Cassandra
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 0.8
>            Reporter: Eric Evans
>              Labels: cql
>             Fix For: 0.8
>
>
> Most keys, and column name/values are not decoded properly.  The attached CQL input can be used to demonstrate:
> _Note: requires the patch from CASSANDRA-2505 to be applied_
> {noformat}
> $ drivers/py/cqlsh localhost 9170 < repro.cql 
>  | '\x00\x00\x00\x00\x00\x00\x00\x01','\x00\x00\x00\x00\x00\x00\x00\x01' | '\x00\x00\x00\x00\x00\x00\x00\x02','\x00\x00\x00\x00\x00\x00\x00\x02'
> e�#j������ | 'e\xe2#\x01j\xa2\x11\xe0\x00\x00\xfe\x8e\xbe\xea\xd9\xff','e\xe2#\x02j\xa2\x11\xe0\x00\x00\xfe\x8e\xbe\xea\xd9\xff'
> {noformat}
> For all practical purposes, this renders the driver useless for everything but strings.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira