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 {
95
95
96
96
let plan = LogicalPlanBuilder :: copy_to (
97
97
plan,
98
- path. into ( ) ,
98
+ path,
99
99
file_type,
100
100
Default :: default ( ) ,
101
101
options. partition_by ,
Original file line number Diff line number Diff line change @@ -248,9 +248,8 @@ mod tests {
248
248
partitioned_df. write_parquet ( & path, options, None ) . await ?;
249
249
250
250
let test_path = std:: path:: Path :: new ( & path) ;
251
- assert_eq ! (
251
+ assert ! (
252
252
test_path. is_dir( ) ,
253
- true ,
254
253
"No extension and default DataFrameWriteOptons should have yielded a dir."
255
254
) ;
256
255
@@ -287,9 +286,8 @@ mod tests {
287
286
partitioned_df. write_parquet ( & path, options, None ) . await ?;
288
287
289
288
let test_path = std:: path:: Path :: new ( & path) ;
290
- assert_eq ! (
289
+ assert ! (
291
290
test_path. is_file( ) ,
292
- true ,
293
291
"No extension and DataFrameWriteOptons::with_single_file_output(true) should have yielded a single file."
294
292
) ;
295
293
You can’t perform that action at this time.
0 commit comments