Juliusz Nadberezny created FLINK-37198:
------------------------------------------
Summary: AvroToRowDataConverters factory omits
legacyTimestampMapping option for nested Row.
Key: FLINK-37198
URL: https://issues.apache.org/jira/browse/FLINK-37198
Project: Flink
Issue Type: Bug
Components: API / Type Serialization System
Affects Versions: 1.20.0
Reporter: Juliusz Nadberezny
A{{{}vroToRowDataConverters#createRowConverter{}}} method skips
legacyTimestampMapping option when defining nested {{Row}} converter.
The problem is in the following line:
[https://github.com/apache/flink/blob/533ead6ae946cbc77525d276b6dea965d390181a/flink-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/AvroToRowDataConverters.java#L149]
It should be:
{{createRowConverter((RowType) type, legacyTimestampMapping)}}
Instead of:
{{createRowConverter((RowType) type)}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)