cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Dusbabek (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1457) better encapsulate handling of avro defaults
Date Fri, 03 Sep 2010 12:39:34 GMT

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

Gary Dusbabek commented on CASSANDRA-1457:
------------------------------------------

My favorite: empty compare_with implies BytesType, empty compare_subcolumns_with implies null
(for columns) or BytesType (for supercolumns).  FWIW, I favor explicitly setting everything.

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


Mime
View raw message