You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Collin Scangarella (JIRA)" <ji...@apache.org> on 2018/03/13 23:39:00 UTC
[jira] [Issue Comment Deleted] (AVRO-435) Support Set containers
[ https://issues.apache.org/jira/browse/AVRO-435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Collin Scangarella updated AVRO-435:
------------------------------------
Comment: was deleted
(was: Hey Doug - thanks for the implementation info. I have included your recommendations in a patch. To sum up: SpecificCompiler::javaType returns a Set if the useSet property is present. GenericDatumReader now has a Set which extends Array. GenericDatumReader::newArray returns a Set if the useSet property is present. There are tests for SpecificCompiler and GenericDatumReader but not for GenericDatumReader.Set (as it just extends GenericDatumReader.Array and doesn't enforce uniqueness per your comments).)
> 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 was sent by Atlassian JIRA
(v7.6.3#76005)