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

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

                Author: ASF GitHub Bot
            Created on: 18/Mar/22 19:19
            Start Date: 18/Mar/22 19:19
    Worklog Time Spent: 10m 
      Work Description: RyanSkraba merged pull request #1590:
URL: https://github.com/apache/avro/pull/1590


   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

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

> Automatically register LogicalTypeFactory classes
> -------------------------------------------------
>
>                 Key: AVRO-3441
>                 URL: https://issues.apache.org/jira/browse/AVRO-3441
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: java, logical types
>    Affects Versions: 1.11.0
>            Reporter: Oscar Westra van Holthe - Kind
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.11.1
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Manually registering a {{LogicalTypeFactory}} is cumbersome, but necessary if 
> creating the factory requires constructor parameters.
> For most cases though, a {{LogicalTypeFactory}} gets all the information it 
> needs from the schema. This makes it a good candidate for a SPI (using the 
> Java 6 {{ServiceLoader}} class). The PR demonstrates that this is quite easy, 
> because the interface already supports registering a {{LogicalTypeFactory}} 
> without any additional information.



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

Reply via email to