viirya commented on code in PR #9238:
URL: https://github.com/apache/arrow-datafusion/pull/9238#discussion_r1491326276
##########
datafusion/common/src/scalar/struct_builder.rs:
##########
@@ -39,8 +39,40 @@ impl ScalarStructBuilder {
Self::default()
}
- /// Return a new [`ScalarValue::Struct`] with the specified fields and a
- /// single null value
+ /// Return a new [`ScalarValue::Struct`] with a single `null` value.
+ ///
+ /// Note this is different from a struct where each of the specified fields
+ /// are null (e.g. `{a: NULL}`)
+ ///
Review Comment:
👍
--
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]