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

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

                Author: ASF GitHub Bot
            Created on: 22/Aug/22 21:56
            Start Date: 22/Aug/22 21:56
    Worklog Time Spent: 10m 
      Work Description: rayokota commented on PR #1833:
URL: https://github.com/apache/avro/pull/1833#issuecomment-1223162854

   @KalleOlaviNiemitalo , it turns out that the schema above was not parseable 
in the C# implementation, due to 
https://issues.apache.org/jira/browse/AVRO-3613.  I've fixed that issue in this 
PR by overriding the `Fullname` property in `LogicalSchema`.  Fixing that also 
fixed some behavior in the `JsonGrammarGenerator` and the 
`ValidatingGrammarGenerator` that relied on `Fullname`.
   
   There was another issue with your schema in that there was an ambiguity when 
trying to JSON encode a `Date`, since both logicalTypes could be used to 
represent a `Date`.  I changed your example to have one of the fields be a 
logical type of `Uuid` instead.
   




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

    Worklog Id:     (was: 802639)
    Time Spent: 2h 50m  (was: 2h 40m)

> JsonEncode Decode support for C#
> --------------------------------
>
>                 Key: AVRO-3001
>                 URL: https://issues.apache.org/jira/browse/AVRO-3001
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: csharp
>    Affects Versions: 1.10.0, 1.11.0
>            Reporter: Krishnan Unni
>            Assignee: Robert Yokota
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> The C# library for avro currently supports only the Binary encoding and also 
> with compile time types (Generic support only). As part of a project I am 
> doing I need to validate the avro schema against the incoming json data on 
> the fly without a predefined type (generated class). So basically comparing 
> an avro schema (string/json representation) against a raw json string. It is 
> possible with the Java library since it supports both non generic types and 
> streams as well as json encoding. With C# currently this is not possible. Is 
> there a plan to extend the C# library to provide these features? If yes, is 
> there a timeline? If not is there any alternative to achieve this? 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to