avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Carey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1299) SpecificRecordBase implements GenericRecord
Date Mon, 22 Apr 2013 21:35:16 GMT

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

Scott Carey commented on AVRO-1299:
-----------------------------------

I guess only my sense of purity -- an Immutable object that throws an exception on set feels
very dirty and a violation of the contract.  At this point, we already have a put() via IndexedRecord
interface so I don't see any harm in this.


                
> SpecificRecordBase implements GenericRecord
> -------------------------------------------
>
>                 Key: AVRO-1299
>                 URL: https://issues.apache.org/jira/browse/AVRO-1299
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.7.4
>            Reporter: Christophe Taton
>            Priority: Minor
>             Fix For: 1.7.5
>
>         Attachments: AVRO-1299.20130416-222225.patch, AVRO-1299.20130417-101039.patch,
AVRO-1299.20130418-133947.patch
>
>
> Code written for generic records should be directly applicable on equivalent specific
records.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message