You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/08/11 03:41:00 UTC
[jira] [Work logged] (AVRO-3602) Support Map(with non-String keys) and Set in ReflectDatumReader
[ https://issues.apache.org/jira/browse/AVRO-3602?focusedWorklogId=799869&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-799869 ]
ASF GitHub Bot logged work on AVRO-3602:
----------------------------------------
Author: ASF GitHub Bot
Created on: 11/Aug/22 03:40
Start Date: 11/Aug/22 03:40
Worklog Time Spent: 10m
Work Description: yurybubnov opened a new pull request, #1818:
URL: https://github.com/apache/avro/pull/1818
**Support Map(with non-String keys) and Set in ReflectDatumReader**
### 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: 799869)
Remaining Estimate: 0h
Time Spent: 10m
> 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
> Priority: Major
> Time Spent: 10m
> 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)