Hi,

I don't know whether my assumption is right or not. When I tried to insert a
Time value into a column I am getting this exception:

vendor/ruby/1.8/gems/thrift-0.5.0/lib/thrift/protocol/binary_protocol.rb:106:in
`write_string'
vendor/ruby/1.8/gems/thrift-0.5.0/lib/thrift/client.rb:35:in `write'
vendor/ruby/1.8/gems/thrift-0.5.0/lib/thrift/client.rb:35:in `send_message'
vendor/ruby/1.8/gems/cassandra-0.9.0/lib/./vendor/0.7/gen-rb/cassandra.rb:213:in
`send_batch_mutate'
vendor/ruby/1.8/gems/cassandra-0.9.0/lib/./vendor/0.7/gen-rb/cassandra.rb:208:in
`batch_mutate'
vendor/ruby/1.8/gems/thrift_client-0.6.0/lib/thrift_client/abstract_thrift_client.rb:115:in
`send'
vendor/ruby/1.8/gems/thrift_client-0.6.0/lib/thrift_client/abstract_thrift_client.rb:115:in
`handled_proxy'
vendor/ruby/1.8/gems/thrift_client-0.6.0/lib/thrift_client/abstract_thrift_client.rb:57:in
`batch_mutate'
vendor/ruby/1.8/gems/cassandra-0.9.0/lib/cassandra/0.7/protocol.rb:8:in
`_mutate'
vendor/ruby/1.8/gems/cassandra-0.9.0/lib/cassandra/cassandra.rb:130:in
`insert'

But I am not getting any error if I insert a Time value into a sub-column.

Is this an error or does it suppose to work that way?

Thanks heaps for the insight.

Kind regards,
Joshua.

-- 
http://twitter.com/jpartogi

Reply via email to