cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-5810) Round-off problem for double values
Date Fri, 26 Jul 2013 15:13:48 GMT

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

Aleksey Yeschenko resolved CASSANDRA-5810.
------------------------------------------

    Resolution: Invalid

Nope, it's the default float precision (set to 5, in this case rounds up to .1, as it should).

If you need more precision shown by cqlsh, set something like

{noformat}
[ui]
float_precision = 10
{noformat}

in your ~/.cqlshrc
                
> Round-off problem for double values
> -----------------------------------
>
>                 Key: CASSANDRA-5810
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5810
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>         Environment: Cassandra 1.2.6, CQL3, JavaSE 1.6.0_45-b06
>            Reporter: koray sariteke
>            Assignee: Aleksey Yeschenko
>            Priority: Minor
>
> When wide row column family is created, CQL rounds-off double values.

--
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