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

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

Commit bbe3db4cc1ef68eaa129586beb5978e6315d598f in avro's branch 
refs/heads/master from Serhii Almazov
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=bbe3db4 ]

AVRO-3265: Fix avrogen code generation for Avro namespaces (#1423)

Fixes an issue when the generated code is uncompilable if the namespace to be 
generated ends with ".Avro"

> avrogen generates uncompilable code when namespace ends with ".Avro"
> --------------------------------------------------------------------
>
>                 Key: AVRO-3265
>                 URL: https://issues.apache.org/jira/browse/AVRO-3265
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: csharp
>    Affects Versions: 1.11.0
>         Environment: Using avrogen version 1.11.0:
> {code:java}
> dotnet tool install Apache.Avro.Tools --global 
> You can invoke the tool using the following command: avrogen
> Tool 'apache.avro.tools' (version '1.11.0') was successfully installed.
> {code}
>  
>            Reporter: Serhii Almazov
>            Assignee: Serhii Almazov
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.11.1
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> See reproduction repo: [https://github.com/almazik/avrogen-bug-repro]
> When the C# namespace ends with ".Avro", the generated code is uncompilable 
> due to the namespace naming collision.
> The generated code should prefix "Avro." namespace declarations with 
> "global::" prefix
>  



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

Reply via email to