You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by co...@apache.org on 2026/04/28 22:43:51 UTC

(datafusion-comet) branch main updated: chore: support Spark 4.1/4.2 for golden files generation (#4134)

This is an automated email from the ASF dual-hosted git repository.

comphead pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-comet.git


The following commit(s) were added to refs/heads/main by this push:
     new 95c6a1bf1 chore: support Spark 4.1/4.2 for golden files generation (#4134)
95c6a1bf1 is described below

commit 95c6a1bf13202db0432ef2fb27eecc4c3e1c4a21
Author: Oleks V <co...@users.noreply.github.com>
AuthorDate: Tue Apr 28 15:43:45 2026 -0700

    chore: support Spark 4.1/4.2 for golden files generation (#4134)
---
 dev/regenerate-golden-files.sh | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/dev/regenerate-golden-files.sh b/dev/regenerate-golden-files.sh
index 4fe2e283f..736c2dd63 100755
--- a/dev/regenerate-golden-files.sh
+++ b/dev/regenerate-golden-files.sh
@@ -22,7 +22,7 @@
 # Usage: ./dev/regenerate-golden-files.sh [--spark-version <version>]
 #
 # Options:
-#   --spark-version <version>  Only regenerate for specified Spark version (3.4, 3.5, or 4.0)
+#   --spark-version <version>  Only regenerate for specified Spark version (3.4, 3.5, 4.0, 4.1, or 4.2)
 #                              If not specified, regenerates for all versions.
 #
 # Examples:
@@ -109,7 +109,7 @@ main() {
                 echo "Usage: $0 [--spark-version <version>]"
                 echo ""
                 echo "Options:"
-                echo "  --spark-version <version>  Only regenerate for specified Spark version (3.4, 3.5, or 4.0)"
+                echo "  --spark-version <version>  Only regenerate for specified Spark version (3.4, 3.5, 4.0, 4.1, or 4.2)"
                 echo "                             If not specified, regenerates for all versions."
                 exit 0
                 ;;
@@ -123,9 +123,9 @@ main() {
 
     # Validate target version if specified
     if [ -n "$target_version" ]; then
-        if [[ ! "$target_version" =~ ^(3\.4|3\.5|4\.0)$ ]]; then
+        if [[ ! "$target_version" =~ ^(3\.4|3\.5|4\.0|4\.1|4\.2)$ ]]; then
             echo "[ERROR] Invalid Spark version: $target_version"
-            echo "[ERROR] Supported versions: 3.4, 3.5, 4.0"
+            echo "[ERROR] Supported versions: 3.4, 3.5, 4.0, 4.1, 4.2"
             exit 1
         fi
     fi
@@ -145,7 +145,7 @@ main() {
     if [ -n "$target_version" ]; then
         versions=("$target_version")
     else
-        versions=("3.4" "3.5" "4.0")
+        versions=("3.4" "3.5" "4.0" "4.1" "4.2")
     fi
 
     # Regenerate for each version


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org