j0xaf / avro-2471

Reproducing the bug of AVRO-2471

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

avro-2471

Reproducing the bug of AVRO-2471

This repository contains a JUnit test to reproduce https://issues.apache.org/jira/browse/AVRO-2471.

Workaround

The workaround for the bug is to manually register a the conversion:

AvdlUnion1Record record = ...;
record.getSpecificData().addLogicalTypeConversion(TimestampMicrosConversion());

About

Reproducing the bug of AVRO-2471


Languages

Language:Java 100.0%