Skip to content

Commit

Permalink
CI: fix tpcds test (#4528)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoucheng361 authored Mar 18, 2024
1 parent eb5fa9d commit 9b9ba54
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/tpcds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ jobs:
- name: Set up Spark
working-directory: /tmp
run: |
spark_version=3.3.3
curl https://dlcdn.apache.org/spark/ > a.html
spark_version=$(grep -o 'spark-[0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}' a.html | uniq | sort -r | head -1 | awk -F- '{print $2}')
echo "spark_version is $spark_version"
wget -q https://dlcdn.apache.org/spark/spark-$spark_version/spark-$spark_version-bin-hadoop3.tgz
tar -zxf spark-$spark_version-bin-hadoop3.tgz
ln -s spark-$spark_version-bin-hadoop3 spark
Expand Down

0 comments on commit 9b9ba54

Please sign in to comment.