[
https://issues.apache.org/jira/browse/FLINK-38432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18047175#comment-18047175
]
Zhe Wang commented on FLINK-38432:
----------------------------------
[~wzx] Hi, I'd like work on this ticket, could you assgin it to me?
> Missing finish/reset for keyWriter/valueWriter in ArrowMapWriter
> ----------------------------------------------------------------
>
> Key: FLINK-38432
> URL: https://issues.apache.org/jira/browse/FLINK-38432
> Project: Flink
> Issue Type: Bug
> Reporter: Frank Wong
> Priority: Major
> Labels: pull-request-available
>
> The _finish_ and _reset_ methods in
> _org.apache.flink.table.runtime.arrow.writers.MapWriter_ should be
> implemented in the same way as in
> {_}org.apache.flink.table.runtime.arrow.writers.RowWriter{_}.
> Otherwise, the following sequence will lead to incorrect behavior:
>
> {code:java}
> MapWriter.write
> // Arrow data is right
> MapWriter.finish
> MapWriter.reset
> MapWriter.write
> // Arrow data is wrong, map is null
> MapWriter.finish
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)