You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Robert G. Jakabosky (JIRA)" <ji...@apache.org> on 2010/04/03 15:47:27 UTC

[jira] Created: (AVRO-501) missing function in C api to access array elements after decoding an array.

missing function in C api to access array elements after decoding an array.
---------------------------------------------------------------------------

                 Key: AVRO-501
                 URL: https://issues.apache.org/jira/browse/AVRO-501
             Project: Avro
          Issue Type: Bug
          Components: c
    Affects Versions: 1.3.2
            Reporter: Robert G. Jakabosky


The C Api has no function for accessing the element in an array datum.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AVRO-501) missing function in C api to access array elements after decoding an array.

Posted by "Bruce Mitchener (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruce Mitchener updated AVRO-501:
---------------------------------

    Attachment: avro_array_get.diff

> missing function in C api to access array elements after decoding an array.
> ---------------------------------------------------------------------------
>
>                 Key: AVRO-501
>                 URL: https://issues.apache.org/jira/browse/AVRO-501
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>    Affects Versions: 1.3.2
>            Reporter: Robert G. Jakabosky
>            Assignee: Bruce Mitchener
>         Attachments: avro_array_get.diff
>
>
> The C Api has no function for accessing the element in an array datum.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AVRO-501) missing function in C api to access array elements after decoding an array.

Posted by "Bruce Mitchener (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853263#action_12853263 ] 

Bruce Mitchener commented on AVRO-501:
--------------------------------------

This patch is not sufficient ...

We also need to provide read access to the length ...

And similar stuff for unions, we need to provide read access to the discriminant and the value.

I'd talked about this some with the reporter, but haven't gotten around to doing the patch yet.


> missing function in C api to access array elements after decoding an array.
> ---------------------------------------------------------------------------
>
>                 Key: AVRO-501
>                 URL: https://issues.apache.org/jira/browse/AVRO-501
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>    Affects Versions: 1.3.2
>            Reporter: Robert G. Jakabosky
>            Assignee: Bruce Mitchener
>         Attachments: avro_array_get.diff
>
>
> The C Api has no function for accessing the element in an array datum.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AVRO-501) missing function in C api to access array elements after decoding an array.

Posted by "Bruce Mitchener (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853136#action_12853136 ] 

Bruce Mitchener commented on AVRO-501:
--------------------------------------

The attached patch is not sufficient to really address everything required ... more in another comment.

> missing function in C api to access array elements after decoding an array.
> ---------------------------------------------------------------------------
>
>                 Key: AVRO-501
>                 URL: https://issues.apache.org/jira/browse/AVRO-501
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>    Affects Versions: 1.3.2
>            Reporter: Robert G. Jakabosky
>            Assignee: Bruce Mitchener
>         Attachments: avro_array_get.diff
>
>
> The C Api has no function for accessing the element in an array datum.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (AVRO-501) missing function in C api to access array elements after decoding an array.

Posted by "Bruce Mitchener (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruce Mitchener reassigned AVRO-501:
------------------------------------

    Assignee: Bruce Mitchener

> missing function in C api to access array elements after decoding an array.
> ---------------------------------------------------------------------------
>
>                 Key: AVRO-501
>                 URL: https://issues.apache.org/jira/browse/AVRO-501
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>    Affects Versions: 1.3.2
>            Reporter: Robert G. Jakabosky
>            Assignee: Bruce Mitchener
>         Attachments: avro_array_get.diff
>
>
> The C Api has no function for accessing the element in an array datum.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (AVRO-501) missing function in C api to access array elements after decoding an array.

Posted by "Matt Massie (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Massie resolved AVRO-501.
------------------------------

    Resolution: Fixed

Committed to trunk.

> missing function in C api to access array elements after decoding an array.
> ---------------------------------------------------------------------------
>
>                 Key: AVRO-501
>                 URL: https://issues.apache.org/jira/browse/AVRO-501
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>    Affects Versions: 1.3.2
>            Reporter: Robert G. Jakabosky
>            Assignee: Bruce Mitchener
>         Attachments: avro_array_get.diff
>
>
> The C Api has no function for accessing the element in an array datum.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (AVRO-501) missing function in C api to access array elements after decoding an array.

Posted by "Bruce Mitchener (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruce Mitchener reopened AVRO-501:
----------------------------------


As per my last comment...

> missing function in C api to access array elements after decoding an array.
> ---------------------------------------------------------------------------
>
>                 Key: AVRO-501
>                 URL: https://issues.apache.org/jira/browse/AVRO-501
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>    Affects Versions: 1.3.2
>            Reporter: Robert G. Jakabosky
>            Assignee: Bruce Mitchener
>         Attachments: avro_array_get.diff
>
>
> The C Api has no function for accessing the element in an array datum.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.