Nathaniel Burger created AVRO-2978:
--------------------------------------
Summary: C#: microseconds logical types are rounding data values
to only have milliseconds resolution
Key: AVRO-2978
URL: https://issues.apache.org/jira/browse/AVRO-2978
Project: Apache Avro
Issue Type: Bug
Components: csharp
Affects Versions: 1.9.2, 1.10.0
Reporter: Nathaniel Burger
Attachments: MicrosecondLogicalTypesFixes.patch
The C# implementation from [~timjroberts] of the time-micros and
timestamp-micros logical types are not preserving the microseconds resolution
of data. Instead they appear to be rounding things to milliseconds and did not
have sufficient unit test coverage to flag this. These issues appear to have
been flagged by [~matt1024] during the [code review of the pull request for
AVRO-2359|https://github.com/apache/avro/pull/492] but did not appear to have
been addressed before the pull request was merged in. Attached is a patch with
suggested improvements to address this to maintain microsecond resolution.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)