File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
datafusion-examples/examples
datafusion/core/src/datasource Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -274,7 +274,10 @@ from
274274 for table in tables {
275275 ctx. register_table (
276276 table. name ,
277- Arc :: new ( MemTable :: try_new ( Arc :: new ( table. schema . clone ( ) ) , vec ! [ vec![ ] ] ) ?) ,
277+ Arc :: new ( MemTable :: try_new (
278+ Arc :: new ( table. schema . clone ( ) ) ,
279+ vec ! [ vec![ ] ] ,
280+ ) ?) ,
278281 ) ?;
279282 }
280283 // We can create a LogicalPlan from a SQL query like this
Original file line number Diff line number Diff line change @@ -446,7 +446,7 @@ mod tests {
446446 . unwrap_err ( ) ;
447447 // Ensure that there is a descriptive error message
448448 assert_eq ! (
449- "Error during planning: Cannot insert into MemTable with zero partitions " ,
449+ "Error during planning: No partitions provided, expected at least one partition " ,
450450 experiment_result. strip_backtrace( )
451451 ) ;
452452 Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments