File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
.github/actions/java-test
spark/src/test/scala/org/apache/comet Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -41,11 +41,13 @@ inputs:
4141runs :
4242 using : " composite"
4343 steps :
44- - name : Run Cargo build
44+ - name : Run Cargo release build
4545 shell : bash
46+ # it is important that we run the Scala tests against a release build rather than a debug build
47+ # to make sure that no tests are relying on overflow checks that are present only in debug builds
4648 run : |
4749 cd native
48- cargo build
50+ cargo build --release
4951
5052 - name : Cache Maven dependencies
5153 uses : actions/cache@v4
7072 SPARK_LOCAL_HOSTNAME : " localhost"
7173 SPARK_LOCAL_IP : " 127.0.0.1"
7274 run : |
73- MAVEN_OPTS="-Xmx4G -Xms2G -XX:+UnlockDiagnosticVMOptions -XX:+ShowMessageBoxOnError -XX:+HeapDumpOnOutOfMemoryError -XX:ErrorFile=./hs_err_pid%p.log" SPARK_HOME=`pwd` ./mvnw -B clean install ${{ inputs.maven_opts }}
75+ MAVEN_OPTS="-Xmx4G -Xms2G -XX:+UnlockDiagnosticVMOptions -XX:+ShowMessageBoxOnError -XX:+HeapDumpOnOutOfMemoryError -XX:ErrorFile=./hs_err_pid%p.log" SPARK_HOME=`pwd` ./mvnw -B -Prelease clean install ${{ inputs.maven_opts }}
7476 - name : Run specified tests
7577 shell : bash
7678 if : ${{ inputs.suites != '' }}
8183 run : |
8284 MAVEN_SUITES="$(echo "${{ inputs.suites }}" | paste -sd, -)"
8385 echo "Running with MAVEN_SUITES=$MAVEN_SUITES"
84- MAVEN_OPTS="-Xmx4G -Xms2G -DwildcardSuites=$MAVEN_SUITES -XX:+UnlockDiagnosticVMOptions -XX:+ShowMessageBoxOnError -XX:+HeapDumpOnOutOfMemoryError -XX:ErrorFile=./hs_err_pid%p.log" SPARK_HOME=`pwd` ./mvnw -B clean install ${{ inputs.maven_opts }}
86+ MAVEN_OPTS="-Xmx4G -Xms2G -DwildcardSuites=$MAVEN_SUITES -XX:+UnlockDiagnosticVMOptions -XX:+ShowMessageBoxOnError -XX:+HeapDumpOnOutOfMemoryError -XX:ErrorFile=./hs_err_pid%p.log" SPARK_HOME=`pwd` ./mvnw -B -Prelease clean install ${{ inputs.maven_opts }}
8587 - name : Upload crash logs
8688 if : failure()
8789 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -239,7 +239,8 @@ class CometExpressionSuite extends CometTestBase with AdaptiveSparkPlanHelper {
239239 }
240240 }
241241
242- test(" date_add with scalar overflow" ) {
242+ // TODO: https://github.com/apache/datafusion-comet/issues/2539
243+ ignore(" date_add with scalar overflow" ) {
243244 Seq (true , false ).foreach { dictionaryEnabled =>
244245 withTempDir { dir =>
245246 val path = new Path (dir.toURI.toString, " test.parquet" )
You can’t perform that action at this time.
0 commit comments