File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
native/core/src/execution Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -3388,7 +3388,7 @@ mod tests {
33883388
33893389 // generate test data in the temp folder
33903390 let tmp_dir = TempDir :: new ( ) ?;
3391- let test_path = tmp_dir. path ( ) . to_str ( ) . unwrap ( ) . to_string ( ) ;
3391+ let test_path = tmp_dir. path ( ) . to_str ( ) . unwrap ( ) ;
33923392
33933393 let plan = session_ctx
33943394 . sql ( test_data_query)
@@ -3397,13 +3397,11 @@ mod tests {
33973397 . await ?;
33983398
33993399 // Write a parquet file into temp folder
3400- session_ctx
3401- . write_parquet ( plan, test_path. clone ( ) , None )
3402- . await ?;
3400+ session_ctx. write_parquet ( plan, test_path, None ) . await ?;
34033401
34043402 // Register all parquet with temp data as file groups
34053403 let mut file_groups: Vec < FileGroup > = vec ! [ ] ;
3406- for entry in std:: fs:: read_dir ( & test_path) ? {
3404+ for entry in std:: fs:: read_dir ( test_path) ? {
34073405 let entry = entry?;
34083406 let path = entry. path ( ) ;
34093407
You can’t perform that action at this time.
0 commit comments