rspears74 commented on code in PR #8562:
URL: https://github.com/apache/arrow-datafusion/pull/8562#discussion_r1443800597
##########
datafusion/common/src/scalar.rs:
##########
@@ -2937,13 +3015,33 @@ impl fmt::Display for ScalarValue {
)?,
None => write!(f, "NULL")?,
},
- ScalarValue::List(arr)
- | ScalarValue::LargeList(arr)
- | ScalarValue::FixedSizeList(arr) => {
+ ScalarValue::List(arr) => {
// ScalarValue List should always have a single element
assert_eq!(arr.len(), 1);
let options =
FormatOptions::default().with_display_error(true);
- let formatter = ArrayFormatter::try_new(arr,
&options).unwrap();
+ let formatter =
Review Comment:
I'll take care of this one too. I went through my changes looking for any
larger duplication sections but missed this one.
--
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]