Skip to content

Commit a52dbb0

Browse files
authored
remove code that's in the arrow library now (#3206)
1 parent 3c911ff commit a52dbb0

File tree

1 file changed

+0
-15
lines changed
  • datafusion/core/tests/sql

1 file changed

+0
-15
lines changed

datafusion/core/tests/sql/mod.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -887,21 +887,6 @@ fn col_str(column: &ArrayRef, row_index: usize) -> String {
887887
return "NULL".to_string();
888888
}
889889

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-
905890
array_value_to_string(column, row_index)
906891
.ok()
907892
.unwrap_or_else(|| "???".to_string())

0 commit comments

Comments
 (0)