Jamison929611 commented on code in PR #24282:
URL: https://github.com/apache/datafusion/pull/24282#discussion_r3782572311


##########
datafusion/expr-common/src/signature.rs:
##########
@@ -1118,6 +1117,22 @@ impl Coercion {
         }
     }
 
+    /// Create a new coercion to a native logical type with implicit coercion 
rules.
+    ///
+    /// The native type of `desired_type` is used as the default type when 
coercing
+    /// from `allowed_source_types`.

Review Comment:
   Updated the docs to call this out as a convenience method for coercing to a 
specific logical type and avoiding passing the native default cast type 
separately.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to