[
https://issues.apache.org/jira/browse/AVRO-3602?focusedWorklogId=803729&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-803729
]
ASF GitHub Bot logged work on AVRO-3602:
----------------------------------------
Author: ASF GitHub Bot
Created on: 25/Aug/22 18:34
Start Date: 25/Aug/22 18:34
Worklog Time Spent: 10m
Work Description: yurybubnov opened a new pull request, #1838:
URL: https://github.com/apache/avro/pull/1838
Support Map(with non-String keys) and Set in ReflectDatumReader.
Backport of merged [MR](https://github.com/apache/avro/pull/1818) to 1.11
branch
Jira
My PR addresses the following
[AVRO-3602](https://issues.apache.org/jira/browse/AVRO-3602) issues
Tests
My PR adds the following unit tests:
TestReflectDatumReader.testRead_PojoWithSet
TestReflectDatumReader.testRead_PojoWithMap
Issue Time Tracking
-------------------
Worklog Id: (was: 803729)
Time Spent: 40m (was: 0.5h)
> Support Map(with non-String keys) and Set in ReflectDatumReader
> ----------------------------------------------------------------
>
> Key: AVRO-3602
> URL: https://issues.apache.org/jira/browse/AVRO-3602
> Project: Apache Avro
> Issue Type: Improvement
> Components: java
> Affects Versions: 1.11.1
> Reporter: Yury Bubnov
> Assignee: Yury Bubnov
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.12.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> At the moment, {{ReflectDatumReader}} supports only {{List}} interface
> fields. Attempt to use {{Map}} or {{Set}} throws an exception.
> Since the Map and Set other two major collection interfaces, it would be nice
> if Avro {{ReflectDatumReader }}supported them too.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)