You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Cory Snyder (JIRA)" <ji...@apache.org> on 2014/09/30 20:16:35 UTC
[jira] [Updated] (CASSANDRA-8030) cqlsh error when selecting data
from a table with nested UDTs
[ https://issues.apache.org/jira/browse/CASSANDRA-8030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cory Snyder updated CASSANDRA-8030:
-----------------------------------
Description:
The schema that was being used when this error was produced is attached. Whenever I try to select data from the LOAD_BALANCER_SERVICE table after having written data with non-empty sets for either the pools or virtual_servers fields, cqlsh fails with the following exception:
{code}
Traceback (most recent call last):
File "/usr/bin/cqlsh", line 909, in perform_simple_statement
rows = self.session.execute(statement, trace=self.tracing_enabled)
File "/usr/share/cassandra/lib/cassandra-driver-internal-only-2.1.0.post.zip/cassandra-driver-2.1.0.post/cassandra/cluster.py", line 1281, in execute
result = future.result(timeout)
File "/usr/share/cassandra/lib/cassandra-driver-internal-only-2.1.0.post.zip/cassandra-driver-2.1.0.post/cassandra/cluster.py", line 2772, in result
raise self._final_exception
TypeError: unhashable type: 'set'
{code}
I am, however, able to select the data from the table with the Java Datastax driver. I am also able to select data from the table if both the pools and virtual_servers fields are empty sets.
was:
The schema that was being used when this error was produced is attached. Whenever I try to select data from the LOAD_BALANCER_SERVICE table after having written data with non-empty sets for either the pools or virtual_servers fields, cqlsh fails with the following exception:
Traceback (most recent call last):
File "/usr/bin/cqlsh", line 909, in perform_simple_statement
rows = self.session.execute(statement, trace=self.tracing_enabled)
File "/usr/share/cassandra/lib/cassandra-driver-internal-only-2.1.0.post.zip/cassandra-driver-2.1.0.post/cassandra/cluster.py", line 1281, in execute
result = future.result(timeout)
File "/usr/share/cassandra/lib/cassandra-driver-internal-only-2.1.0.post.zip/cassandra-driver-2.1.0.post/cassandra/cluster.py", line 2772, in result
raise self._final_exception
TypeError: unhashable type: 'set'
I am, however, able to select the data from the table with the Java Datastax driver. I am also able to select data from the table if both the pools and virtual_servers fields are empty sets.
> cqlsh error when selecting data from a table with nested UDTs
> -------------------------------------------------------------
>
> Key: CASSANDRA-8030
> URL: https://issues.apache.org/jira/browse/CASSANDRA-8030
> Project: Cassandra
> Issue Type: Bug
> Environment: Ubuntu 14.04. Cassandra 2.1.0. Single node.
> Reporter: Cory Snyder
> Attachments: schema.txt
>
>
> The schema that was being used when this error was produced is attached. Whenever I try to select data from the LOAD_BALANCER_SERVICE table after having written data with non-empty sets for either the pools or virtual_servers fields, cqlsh fails with the following exception:
> {code}
> Traceback (most recent call last):
> File "/usr/bin/cqlsh", line 909, in perform_simple_statement
> rows = self.session.execute(statement, trace=self.tracing_enabled)
> File "/usr/share/cassandra/lib/cassandra-driver-internal-only-2.1.0.post.zip/cassandra-driver-2.1.0.post/cassandra/cluster.py", line 1281, in execute
> result = future.result(timeout)
> File "/usr/share/cassandra/lib/cassandra-driver-internal-only-2.1.0.post.zip/cassandra-driver-2.1.0.post/cassandra/cluster.py", line 2772, in result
> raise self._final_exception
> TypeError: unhashable type: 'set'
> {code}
> I am, however, able to select the data from the table with the Java Datastax driver. I am also able to select data from the table if both the pools and virtual_servers fields are empty sets.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)