pitrou commented on a change in pull request #8136: URL: https://github.com/apache/arrow/pull/8136#discussion_r484974652
########## File path: cpp/src/arrow/extension_type.h ########## @@ -80,6 +81,12 @@ class ARROW_EXPORT ExtensionType : public DataType { /// \return the serialized representation virtual std::string Serialize() const = 0; + static std::shared_ptr<Array> WrapArray(const std::shared_ptr<DataType>& ext_type, + const std::shared_ptr<Array>& storage); + static std::shared_ptr<ChunkedArray> WrapArray( + const std::shared_ptr<DataType>& ext_type, + const std::shared_ptr<ChunkedArray>& storage); Review comment: @wesm Thoughts about this API? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org