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

Reply via email to