avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AVRO-9) restrict map keys to strings
Date Fri, 24 Apr 2009 19:32:30 GMT

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

View raw message