cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Somov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1313) make cache sizes in CfDef Strings again so we can use %s of rows in the CF as in 0.6
Date Fri, 30 Jul 2010 15:14:17 GMT

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

Andrey Somov commented on CASSANDRA-1313:
-----------------------------------------

You do not need to patch SnakeYAML to achieve the goal. SnakeYAML has the following feature:
any scalar which matches a given regular expression can be constructed with some custom code.
Examples can be found in the tests.

We shall think twice before we patch SnakeYAML. Appending '%' to a number is not a common
pattern. It is not part of the YAML specification. Other users may be confused when they get
Float when they expect String

-
Andrey 


> make cache sizes in CfDef Strings again so we can use %s of rows in the CF as in 0.6
> ------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1313
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1313
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7 beta 1
>            Reporter: Jonathan Ellis
>            Assignee: Jon Hermes
>             Fix For: 0.7.0
>
>         Attachments: 1313.txt, snakeyaml-output.patch, snakeyaml-percentToFloat.txt,
snakeyaml-r1131-dev1.jar
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message