jorisvandenbossche commented on PR #33925:
URL: https://github.com/apache/arrow/pull/33925#issuecomment-1408541676

   > Only one extension type with a given name can be _registered_ at a time. 
Multiple can coexist, but register can only keep one extension per name.
   
   It's only the name that is being registered, along with the methods to 
serialize / deserialize. The actual metadata (i.e. the only thing that differs 
between two different extension type instances of the same type) isn't part of 
the type class that is being registered, and so for a single registered 
(parametrized) type, you can have many _instance_ alive at the same time with a 
different parametrization (i.e. different metadata).  
   That's the goal of having parametrized types (and so you _don't_ want to 
have those parameters (metadata) in the name of the extension type. Otherwise 
you would have to register every possible parametrization).
   
   


-- 
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]

Reply via email to