rok opened a new pull request, #44215:
URL: https://github.com/apache/arrow/pull/44215

   ### Rationale for this change
   
   As noted in 
https://github.com/apache/arrow/pull/13901#pullrequestreview-2324294761:
   ```cpp
   bool JsonExtensionType::ExtensionEquals(const ExtensionType& other) const {
     return other.extension_name() == this->extension_name();
   }
   ```
   > This equality check does not take into account the storage type, but only 
the name.
   > As a consequence, a JsonExtensionType<string> type will be seen as equal 
to JsonExtensionType<large_string>.
   
   ### What changes are included in this PR?
   
   This change introduces storage equality check into `JsonExtensionType` 
equality check.
   
   This also fixes a storage type check in `JsonExtensionType::Make`.
   
   ### Are these changes tested?
   
   Yes.
   
   ### Are there any user-facing changes?
   
   No.


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