[ 
https://issues.apache.org/jira/browse/AVRO-3265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ryan Skraba updated AVRO-3265:
------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Cherry-picked to 
[branch-1.11|https://github.com/apache/avro/commit/b79275fa2ebfa155aee13e1afd77bc1749c56e64].
  Thanks for this contribution!  This should appear in the next release.

> 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