Do the following:
my $c = Net::Cassandra::Easy->new(server => 'localhost', port => '9160', keyspace => 'Keyspace1'); $c->connect(); my $uuid_bin = Data::UUID->new()->create_bin(); eval { $result = $c->mutate([$key], family => 'StandardByUUID1', insertions => { $uuid_bin => '123' }); }; warn $@ if $@ ;
Result:
Net::GenCassandra::InvalidRequestException
I have not seen anything like Net :: Cassandra :: Easy :: pack_decimal for UUID.
source share