File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ mod test {
6464 let schema = Schema :: new ( vec ! [
6565 Field :: new( "id" , DataType :: Int8 , true ) ,
6666 Field :: new( "area" , DataType :: Int8 , true ) ,
67- Field :: new( "area " , DataType :: Utf8 , true ) ,
67+ Field :: new( "name " , DataType :: Utf8 , true ) ,
6868 ] ) ;
6969 let record_batch = RecordBatch :: try_new (
7070 Arc :: new ( schema) ,
@@ -74,7 +74,7 @@ mod test {
7474 let mut app = db. appender ( "foo" ) ?;
7575 app. append_record_batch ( record_batch) ?;
7676 }
77- let mut stmt = db. prepare ( "SELECT id, area,name FROM foo" ) ?;
77+ let mut stmt = db. prepare ( "SELECT id, area, name FROM foo" ) ?;
7878 let rbs: Vec < RecordBatch > = stmt. query_arrow ( [ ] ) ?. collect ( ) ;
7979 assert_eq ! ( rbs. iter( ) . map( |op| op. num_rows( ) ) . sum:: <usize >( ) , 5 ) ;
8080 Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments