Skip to content

Commit 3cbedea

Browse files
committed
[KYUUBI #1975] [BUILD] Run TPC-DS test using the default Spark version
### _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>
1 parent a3d9ca3 commit 3cbedea

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/master.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ jobs:
116116
run: >-
117117
./build/mvn clean install -Dmaven.javadoc.skip=true -Drat.skip=true -Dscalastyle.skip=true -Dspotless.check.skip -Dorg.slf4j.simpleLogger.defaultLogLevel=warn -V
118118
-pl kyuubi-server -am
119-
-Pspark-3.1
120119
-Dmaven.plugin.scalatest.exclude.tags=''
121120
-Dtest=none -DwildcardSuites=org.apache.kyuubi.operation.tpcds
122121
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +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>
1+
struct<promotions:decimal,total:decimal,((CAST(promotions AS DECIMAL(15,4)) / CAST(total AS DECIMAL(15,4))) * 100):decimal>

kyuubi-server/src/test/scala/org/apache/kyuubi/operation/tpcds/OutputSchemaTPCDSSuite.scala

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,16 @@ import org.apache.kyuubi.tags.{DeltaTest, ExtendedSQLTest}
2929
/**
3030
* To run this test suite:
3131
* {{{
32-
* build/mvn clean install -Pspark-3.1 -Dtest=none -DwildcardSuites=org.apache.kyuubi.operation.tpcds.OutputSchemaTPCDSSuite
32+
* build/mvn clean install \
33+
* -Dmaven.plugin.scalatest.exclude.tags="" \
34+
* -Dtest=none -DwildcardSuites=org.apache.kyuubi.operation.tpcds.OutputSchemaTPCDSSuite
3335
* }}}
3436
*
3537
* To re-generate golden files for this suite:
3638
* {{{
37-
* KYUUBI_UPDATE=1 build/mvn clean install -Pspark-3.1 -Dtest=none -DwildcardSuites=org.apache.kyuubi.operation.tpcds.OutputSchemaTPCDSSuite
39+
* KYUUBI_UPDATE=1 build/mvn clean install \
40+
* -Dmaven.plugin.scalatest.exclude.tags="" \
41+
* -Dtest=none -DwildcardSuites=org.apache.kyuubi.operation.tpcds.OutputSchemaTPCDSSuite
3842
* }}}
3943
*/
4044
// scalastyle:on line.size.limit

0 commit comments

Comments
 (0)