osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'ResultSet' object has no attribute 'column_types'


On 02/04/2017 03:46 AM, Jonathan Ness wrote:
> We upgraded our Linux test cluster from 3.9 to 3.10 tonight and now we
> are unable to use cqlsh to select rows from any table.
> 
> [cqlsh 5.0.1 | Cassandra 3.10 | CQL spec 3.4.4 | Native protocol v4]
> Use HELP for help.
> cqlsh> select * from veraminetest.hosts;
> 
> *'ResultSet' object has no attribute ‘column_types'*
> *
> *
> I am guessing this is due to some kind of python-related change in 3.10.
>  Is anyone else hitting this?  Thanks.

We've seen this before with multiple versions of the python-driver
installed on the system. `cqlsh` should be using the one installed at
lib/cassandra-driver-internal-only-3.7.0.post0-2481531.zip, but if you
have an older version installed on the system, depending on your setup,
it may try to use it.

https://issues.apache.org/jira/browse/CASSANDRA-12799

-- 
Kind regards,
Michael