cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-11255) COPY TO should have higher double precision
Date Thu, 17 Mar 2016 09:17:33 GMT

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

Sylvain Lebresne commented on CASSANDRA-11255:
----------------------------------------------

The only thing I'm wondering is if for consistency we shouldn't have a {{floatprecision}}
for COPY, even if it default to the cqlsh option. Otherwise, it's weird when you want to change
both precision to have to use the cqlsh option for float and the COPY one for double. Also,
wouldn't it make sense to add a {{double_precision}} option to cqlsh for consistency? 

> COPY TO should have higher double precision
> -------------------------------------------
>
>                 Key: CASSANDRA-11255
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11255
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Stefania
>            Assignee: Stefania
>              Labels: doc-impacting, lhf
>             Fix For: 3.x
>
>
> At the moment COPY TO uses the same float precision as cqlsh, which by default is 5 but
it can be changed in cqlshrc. However, typically people want to preserve precision when exporting
data and so this default is too low for COPY TO.
> I suggest adding a new COPY FROM option to specify floating point precision with a much
higher default value, for example 12.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message