This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch branch-3.4
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.4 by this push:
     new 1e0fc1ef96aa [SPARK-48237][BUILD] Clean up `dev/pr-deps` at the end of 
`test-dependencies.sh` script
1e0fc1ef96aa is described below

commit 1e0fc1ef96aa6f541134224f1ba626f234442e74
Author: panbingkun <panbing...@baidu.com>
AuthorDate: Fri May 10 19:54:29 2024 -0700

    [SPARK-48237][BUILD] Clean up `dev/pr-deps` at the end of 
`test-dependencies.sh` script
    
    ### What changes were proposed in this pull request?
    The pr aims to delete the dir `dev/pr-deps` after executing 
`test-dependencies.sh`.
    
    ### Why are the changes needed?
    We'd better clean the `temporary files` generated at the end.
    Before:
    ```
    sh dev/test-dependencies.sh
    ```
    <img width="569" alt="image" 
src="https://github.com/apache/spark/assets/15246973/39a56983-774c-4c2d-897d-26a7d0999456";>
    
    After:
    ```
    sh dev/test-dependencies.sh
    ```
    <img width="534" alt="image" 
src="https://github.com/apache/spark/assets/15246973/f7e76e22-63cf-4411-99d0-5e844f8d5a7a";>
    
    ### Does this PR introduce _any_ user-facing change?
    No.
    
    ### How was this patch tested?
    Manually test.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    No.
    
    Closes #46531 from panbingkun/minor_test-dependencies.
    
    Authored-by: panbingkun <panbing...@baidu.com>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
    (cherry picked from commit f699f556d8a09bb755e9c8558661a36fbdb42e73)
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 dev/test-dependencies.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev/test-dependencies.sh b/dev/test-dependencies.sh
index 2268a262d5f8..2907ef27189c 100755
--- a/dev/test-dependencies.sh
+++ b/dev/test-dependencies.sh
@@ -144,4 +144,8 @@ for HADOOP_HIVE_PROFILE in "${HADOOP_HIVE_PROFILES[@]}"; do
   fi
 done
 
+if [[ -d "$FWDIR/dev/pr-deps" ]]; then
+  rm -rf "$FWDIR/dev/pr-deps"
+fi
+
 exit 0


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to