We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
test_crud_sql
1 parent 11401fe commit 152d94dCopy full SHA for 152d94d
1 file changed
src/db.rs
@@ -126,6 +126,7 @@ mod test {
126
use arrow::compute::concat_batches;
127
use arrow::datatypes::Schema;
128
use arrow::record_batch::RecordBatch;
129
+ use arrow::util::pretty::print_batches;
130
use itertools::Itertools;
131
use crate::catalog::{ColumnCatalog, ColumnDesc};
132
use crate::db::Database;
@@ -185,7 +186,7 @@ mod test {
185
186
let table = database.storage
187
.get_catalog()
188
.get_table(0).unwrap().clone();
- println!("{:#?}", concat_batches(&table.schema(), &vec_batch));
189
+ print_batches(&vec_batch)?;
190
191
Ok(())
192
})
0 commit comments