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 {
64
64
let schema = Schema :: new ( vec ! [
65
65
Field :: new( "id" , DataType :: Int8 , true ) ,
66
66
Field :: new( "area" , DataType :: Int8 , true ) ,
67
- Field :: new( "area " , DataType :: Utf8 , true ) ,
67
+ Field :: new( "name " , DataType :: Utf8 , true ) ,
68
68
] ) ;
69
69
let record_batch = RecordBatch :: try_new (
70
70
Arc :: new ( schema) ,
@@ -74,7 +74,7 @@ mod test {
74
74
let mut app = db. appender ( "foo" ) ?;
75
75
app. append_record_batch ( record_batch) ?;
76
76
}
77
- let mut stmt = db. prepare ( "SELECT id, area,name FROM foo" ) ?;
77
+ let mut stmt = db. prepare ( "SELECT id, area, name FROM foo" ) ?;
78
78
let rbs: Vec < RecordBatch > = stmt. query_arrow ( [ ] ) ?. collect ( ) ;
79
79
assert_eq ! ( rbs. iter( ) . map( |op| op. num_rows( ) ) . sum:: <usize >( ) , 5 ) ;
80
80
Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments