mbrobbel commented on issue #8030: URL: https://github.com/apache/arrow-rs/issues/8030#issuecomment-3215212375
I agree it would be nice to remove the experimental warning. There is one thing I've been thinking about that we may want to change: currently when adding an extension type to a field via [`Field::with_extension_type`](https://github.com/apache/arrow-rs/blob/76b75eebc50466c4726d93107791ac44f07df313/arrow-schema/src/field.rs#L499-L543) we check that the data type of the field is supported by the given extension type via [`ExtensionType::supports_data_type`](https://github.com/apache/arrow-rs/blob/76b75eebc50466c4726d93107791ac44f07df313/arrow-schema/src/extension/mod.rs#L250-L252). However, the data type of a field can be changed via [`Field::set_data_type`](https://github.com/apache/arrow-rs/blob/76b75eebc50466c4726d93107791ac44f07df313/arrow-schema/src/field.rs#L369-L381). This means you can construct fields with invalid extension type information (the extension type in the metadata does not support the updated data type of the field). I'm not sure what the best way is to solve t his yet, so I don't know if we even need a breaking change to fix it - if we even want to "fix" this. -- 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