Yuhan Zhang created CASSANDRA-4661:
--------------------------------------

             Summary: cassandra-cli: allow Double value type to be inserted to 
a column
                 Key: CASSANDRA-4661
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4661
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Yuhan Zhang


as a cassandra-cli user, I'd like to set DoubleType value to cassandra through 
the cli tool, such that I could create test data from the cli tool easily.

(similarly, I'd like to Double value available in the "assume" command: ex: 
assume pageCache comparator as double; )


The email related to this issue:

Hi all,

I'm trying to manually adding some double values into a column family. From the 
Hector client, there's a DoubleSerializer.
but looks like the cli tool is not providing a way to enter floating point 
values. here's the message I got:

[default@video] set cateogry['1']['sport'] = float('0.5');
Function 'float' not found. Available functions: bytes, integer, long, int, 
lexicaluuid, timeuuid, utf8, ascii, countercolumn.

Is there a way to insert floating pointer value from the cli tool?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to