sryza opened a new pull request, #53140:
URL: https://github.com/apache/spark/pull/53140

   ### What changes were proposed in this pull request?
   
   If the name provided to `spark-pipelines init` matches an existing 
directory, raises an error instead of overwriting the existing directory's 
contents.
   
   ### Why are the changes needed?
   
   Help users avoid accidentally overwriting their code.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes, to an unreleased version.
   
   ### How was this patch tested?
   
   Added unit test for the cases where init is invoked with an existing 
directory.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   <!--
   If generative AI tooling has been used in the process of authoring this 
patch, please include the
   phrase: 'Generated-by: ' followed by the name of the tool and its version.
   If no, write 'No'.
   Please refer to the [ASF Generative Tooling 
Guidance](https://www.apache.org/legal/generative-tooling.html) for details.
   -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to