crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Wills (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CRUNCH-197) Adjust AvroKeyConverter to use AvroKey
Date Wed, 24 Apr 2013 23:47:13 GMT

     [ https://issues.apache.org/jira/browse/CRUNCH-197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Josh Wills resolved CRUNCH-197.
-------------------------------

    Resolution: Fixed

Pushed to master.
                
> Adjust AvroKeyConverter to use AvroKey
> --------------------------------------
>
>                 Key: CRUNCH-197
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-197
>             Project: Crunch
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Micah Whitacre
>            Assignee: Josh Wills
>             Fix For: 0.6.0
>
>         Attachments: CRUNCH-197.patch
>
>
> Change the ArvoKeyConverter class to do the following instead of returning an AvroWrapper.
>   private AvroWrapper<K> getWrapper() {
>     if (wrapper == null) {
>       wrapper = new AvroKey<K>();
>     }
>     return wrapper;
>   }

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