Skip to content

Commit

Permalink
[KYUUBI #1975] [BUILD] Run TPC-DS test using the default Spark version
Browse files Browse the repository at this point in the history
### _Why are the changes needed?_

Use the default Spark version to run TPC-DS test.

### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [ ] Add screenshots for manual tests if appropriate

- [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #1975 from pan3793/tpcds.

Closes #1975

ecdda1d [Cheng Pan] style
1e8468f [Cheng Pan] nit
9666cd8 [Cheng Pan] Update golden file
10b3893 [Cheng Pan] default spark version
c1c9b03 [Cheng Pan] [BUILD] Run TPC-DS test using Spark 3.2

Authored-by: Cheng Pan <chengpan@apache.org>
Signed-off-by: Cheng Pan <chengpan@apache.org>
  • Loading branch information
pan3793 committed Feb 24, 2022
1 parent a3d9ca3 commit 3cbedea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/master.yml
Expand Up @@ -116,7 +116,6 @@ jobs:
run: >-
./build/mvn clean install -Dmaven.javadoc.skip=true -Drat.skip=true -Dscalastyle.skip=true -Dspotless.check.skip -Dorg.slf4j.simpleLogger.defaultLogLevel=warn -V
-pl kyuubi-server -am
-Pspark-3.1
-Dmaven.plugin.scalatest.exclude.tags=''
-Dtest=none -DwildcardSuites=org.apache.kyuubi.operation.tpcds
Expand Down
@@ -1 +1 @@
struct<promotions:decimal,total:decimal,(CAST((CAST(CAST(promotions AS DECIMAL(15,4)) AS DECIMAL(15,4)) / CAST(CAST(total AS DECIMAL(15,4)) AS DECIMAL(15,4))) AS DECIMAL(35,20)) * CAST(CAST(100 AS DECIMAL(3,0)) AS DECIMAL(35,20))):decimal>
struct<promotions:decimal,total:decimal,((CAST(promotions AS DECIMAL(15,4)) / CAST(total AS DECIMAL(15,4))) * 100):decimal>
Expand Up @@ -29,12 +29,16 @@ import org.apache.kyuubi.tags.{DeltaTest, ExtendedSQLTest}
/**
* To run this test suite:
* {{{
* build/mvn clean install -Pspark-3.1 -Dtest=none -DwildcardSuites=org.apache.kyuubi.operation.tpcds.OutputSchemaTPCDSSuite
* build/mvn clean install \
* -Dmaven.plugin.scalatest.exclude.tags="" \
* -Dtest=none -DwildcardSuites=org.apache.kyuubi.operation.tpcds.OutputSchemaTPCDSSuite
* }}}
*
* To re-generate golden files for this suite:
* {{{
* KYUUBI_UPDATE=1 build/mvn clean install -Pspark-3.1 -Dtest=none -DwildcardSuites=org.apache.kyuubi.operation.tpcds.OutputSchemaTPCDSSuite
* KYUUBI_UPDATE=1 build/mvn clean install \
* -Dmaven.plugin.scalatest.exclude.tags="" \
* -Dtest=none -DwildcardSuites=org.apache.kyuubi.operation.tpcds.OutputSchemaTPCDSSuite
* }}}
*/
// scalastyle:on line.size.limit
Expand Down

0 comments on commit 3cbedea

Please sign in to comment.