jkosh44 commented on code in PR #14532:
URL: https://github.com/apache/datafusion/pull/14532#discussion_r1946583823


##########
datafusion/common/src/utils/mod.rs:
##########
@@ -602,26 +602,46 @@ pub fn base_type(data_type: &DataType) -> DataType {
 ///
 /// let data_type = 
DataType::List(Arc::new(Field::new_list_field(DataType::Int32, true)));
 /// let base_type = DataType::Float64;
-/// let coerced_type = coerced_type_with_base_type_only(&data_type, 
&base_type);
+/// let coerced_type = coerced_type_with_base_type_only(&data_type, 
&base_type, true);
 /// assert_eq!(coerced_type, 
DataType::List(Arc::new(Field::new_list_field(DataType::Float64, true))));
 pub fn coerced_type_with_base_type_only(
     data_type: &DataType,
     base_type: &DataType,
+    mutable: bool,

Review Comment:
   We couldn't use the enum here because this crate doesn't have access to the 
enum.



-- 
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...@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to