-
Notifications
You must be signed in to change notification settings - Fork 28.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into skip_transform
- Loading branch information
Showing
336 changed files
with
21,367 additions
and
1,367 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -327,7 +327,7 @@ jobs: | |
run: | | ||
apt-get install -y libcurl4-openssl-dev libgit2-dev libssl-dev libxml2-dev | ||
Rscript -e "install.packages(c('devtools'), repos='https://cloud.r-project.org/')" | ||
Rscript -e "devtools::install_github('jimhester/[email protected].0')" | ||
Rscript -e "devtools::install_github('jimhester/[email protected].1')" | ||
./R/install-dev.sh | ||
- name: Install dependencies for documentation generation | ||
run: | | ||
|
@@ -367,6 +367,17 @@ jobs: | |
steps: | ||
- name: Checkout Spark repository | ||
uses: actions/checkout@v2 | ||
- name: Cache Scala, SBT and Maven | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
build/apache-maven-* | ||
build/scala-* | ||
build/*.jar | ||
~/.sbt | ||
key: build-${{ hashFiles('**/pom.xml', 'project/build.properties', 'build/mvn', 'build/sbt', 'build/sbt-launch-lib.bash', 'build/spark-build-info') }} | ||
restore-keys: | | ||
build- | ||
- name: Cache Maven local repository | ||
uses: actions/cache@v2 | ||
with: | ||
|
@@ -392,6 +403,17 @@ jobs: | |
steps: | ||
- name: Checkout Spark repository | ||
uses: actions/checkout@v2 | ||
- name: Cache Scala, SBT and Maven | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
build/apache-maven-* | ||
build/scala-* | ||
build/*.jar | ||
~/.sbt | ||
key: build-${{ hashFiles('**/pom.xml', 'project/build.properties', 'build/mvn', 'build/sbt', 'build/sbt-launch-lib.bash', 'build/spark-build-info') }} | ||
restore-keys: | | ||
build- | ||
- name: Cache Coursier local repository | ||
uses: actions/cache@v2 | ||
with: | ||
|
@@ -414,6 +436,17 @@ jobs: | |
steps: | ||
- name: Checkout Spark repository | ||
uses: actions/checkout@v2 | ||
- name: Cache Scala, SBT and Maven | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
build/apache-maven-* | ||
build/scala-* | ||
build/*.jar | ||
~/.sbt | ||
key: build-${{ hashFiles('**/pom.xml', 'project/build.properties', 'build/mvn', 'build/sbt', 'build/sbt-launch-lib.bash', 'build/spark-build-info') }} | ||
restore-keys: | | ||
build- | ||
- name: Cache Coursier local repository | ||
uses: actions/cache@v2 | ||
with: | ||
|
@@ -428,3 +461,62 @@ jobs: | |
- name: Build with SBT | ||
run: | | ||
./build/sbt -Pyarn -Pmesos -Pkubernetes -Phive -Phive-thriftserver -Phadoop-cloud -Pkinesis-asl -Phadoop-2.7 compile test:compile | ||
tpcds-1g: | ||
name: Run TPC-DS queries with SF=1 | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout Spark repository | ||
uses: actions/checkout@v2 | ||
- name: Cache TPC-DS generated data | ||
id: cache-tpcds-sf-1 | ||
uses: actions/cache@v2 | ||
with: | ||
path: ./tpcds-sf-1 | ||
key: tpcds-${{ hashFiles('tpcds-sf-1/.spark-tpcds-sf-1.md5') }} | ||
restore-keys: | | ||
tpcds- | ||
- name: Checkout TPC-DS (SF=1) generated data repository | ||
if: steps.cache-tpcds-sf-1.outputs.cache-hit != 'true' | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: maropu/spark-tpcds-sf-1 | ||
ref: 6b660a53091bd6d23cbe58b0f09aae08e71cc667 | ||
path: ./tpcds-sf-1 | ||
- name: Cache Scala, SBT and Maven | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
build/apache-maven-* | ||
build/scala-* | ||
build/*.jar | ||
~/.sbt | ||
key: build-${{ hashFiles('**/pom.xml', 'project/build.properties', 'build/mvn', 'build/sbt', 'build/sbt-launch-lib.bash', 'build/spark-build-info') }} | ||
restore-keys: | | ||
build- | ||
- name: Cache Coursier local repository | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.cache/coursier | ||
key: tpcds-coursier-${{ hashFiles('**/pom.xml', '**/plugins.sbt') }} | ||
restore-keys: | | ||
tpcds-coursier- | ||
- name: Install Java 8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 8 | ||
- name: Run TPC-DS queries | ||
run: | | ||
SPARK_TPCDS_DATA=`pwd`/tpcds-sf-1 build/sbt "sql/testOnly org.apache.spark.sql.TPCDSQueryTestSuite" | ||
- name: Upload test results to report | ||
if: always() | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: test-results-tpcds--8-hadoop3.2-hive2.3 | ||
path: "**/target/test-reports/*.xml" | ||
- name: Upload unit tests log files | ||
if: failure() | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: unit-tests-log-tpcds--8-hadoop3.2-hive2.3 | ||
path: "**/target/unit-tests.log" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.