[jira] [Updated] (CASSANDRA-8919) cqlsh return error in querying of CompositeType data

2015-03-26 Thread Aleksey Yeschenko (JIRA)

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

Aleksey Yeschenko updated CASSANDRA-8919:
-
Fix Version/s: (was: 2.1.2)
   2.1.4

 cqlsh return error in querying of CompositeType data
 

 Key: CASSANDRA-8919
 URL: https://issues.apache.org/jira/browse/CASSANDRA-8919
 Project: Cassandra
  Issue Type: Bug
  Components: Tools
 Environment: SUSE 11 SP3, C* 2.1.2
Reporter: Mark
Assignee: Tyler Hobbs
Priority: Minor
  Labels: cqlsh
 Fix For: 2.1.4


 cqlsh return below error when querying CompositeType data. Seems like 
 deserialize_safe is undefined for this CompositeType. Is it a issue need to 
 fix?
 {code}
 cassandra@cqlsh:up_data select * from test_stand;
 Traceback (most recent call last):
   File /home/mql/bin/cqlsh, line 986, in perform_simple_statement
 rows = self.session.execute(statement, trace=self.tracing_enabled)
   File 
 /home/mql/bin/../lib/cassandra-driver-internal-only-2.1.2.zip/cassandra-driver-2.1.2/cassandra/cluster.py,
  line 1294, in execute
 result = future.result(timeout)
   File 
 /home/mql/bin/../lib/cassandra-driver-internal-only-2.1.2.zip/cassandra-driver-2.1.2/cassandra/cluster.py,
  line 2788, in result
 raise self._final_exception
 AttributeError: type object 'CompositeType(UTF8Type, Int32Type)' has no 
 attribute 'deserialize_safe'
 {code}
 Pre-condition (in cassandra-cli)
 {code}
 create keyspace up_data with placement_strategy = 
 'org.apache.cassandra.locator.SimpleStrategy' and strategy_options = 
 {replication_factor:1};
 use up_data;
 create column family test_stand
 with column_type = 'Standard'
 and comparator = 'UTF8Type'
 and default_validation_class = 'BytesType'
 and key_validation_class = 'UTF8Type'
 and column_metadata = [
 {column_name : 'UTF8Typefield',
 validation_class : 'UTF8Type'},
 {column_name : 'IntegerTypefield',
 validation_class : 'IntegerType'},
 {column_name : 'CompositeTypefield',
 validation_class : 
 'CompositeType(org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.Int32Type)'}
 ] and compression_options = null;
 set test_stand ['test_stand1']['UTF8Typefield']='utf8Type';
 set test_stand ['test_stand1']['CompositeTypefield']='utf8Type,12';
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CASSANDRA-8919) cqlsh return error in querying of CompositeType data

2015-03-05 Thread Philip Thompson (JIRA)

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

Philip Thompson updated CASSANDRA-8919:
---
Labels: cqlsh  (was: )

 cqlsh return error in querying of CompositeType data
 

 Key: CASSANDRA-8919
 URL: https://issues.apache.org/jira/browse/CASSANDRA-8919
 Project: Cassandra
  Issue Type: Bug
  Components: Tools
 Environment: SUSE 11 SP3, C* 2.1.2
Reporter: Mark
Assignee: Tyler Hobbs
Priority: Minor
  Labels: cqlsh
 Fix For: 2.1.2


 cqlsh return below error when querying CompositeType data. Seems like 
 deserialize_safe is undefined for this CompositeType. Is it a issue need to 
 fix?
 {code}
 cassandra@cqlsh:up_data select * from test_stand;
 Traceback (most recent call last):
   File /home/mql/bin/cqlsh, line 986, in perform_simple_statement
 rows = self.session.execute(statement, trace=self.tracing_enabled)
   File 
 /home/mql/bin/../lib/cassandra-driver-internal-only-2.1.2.zip/cassandra-driver-2.1.2/cassandra/cluster.py,
  line 1294, in execute
 result = future.result(timeout)
   File 
 /home/mql/bin/../lib/cassandra-driver-internal-only-2.1.2.zip/cassandra-driver-2.1.2/cassandra/cluster.py,
  line 2788, in result
 raise self._final_exception
 AttributeError: type object 'CompositeType(UTF8Type, Int32Type)' has no 
 attribute 'deserialize_safe'
 {code}
 Pre-condition (in cassandra-cli)
 {code}
 create keyspace up_data with placement_strategy = 
 'org.apache.cassandra.locator.SimpleStrategy' and strategy_options = 
 {replication_factor:1};
 use up_data;
 create column family test_stand
 with column_type = 'Standard'
 and comparator = 'UTF8Type'
 and default_validation_class = 'BytesType'
 and key_validation_class = 'UTF8Type'
 and column_metadata = [
 {column_name : 'UTF8Typefield',
 validation_class : 'UTF8Type'},
 {column_name : 'IntegerTypefield',
 validation_class : 'IntegerType'},
 {column_name : 'CompositeTypefield',
 validation_class : 
 'CompositeType(org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.Int32Type)'}
 ] and compression_options = null;
 set test_stand ['test_stand1']['UTF8Typefield']='utf8Type';
 set test_stand ['test_stand1']['CompositeTypefield']='utf8Type,12';
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CASSANDRA-8919) cqlsh return error in querying of CompositeType data

2015-03-05 Thread Mikhail Stepura (JIRA)

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

Mikhail Stepura updated CASSANDRA-8919:
---
Description: 
cqlsh return below error when querying CompositeType data. Seems like 
deserialize_safe is undefined for this CompositeType. Is it a issue need to fix?
{code}
cassandra@cqlsh:up_data select * from test_stand;
Traceback (most recent call last):
  File /home/mql/bin/cqlsh, line 986, in perform_simple_statement
rows = self.session.execute(statement, trace=self.tracing_enabled)
  File 
/home/mql/bin/../lib/cassandra-driver-internal-only-2.1.2.zip/cassandra-driver-2.1.2/cassandra/cluster.py,
 line 1294, in execute
result = future.result(timeout)
  File 
/home/mql/bin/../lib/cassandra-driver-internal-only-2.1.2.zip/cassandra-driver-2.1.2/cassandra/cluster.py,
 line 2788, in result
raise self._final_exception
AttributeError: type object 'CompositeType(UTF8Type, Int32Type)' has no 
attribute 'deserialize_safe'
{code}
Pre-condition (in cassandra-cli)
{code}
create keyspace up_data with placement_strategy = 
'org.apache.cassandra.locator.SimpleStrategy' and strategy_options = 
{replication_factor:1};
use up_data;
create column family test_stand
with column_type = 'Standard'
and comparator = 'UTF8Type'
and default_validation_class = 'BytesType'
and key_validation_class = 'UTF8Type'
and column_metadata = [
{column_name : 'UTF8Typefield',
validation_class : 'UTF8Type'},
{column_name : 'IntegerTypefield',
validation_class : 'IntegerType'},
{column_name : 'CompositeTypefield',
validation_class : 
'CompositeType(org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.Int32Type)'}
] and compression_options = null;

set test_stand ['test_stand1']['UTF8Typefield']='utf8Type';
set test_stand ['test_stand1']['CompositeTypefield']='utf8Type,12';
{code}


  was:
cqlsh return below error when querying CompositeType data. Seems like 
deserialize_safe is undefined for this CompositeType. Is it a issue need to fix?

cassandra@cqlsh:up_data select * from test_stand;
Traceback (most recent call last):
  File /home/mql/bin/cqlsh, line 986, in perform_simple_statement
rows = self.session.execute(statement, trace=self.tracing_enabled)
  File 
/home/mql/bin/../lib/cassandra-driver-internal-only-2.1.2.zip/cassandra-driver-2.1.2/cassandra/cluster.py,
 line 1294, in execute
result = future.result(timeout)
  File 
/home/mql/bin/../lib/cassandra-driver-internal-only-2.1.2.zip/cassandra-driver-2.1.2/cassandra/cluster.py,
 line 2788, in result
raise self._final_exception
AttributeError: type object 'CompositeType(UTF8Type, Int32Type)' has no 
attribute 'deserialize_safe'

Pre-condition (in cassandra-cli)
create keyspace up_data with placement_strategy = 
'org.apache.cassandra.locator.SimpleStrategy' and strategy_options = 
{replication_factor:1};
use up_data;
create column family test_stand
with column_type = 'Standard'
and comparator = 'UTF8Type'
and default_validation_class = 'BytesType'
and key_validation_class = 'UTF8Type'
and column_metadata = [
{column_name : 'UTF8Typefield',
validation_class : 'UTF8Type'},
{column_name : 'IntegerTypefield',
validation_class : 'IntegerType'},
{column_name : 'CompositeTypefield',
validation_class : 
'CompositeType(org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.Int32Type)'}
] and compression_options = null;

set test_stand ['test_stand1']['UTF8Typefield']='utf8Type';
set test_stand ['test_stand1']['CompositeTypefield']='utf8Type,12';




 cqlsh return error in querying of CompositeType data
 

 Key: CASSANDRA-8919
 URL: https://issues.apache.org/jira/browse/CASSANDRA-8919
 Project: Cassandra
  Issue Type: Bug
  Components: Tools
 Environment: SUSE 11 SP3, C* 2.1.2
Reporter: Mark
Priority: Minor
 Fix For: 2.1.2


 cqlsh return below error when querying CompositeType data. Seems like 
 deserialize_safe is undefined for this CompositeType. Is it a issue need to 
 fix?
 {code}
 cassandra@cqlsh:up_data select * from test_stand;
 Traceback (most recent call last):
   File /home/mql/bin/cqlsh, line 986, in perform_simple_statement
 rows = self.session.execute(statement, trace=self.tracing_enabled)
   File 
 /home/mql/bin/../lib/cassandra-driver-internal-only-2.1.2.zip/cassandra-driver-2.1.2/cassandra/cluster.py,
  line 1294, in execute
 result = future.result(timeout)
   File 
 /home/mql/bin/../lib/cassandra-driver-internal-only-2.1.2.zip/cassandra-driver-2.1.2/cassandra/cluster.py,
  line 2788, in result
 raise self._final_exception
 AttributeError: type object 'CompositeType(UTF8Type, Int32Type)' has no 
 attribute 'deserialize_safe'
 {code}
 Pre-condition (in cassandra-cli)
 {code}
 create keyspace up_data with placement_strategy =