[ 
https://issues.apache.org/jira/browse/AVRO-435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12839856#action_12839856
 ] 

Scott Carey commented on AVRO-435:
----------------------------------


I think that this is best done at the API level with serialization unchanged.  
Something like Doug's proposal should work.  

For cross-language purposes farther down the road, we might want to have some 
support for this in schema metadata that is not language specific.  Perhaps 
something like.

{"type": "array", "items": "int", "subtype": "set"}  

(or, "unique": true  ?)

Languages could optionally do something with that information.

> Support Set containers
> ----------------------
>
>                 Key: AVRO-435
>                 URL: https://issues.apache.org/jira/browse/AVRO-435
>             Project: Avro
>          Issue Type: New Feature
>          Components: spec
>            Reporter: Jonathan Ellis
>            Priority: Minor
>
> Cassandra uses Set as a return type for some methods.  It would be nice to 
> not have to use a List as a workaround.

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

Reply via email to