You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2009/04/24 21:32:30 UTC

[jira] Updated: (AVRO-9) restrict map keys to strings

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

Doug Cutting updated AVRO-9:
----------------------------

    Attachment: AVRO-9.patch

Here's a patch that updates the spec doc and implements this for Java.

> restrict map keys to strings
> ----------------------------
>
>                 Key: AVRO-9
>                 URL: https://issues.apache.org/jira/browse/AVRO-9
>             Project: Avro
>          Issue Type: Improvement
>          Components: spec
>            Reporter: Doug Cutting
>         Attachments: AVRO-9.patch
>
>
> In many scripting languages, the standard map datastructure does not support arbitrary keys, but rather only strings and possibly numeric values.  To simplify integration with such languages, Avro should restrict map keys to be strings.  Thus, effectively, maps would become dynamic records, records whose field names vary from instance to instance.

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