File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
crates/duckdb/src/appender Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ mod test {
65
65
let schema = Schema :: new ( vec ! [
66
66
Field :: new( "id" , DataType :: Int8 , true ) ,
67
67
Field :: new( "area" , DataType :: Int8 , true ) ,
68
- Field :: new( "area " , DataType :: Utf8 , true ) ,
68
+ Field :: new( "name " , DataType :: Utf8 , true ) ,
69
69
] ) ;
70
70
let record_batch = RecordBatch :: try_new (
71
71
Arc :: new ( schema) ,
@@ -75,7 +75,7 @@ mod test {
75
75
let mut app = db. appender ( "foo" ) ?;
76
76
app. append_record_batch ( record_batch) ?;
77
77
}
78
- let mut stmt = db. prepare ( "SELECT id, area,name FROM foo" ) ?;
78
+ let mut stmt = db. prepare ( "SELECT id, area, name FROM foo" ) ?;
79
79
let rbs: Vec < RecordBatch > = stmt. query_arrow ( [ ] ) ?. collect ( ) ;
80
80
assert_eq ! ( rbs. iter( ) . map( |op| op. num_rows( ) ) . sum:: <usize >( ) , 5 ) ;
81
81
Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments