scovich commented on issue #8319:
URL: https://github.com/apache/arrow-rs/issues/8319#issuecomment-3285839359

   > I figure there's a canonical extension type for Variant, right?
   
   That's the goal (it _is_ part of parquet, after all). But we've not defined 
the extension type at all yet, let alone made it a canonical extension.
   
   But I don't think canonical extension types solve the problem, because they 
are encoded at `Field` level, not `DataType`. Which is ~useless to the myriad 
code sites that perform array downcasting based on `Array::data_type`. 
   
   That's why there's no `JsonArray` or `UuidArray` type for example. Making it 
canonical just makes it easily available to users because it's centrally 
defined.
   
   


-- 
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: github-unsubscr...@arrow.apache.org

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

Reply via email to