cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-4661) cassandra-cli: allow Double value type to be inserted to a column
Date Tue, 09 Oct 2012 02:26:03 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-4661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13472076#comment-13472076
] 

Dave Brosius commented on CASSANDRA-4661:
-----------------------------------------

committed as b7296316d992d87ddd1043b19388ce1c1fec5a3a
                
> 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
>            Assignee: Dave Brosius
>            Priority: Trivial
>             Fix For: 1.1.6, 1.2.0 beta 2
>
>         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

Mime
View raw message