[
https://issues.apache.org/jira/browse/AVRO-435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16397852#comment-16397852
]
Collin Scangarella commented on AVRO-435:
-----------------------------------------
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)