klion26 commented on issue #8922:
URL: https://github.com/apache/arrow-rs/issues/8922#issuecomment-3585086992
Currently, `shred_variant(array: &VariantArray, as_type: &DataType)` needs
to pass in a `DataType`, it may become difficult for some `DataType::Struct`,
the new builder is more convenient for this. +1 for adding this.
PS, the old interface receives the `DataType` as a parameter, it's more
arrow-native(`DataType/Field` are types already in arrow-rs), not sure if we
need to keep it or not.
--
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]