comphead commented on code in PR #16203:
URL: https://github.com/apache/datafusion/pull/16203#discussion_r2112201561


##########
datafusion/functions-nested/src/extract.rs:
##########
@@ -225,6 +225,23 @@ where
         return Ok(Arc::new(NullArray::new(array.len())));
     }
 
+    if let DataType::Struct(fields) = values.data_type() {
+        let has_null_fields = fields.iter().any(|field| field.data_type() == 
&Null);

Review Comment:
   oh, now I realize the problem happens only if the struct has with with 
`null` as the value



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