You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ma...@apache.org on 2022/06/28 19:03:31 UTC

[flink] branch release-1.14 updated: [FLINK-28263][TPCDS][Tests] Clean-up generated data folder by TPCDS test

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

martijnvisser pushed a commit to branch release-1.14
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.14 by this push:
     new 852713c52e1 [FLINK-28263][TPCDS][Tests] Clean-up generated data folder by TPCDS test
852713c52e1 is described below

commit 852713c52e1c4ce8d27905f5d3dedaed2015d4eb
Author: MartijnVisser <ma...@apache.org>
AuthorDate: Tue Jun 28 10:48:06 2022 +0200

    [FLINK-28263][TPCDS][Tests] Clean-up generated data folder by TPCDS test
---
 flink-end-to-end-tests/test-scripts/test_tpcds.sh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/flink-end-to-end-tests/test-scripts/test_tpcds.sh b/flink-end-to-end-tests/test-scripts/test_tpcds.sh
index 8eaf51d1ef0..37cee79eef8 100755
--- a/flink-end-to-end-tests/test-scripts/test_tpcds.sh
+++ b/flink-end-to-end-tests/test-scripts/test_tpcds.sh
@@ -80,3 +80,10 @@ mkdir -p "$QUALIFIED_ANSWER_DIR"
 java -cp "$TARGET_DIR/TpcdsTestProgram.jar:$TARGET_DIR/lib/*" org.apache.flink.table.tpcds.utils.AnswerFormatter -originDir "$ORGIN_ANSWER_DIR" -destDir "$QUALIFIED_ANSWER_DIR"
 
 java -cp "$TARGET_DIR/TpcdsTestProgram.jar:$TARGET_DIR/lib/*" org.apache.flink.table.tpcds.utils.TpcdsResultComparator -expectedDir "$QUALIFIED_ANSWER_DIR" -actualDir "$RESULT_DIR"
+
+################################################################################
+# Clean-up generated data folder
+################################################################################
+
+rm -rf "${TPCDS_DATA_DIR}"
+echo "Deleted all files under $TPCDS_DATA_DIR"