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 {
6565 let schema = Schema :: new ( vec ! [
6666 Field :: new( "id" , DataType :: Int8 , true ) ,
6767 Field :: new( "area" , DataType :: Int8 , true ) ,
68- Field :: new( "area " , DataType :: Utf8 , true ) ,
68+ Field :: new( "name " , DataType :: Utf8 , true ) ,
6969 ] ) ;
7070 let record_batch = RecordBatch :: try_new (
7171 Arc :: new ( schema) ,
@@ -75,7 +75,7 @@ mod test {
7575 let mut app = db. appender ( "foo" ) ?;
7676 app. append_record_batch ( record_batch) ?;
7777 }
78- let mut stmt = db. prepare ( "SELECT id, area,name FROM foo" ) ?;
78+ let mut stmt = db. prepare ( "SELECT id, area, name FROM foo" ) ?;
7979 let rbs: Vec < RecordBatch > = stmt. query_arrow ( [ ] ) ?. collect ( ) ;
8080 assert_eq ! ( rbs. iter( ) . map( |op| op. num_rows( ) ) . sum:: <usize >( ) , 5 ) ;
8181 Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments