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

ASF GitHub Bot logged work on AVRO-3468:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 26/Apr/22 11:12
            Start Date: 26/Apr/22 11:12
    Worklog Time Spent: 10m 
      Work Description: anekdoti commented on PR #1622:
URL: https://github.com/apache/avro/pull/1622#issuecomment-1109665518

   @zcsizmadia I stumbled over a possible inconsistency in the Resolver for 
default values 
(https://github.com/apache/avro/blob/master/lang/csharp/src/apache/main/IO/Resolver.cs#L76)
 and the same holds for the Avro JSON encoding (both in Java and in the C#) 
implementation. While the Avro specification states that "bytes" and "fixed" 
are represented by UTF-8 strings, the implementation uses ISO-8859-1 instead. 
Maybe I am missing the point and there is no problem at all, but it would be 
great to hear your judgement.




Issue Time Tracking
-------------------

    Worklog Id:     (was: 762236)
    Time Spent: 7h 10m  (was: 7h)

> 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 10m
>  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.7#820007)

Reply via email to