You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dave Brosius (JIRA)" <ji...@apache.org> on 2012/09/13 05:16:08 UTC

[jira] [Updated] (CASSANDRA-4661) cassandra-cli: allow Double value type to be inserted to a column

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

Dave Brosius updated CASSANDRA-4661:
------------------------------------

    Attachment: 4661.txt

add double('1.0') parsing
                
> 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
>         Attachments: 4661.txt
>
>
> 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