alamb commented on code in PR #26145:
URL: https://github.com/apache/datafusion/pull/26145#discussion_r4416463012


##########
datafusion/common/src/dfschema.rs:
##########
@@ -1231,6 +1231,14 @@ pub trait ExprSchema: std::fmt::Debug {
 
     // Return the column's field
     fn field_from_column(&self, col: &Column) -> Result<&FieldRef>;
+
+    /// Return the field and column nullability together.
+    ///
+    /// The default preserves custom implementations of [`Self::nullable`].
+    fn field_and_nullable(&self, col: &Column) -> Result<(&FieldRef, bool)> {

Review Comment:
   the field has a nullability column, right? Why can't this just use the 
existing nullability from `Field`?



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