Apache DataFusion SQL Query Engine
remove code that's in the arrow library now (#3206)
kmitchenera52dbb0de618
diff --git a/datafusion/core/tests/sql/mod.rs b/datafusion/core/tests/sql/mod.rsindex 3e50b4346d..131c3c8bcf 100644--- a/datafusion/core/tests/sql/mod.rs+++ b/datafusion/core/tests/sql/mod.rs@@ -887,21 +887,6 @@ fn col_str(column: &ArrayRef, row_index: usize) -> String {return "NULL".to_string();}- // Special case ListArray as there is no pretty print support for it yet- if let DataType::FixedSizeList(_, n) = column.data_type() {- let array = column- .as_any()- .downcast_ref::<FixedSizeListArray>()- .unwrap()- .value(row_index);-- let mut r = Vec::with_capacity(*n as usize);- for i in 0..*n {- r.push(col_str(&array, i as usize));- }- return format!("[{}]", r.join(","));- }-array_value_to_string(column, row_index).ok().unwrap_or_else(|| "???".to_string())