[ 
https://issues.apache.org/jira/browse/AVRO-3468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17513982#comment-17513982
 ] 

ASF subversion and git services commented on AVRO-3468:
-------------------------------------------------------

Commit 65eb24a6275632d02eed8bca54c71314bfdb42e2 in avro's branch 
refs/heads/master from Lucas Heimberg
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=65eb24a ]

AVRO-3468: Handle default values for logical types (#1622)

* AVRO-3468: Add handling of default values for logical types

This extends the resolver to handle default values for logical types
according to their base schema.

* AVRO-3468: Fix tests for conversion of default values to decimal logical type

Because of a possible bug in the handling of TestCaseData in NUnit,
the tests for the decimal logical type are separate from the tests
for other logical types.

* AVRO-3468: Add tests for decimal binary encoding

* AVRO-3468: Fix tests by parsing decimals culture-invariant

* AVRO-3468: Removes redundant using statement

* AVRO-3468: Add comment about CultureInfo to tests

Co-authored-by: l.heimberg <[email protected]>

> Default values for logical types not supported
> ----------------------------------------------
>
>                 Key: AVRO-3468
>                 URL: https://issues.apache.org/jira/browse/AVRO-3468
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: csharp
>    Affects Versions: 1.11.0
>            Reporter: Lucas Heimberg
>            Assignee: Martin Tzvetanov Grigorov
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.11.1, 1.12.0
>
>          Time Spent: 7h
>  Remaining Estimate: 0h
>
> The C# implementation of Avro does not support default values for logical 
> types on deserialization. It seems that the method EncodeDefaultValue in 
> Avro.IO.Resolver is lacking a case for logical types that resorts to the base 
> schema.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to