You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by pt...@apache.org on 2026/04/03 12:25:11 UTC

(spark) branch branch-3.5 updated: [SPARK-55969][SQL][3.5][FOLLOW-UP][TESTS] Update `SQLQueryTestSuite` golden files

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

ptoth pushed a commit to branch branch-3.5
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.5 by this push:
     new 4cfcd6e9c18f [SPARK-55969][SQL][3.5][FOLLOW-UP][TESTS] Update `SQLQueryTestSuite` golden files
4cfcd6e9c18f is described below

commit 4cfcd6e9c18f10bb5910e62268ad9eef2a9c081b
Author: Peter Toth <pe...@gmail.com>
AuthorDate: Fri Apr 3 14:24:35 2026 +0200

    [SPARK-55969][SQL][3.5][FOLLOW-UP][TESTS] Update `SQLQueryTestSuite` golden files
    
    ### What changes were proposed in this pull request?
    
    Regenerate related golden files after https://github.com/apache/spark/pull/54901.
    
    ### Why are the changes needed?
    
    3.5 PRs (like https://github.com/apache/spark/pull/55167) currently fail with:
    ```
    [info] - linear-regression.sql_analyzer_test *** FAILED *** (142 milliseconds)
    [info]   linear-regression.sql_analyzer_test
    [info]   Expected "...stRegression`, [k#x,[ y#x, ]x#x])
    [info]            +- Pr...", but got "...stRegression`, [k#x,[y#x,]x#x])
    [info]            +- Pr..." Result did not match for query #33
    [info]   SELECT regr_r2(k, x) FROM testRegression where k=2 (SQLQueryTestSuite.scala:876)
    ```
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Existing tests.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #55183 from peter-toth/SPARK-55969-follow-up-3.5.
    
    Lead-authored-by: Peter Toth <pe...@gmail.com>
    Co-authored-by: Peter Toth <p_...@apple.com>
    Signed-off-by: Peter Toth <pe...@gmail.com>
---
 .../resources/sql-tests/analyzer-results/linear-regression.sql.out    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sql/core/src/test/resources/sql-tests/analyzer-results/linear-regression.sql.out b/sql/core/src/test/resources/sql-tests/analyzer-results/linear-regression.sql.out
index 2e88e7eb4cdc..94e2eaf470a1 100644
--- a/sql/core/src/test/resources/sql-tests/analyzer-results/linear-regression.sql.out
+++ b/sql/core/src/test/resources/sql-tests/analyzer-results/linear-regression.sql.out
@@ -415,7 +415,7 @@ SELECT regr_r2(k, x) FROM testRegression where k=2
 Aggregate [regr_r2(cast(k#x as double), cast(x#x as double)) AS regr_r2(k, x)#x]
 +- Filter (k#x = 2)
    +- SubqueryAlias testregression
-      +- View (`testRegression`, [k#x, y#x, x#x])
+      +- View (`testRegression`, [k#x,y#x,x#x])
          +- Project [cast(k#x as int) AS k#x, cast(y#x as int) AS y#x, cast(x#x as int) AS x#x]
             +- Project [k#x, y#x, x#x]
                +- SubqueryAlias testRegression
@@ -428,7 +428,7 @@ SELECT regr_r2(y, k) FROM testRegression where k=2
 Aggregate [regr_r2(cast(y#x as double), cast(k#x as double)) AS regr_r2(y, k)#x]
 +- Filter (k#x = 2)
    +- SubqueryAlias testregression
-      +- View (`testRegression`, [k#x, y#x, x#x])
+      +- View (`testRegression`, [k#x,y#x,x#x])
          +- Project [cast(k#x as int) AS k#x, cast(y#x as int) AS y#x, cast(x#x as int) AS x#x]
             +- Project [k#x, y#x, x#x]
                +- SubqueryAlias testRegression


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