alamb commented on code in PR #8350:
URL: https://github.com/apache/arrow-rs/pull/8350#discussion_r2369622082


##########
arrow-schema/src/field.rs:
##########
@@ -391,6 +398,49 @@ impl Field {
     /// ```
     pub fn with_data_type(mut self, data_type: DataType) -> Self {
         self.set_data_type(data_type);
+        self.without_extension_type()

Review Comment:
   In order to support mapping strings --> types we would have to add some sort 
of 'registry' for types I think 
   
   IN datafusion we have `SessionState` for this kind of information, but there 
is nothing analogous in arrow / parquet that I know of (and I am not sure if 
there should be)
   



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