This is an automated email from the ASF dual-hosted git repository. changchen pushed a commit to branch feature/ansi-ci-baseline in repository https://gitbox.apache.org/repos/asf/gluten.git
commit 5d4f7460b2244f1f29b55a0317b30f4d6348ba5d Author: baibaichen <[email protected]> AuthorDate: Fri Mar 27 11:36:52 2026 +0800 ci: fix ANSI workflow - disable fallback, add -fae, remove || true - Remove workflow_dispatch and schedule triggers (not effective on feature branch) - Add -fae to Maven so spark-ut runs even if backends-velox fails - Add -Dspark.gluten.sql.ansiFallback.enabled=false to collect real ANSI gaps - Remove || true so job status reflects actual test results - Fix SPARK_ANSI_SQL_MODE to static true Issue: https://github.com/apache/gluten/issues/10134 --- .github/workflows/velox_backend_ansi.yml | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/.github/workflows/velox_backend_ansi.yml b/.github/workflows/velox_backend_ansi.yml index 97c21ac3a9..fdd7b79f8a 100644 --- a/.github/workflows/velox_backend_ansi.yml +++ b/.github/workflows/velox_backend_ansi.yml @@ -16,14 +16,6 @@ name: Velox Backend ANSI Mode on: - workflow_dispatch: - inputs: - ansi_mode: - description: 'ANSI mode: true=ANSI baseline, false=regression check' - required: false - default: 'true' - schedule: - - cron: '0 8 * * *' pull_request: paths: - '.github/workflows/velox_backend_ansi.yml' @@ -45,8 +37,7 @@ env: MVN_CMD: 'build/mvn -ntp' WGET_CMD: 'wget -nv' CCACHE_DIR: "${{ github.workspace }}/.ccache" - # workflow_dispatch 手动输入时可切换,schedule/pull_request 默认 true - SPARK_ANSI_SQL_MODE: ${{ github.event.inputs.ansi_mode || 'true' }} + SPARK_ANSI_SQL_MODE: true concurrency: group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }} @@ -128,7 +119,7 @@ jobs: rm -rf /opt/shims/spark41 bash .github/workflows/util/install-resources.sh 4.1 mv /opt/shims/spark41/spark_home/assembly/target/scala-2.12 /opt/shims/spark41/spark_home/assembly/target/scala-2.13 - - name: "Spark 4.1 Unit Tests (ANSI=${{ env.SPARK_ANSI_SQL_MODE }})" + - name: "Spark 4.1 Unit Tests (ANSI ON)" run: | cd $GITHUB_WORKSPACE/ export SPARK_SCALA_VERSION=2.13 @@ -137,10 +128,10 @@ jobs: export PATH=$JAVA_HOME/bin:$PATH echo "SPARK_ANSI_SQL_MODE=$SPARK_ANSI_SQL_MODE" java -version - $MVN_CMD clean test -Pspark-4.1 -Pscala-2.13 -Pjava-17 -Pbackends-velox \ - -Pspark-ut -DargLine="-Dspark.test.home=/opt/shims/spark41/spark_home/" \ + $MVN_CMD clean test -fae -Pspark-4.1 -Pscala-2.13 -Pjava-17 -Pbackends-velox \ + -Pspark-ut -DargLine="-Dspark.test.home=/opt/shims/spark41/spark_home/ -Dspark.gluten.sql.ansiFallback.enabled=false" \ -DtagsToExclude=org.apache.spark.tags.ExtendedSQLTest,org.apache.gluten.tags.UDFTest,org.apache.gluten.tags.EnhancedFeaturesTest,org.apache.gluten.tags.SkipTest \ - 2>&1 | tee ansi-test-output.log || true + 2>&1 | tee ansi-test-output.log - name: "Parse test results" if: always() run: | --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
