We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc2a33f commit e0b5f7dCopy full SHA for e0b5f7d
1 file changed
benchmarks/bench.sh
@@ -609,9 +609,19 @@ data_tpch() {
609
610
# Points to TPCDS data generation instructions
611
data_tpcds() {
612
+ TPCDS_DIR="${DATA_DIR}"
613
+
614
+ # Check if TPCDS data directory exists
615
+ if [ ! -d "${TPCDS_DIR}" ]; then
616
+ echo ""
617
+ echo "For TPC-DS data generation, please clone the datafusion-benchmarks repository:"
618
+ echo " git clone https://github.com/apache/datafusion-benchmarks"
619
620
+ return 1
621
+ fi
622
623
echo ""
- echo "For TPC-DS data generation, please clone the datafusion-benchmarks repository:"
- echo " git clone https://github.com/apache/datafusion-benchmarks"
624
+ echo "TPC-DS data already exists in ${TPCDS_DIR}"
625
626
}
627
0 commit comments