You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/12/04 13:42:00 UTC

[jira] [Work logged] (AVRO-3256) IDL: annotations on type references change the referenced type

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

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

                Author: ASF GitHub Bot
            Created on: 04/Dec/21 13:41
            Start Date: 04/Dec/21 13:41
    Worklog Time Spent: 10m 
      Work Description: RyanSkraba merged pull request #1407:
URL: https://github.com/apache/avro/pull/1407


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@avro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

    Worklog Id:     (was: 690515)
    Time Spent: 1.5h  (was: 1h 20m)

> IDL: annotations on type references change the referenced type
> --------------------------------------------------------------
>
>                 Key: AVRO-3256
>                 URL: https://issues.apache.org/jira/browse/AVRO-3256
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: java, spec, tools
>    Affects Versions: 1.11.0
>            Reporter: Oscar Westra van Holthe - Kind
>            Assignee: Oscar Westra van Holthe - Kind
>            Priority: Major
>              Labels: javacc, pull-request-available
>             Fix For: 1.11.1
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> The IDL compiler allows annotations on type references, and applies them on the referenced type.
> As can be seen in the test output file {{simple.avpr}}, the type {{MD5}} has the property {{"foo"="bar"}}.
> But in the input file {{simple.avdl}}:
> * The type definition in lines 39-40 has no such property
> * Line 53 adds the property to the type for the field {{hash}},
> * But it's also silently added to the  type for the field {{nullableHash}} in line 55
> Solution: do not accept annotations for type references.



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