You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "sryza (via GitHub)" <gi...@apache.org> on 2025/11/20 15:25:24 UTC

[PR] [SPARK-54435][SDP] spark-pipelines init should avoid overwriting existing directory [spark]

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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-54435][SDP] spark-pipelines init should avoid overwriting existing directory [spark]

Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun closed pull request #53140: [SPARK-54435][SDP] spark-pipelines init should avoid overwriting existing directory
URL: https://github.com/apache/spark/pull/53140


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-54435][SDP] spark-pipelines init should avoid overwriting existing directory [spark]

Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun commented on PR #53140:
URL: https://github.com/apache/spark/pull/53140#issuecomment-3559216918

   Merged to master/4.1.


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org