We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c911ff commit a52dbb0Copy full SHA for a52dbb0
datafusion/core/tests/sql/mod.rs
@@ -887,21 +887,6 @@ fn col_str(column: &ArrayRef, row_index: usize) -> String {
887
return "NULL".to_string();
888
}
889
890
- // Special case ListArray as there is no pretty print support for it yet
891
- if let DataType::FixedSizeList(_, n) = column.data_type() {
892
- let array = column
893
- .as_any()
894
- .downcast_ref::<FixedSizeListArray>()
895
- .unwrap()
896
- .value(row_index);
897
-
898
- let mut r = Vec::with_capacity(*n as usize);
899
- for i in 0..*n {
900
- r.push(col_str(&array, i as usize));
901
- }
902
- return format!("[{}]", r.join(","));
903
904
905
array_value_to_string(column, row_index)
906
.ok()
907
.unwrap_or_else(|| "???".to_string())
0 commit comments