Skip to content

[SPARK-55969][SQL][3.5][FOLLOW-UP][TESTS] Update SQLQueryTestSuite golden files#55183

Closed
peter-toth wants to merge 1 commit into
apache:branch-3.5from
peter-toth:SPARK-55969-follow-up-3.5
Closed

[SPARK-55969][SQL][3.5][FOLLOW-UP][TESTS] Update SQLQueryTestSuite golden files#55183
peter-toth wants to merge 1 commit into
apache:branch-3.5from
peter-toth:SPARK-55969-follow-up-3.5

Conversation

@peter-toth

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Regenerate related golden files after #54901.

Why are the changes needed?

3.5 PRs (like #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.

@peter-toth

Copy link
Copy Markdown
Contributor Author

cc @HyukjinKwon, @mgaido91

@mgaido91

mgaido91 commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

The change looks good to me, but I do not understand the reason of the change. #54901 should not affect the query plans.

@peter-toth

Copy link
Copy Markdown
Contributor Author

The change looks good to me, but I do not understand the reason of the change. #54901 should not affect the query plans.

Yeah, it doesn't, most likely just some formatting is different on 3.5...

@peter-toth

Copy link
Copy Markdown
Contributor Author

Looks like f844e78 is missing from 3.5.

@mgaido91

mgaido91 commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

yes, that makes a lot of sense. LGTM, thanks!

peter-toth added a commit that referenced this pull request Apr 3, 2026
…golden files

### What changes were proposed in this pull request?

Regenerate related golden files after #54901.

### Why are the changes needed?

3.5 PRs (like #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 <peter.toth@gmail.com>
Co-authored-by: Peter Toth <p_toth@apple.com>
Signed-off-by: Peter Toth <peter.toth@gmail.com>
@peter-toth

Copy link
Copy Markdown
Contributor Author

Thank you @yaooqinn and @mgaido91.

Merged to branch-3.5 (3.5.9).

@peter-toth peter-toth closed this Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants