You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Douglas Creager (JIRA)" <ji...@apache.org> on 2011/07/15 01:42:00 UTC

[jira] [Resolved] (AVRO-629) avro_array_get is a misnomer

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

Douglas Creager resolved AVRO-629.
----------------------------------

       Resolution: Won't Fix
    Fix Version/s: 1.6.0
                   1.5.2
         Assignee: Douglas Creager

In the new value API (AVRO-837), the analogous method is called {{avro_value_get_by_index}}.  We can leave this as-is in the old datum API, both for backwards compatibility, and because the datum API is deprecated anyway.

> avro_array_get is a misnomer
> ----------------------------
>
>                 Key: AVRO-629
>                 URL: https://issues.apache.org/jira/browse/AVRO-629
>             Project: Avro
>          Issue Type: Improvement
>          Components: c
>    Affects Versions: 1.4.0
>            Reporter: Gavin M. Roy
>            Assignee: Douglas Creager
>             Fix For: 1.5.2, 1.6.0
>
>
> The new function avro_array_get is a misnomer since it only allows you to grab a single datum from the array passing in the index of the datum.  It should renamed to reflect this behavior.  A suggestion would be to rename it to avro_array_get_datum_at_index().

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira