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 2022/01/14 14:40:00 UTC

[jira] [Work logged] (AVRO-3135) Add schema serialization/deserialization hooks, to aid implementation of "schema references"

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

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

                Author: ASF GitHub Bot
            Created on: 14/Jan/22 14:39
            Start Date: 14/Jan/22 14:39
    Worklog Time Spent: 10m 
      Work Description: zolyfarkas commented on pull request #1217:
URL: https://github.com/apache/avro/pull/1217#issuecomment-1013183705


   > The thing I like about current `.avsc` files is that they are complete. Using external references breaks that, and would require some form of compilation/resolution to name the schema complete again.
   > 
   > Instead, one can also use `.avdl` (IDL) files: these support resolving imports from both
   > 
   > * the file system (splitting large schemata in multiple files) and
   > * the class path (allowing your dependency system to import schemata by version)
   
   avsc and avdl are not equivalent, avsc is a data format for schemas while avdl is a format for interfaces/protocols.
   avdl is not serialization/deserialization friendly. but it's json representation .avpr is. 
   
   I understand your point.
   What about this change enabling a new schema format? let's call it ".ravsc".
   .avsc remains references free .ravsc introduces references support...
   
   Think about this PR about enabling the ability to implement .ravsc ....
   
   to understand why I think this is worthwhile, see the use cases I described [at](https://github.com/zolyfarkas/jaxrs-spf4j-demo/wiki/AvroReferences#why-avro-references).
   
   


-- 
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: issues-unsubscribe@avro.apache.org

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


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

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

> Add schema serialization/deserialization hooks, to aid implementation of "schema references"
> --------------------------------------------------------------------------------------------
>
>                 Key: AVRO-3135
>                 URL: https://issues.apache.org/jira/browse/AVRO-3135
>             Project: Apache Avro
>          Issue Type: New Feature
>          Components: java
>            Reporter: Zoltan Farkas
>            Assignee: Zoltan Farkas
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> This capability's main use case is to allow easy implementation of schema references. For a more detailed writeup please see: https://github.com/zolyfarkas/jaxrs-spf4j-demo/wiki/AvroReferences#why-avro-references



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