[
https://issues.apache.org/jira/browse/CASSANDRA-1457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905639#action_12905639
]
Jeremy Hanna commented on CASSANDRA-1457:
-----------------------------------------
specific situations - in cassandra.thrift, KeyRange.count has a default of 100,
and get_range_slices has required consistency_level but a default of CL.ONE.
Trying to match the outcome in avro becomes tricky, especially in a standard
way across all the definitions.
> better encapsulate handling of avro defaults
> --------------------------------------------
>
> Key: CASSANDRA-1457
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1457
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.7 beta 1
> Reporter: Eric Evans
> Assignee: Eric Evans
> Fix For: 0.7.0
>
>
> Avro doesn't support defaults (in the same way that Thrift does), and so the
> code is littered with expressions that test for null and apply a value from a
> static final attribute of CassandraServer (or worse).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.