Skip to content

[VL] Result mismatch with vanilla Spark SQL on atan2#1689

Merged
rui-mo merged 2 commits into
apache:mainfrom
zhztheplayer:wip-atan2
May 26, 2023
Merged

[VL] Result mismatch with vanilla Spark SQL on atan2#1689
rui-mo merged 2 commits into
apache:mainfrom
zhztheplayer:wip-atan2

Conversation

@zhztheplayer
Copy link
Copy Markdown
Member

@zhztheplayer zhztheplayer commented May 19, 2023

@github-actions
Copy link
Copy Markdown

Run Gluten Clickhouse CI

@zhztheplayer zhztheplayer changed the title [VL] Fix result mismatch with Spark SQL on atan2 [VL] Fix result mismatch with vanilla Spark SQL on atan2 May 19, 2023
@zhztheplayer zhztheplayer changed the title [VL] Fix result mismatch with vanilla Spark SQL on atan2 [VL] Result mismatch with vanilla Spark SQL on atan2 May 22, 2023
@github-actions
Copy link
Copy Markdown

Run Gluten Clickhouse CI

1 similar comment
@github-actions
Copy link
Copy Markdown

Run Gluten Clickhouse CI

@github-actions
Copy link
Copy Markdown

Run Gluten Clickhouse CI

@github-actions
Copy link
Copy Markdown

Run Gluten Clickhouse CI

@rui-mo rui-mo merged commit 322c763 into apache:main May 26, 2023
brijrajk added a commit to brijrajk/incubator-gluten that referenced this pull request Jun 2, 2026
…teSuite

The atan2 test was marked ignore after a result mismatch (PR apache#1689, 2023)
caused by Velox using std::atan2 directly. That was fixed upstream in
oap-project/velox#263 which added sparksql::Atan2Function that mirrors
Spark's Math.atan2(y + 0.0, x + 0.0) behaviour to normalise -0 inputs.
The ignore was never removed after the fix landed.

Also promotes MathFunctionsValidateSuite from abstract class to class
(fixing the RAS-removal oversight from PR apache#11756, the same fix already
applied to DateFunctionsValidateSuite) and disables ANSI mode for Spark 4,
consistent with the approach in PR apache#12158 which adds further tests to this
same suite.
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.

2 participants