File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ impl DataFrame {
9595
9696 let plan = LogicalPlanBuilder :: copy_to (
9797 plan,
98- path. into ( ) ,
98+ path,
9999 file_type,
100100 Default :: default ( ) ,
101101 options. partition_by ,
Original file line number Diff line number Diff line change @@ -248,9 +248,8 @@ mod tests {
248248 partitioned_df. write_parquet ( & path, options, None ) . await ?;
249249
250250 let test_path = std:: path:: Path :: new ( & path) ;
251- assert_eq ! (
251+ assert ! (
252252 test_path. is_dir( ) ,
253- true ,
254253 "No extension and default DataFrameWriteOptons should have yielded a dir."
255254 ) ;
256255
@@ -287,9 +286,8 @@ mod tests {
287286 partitioned_df. write_parquet ( & path, options, None ) . await ?;
288287
289288 let test_path = std:: path:: Path :: new ( & path) ;
290- assert_eq ! (
289+ assert ! (
291290 test_path. is_file( ) ,
292- true ,
293291 "No extension and DataFrameWriteOptons::with_single_file_output(true) should have yielded a single file."
294292 ) ;
295293
You can’t perform that action at this time.
0 commit comments