Skip to content

Conversation

@dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Apr 3, 2022

What changes were proposed in this pull request?

This is a follow-up of #36051.
After fixing Overflow errors, Out Of Range failures are observed in the rest of test code in the same test case.

Why are the changes needed?

To make GitHub Action ANSI test CI pass.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

At this time, I used the following to simulate GitHub Action ANSI job.

$ SPARK_ANSI_SQL_MODE=true build/sbt "mllib/testOnly *.ALSSuite"
...
[info] All tests passed.
[success] Total time: 80 s (01:20), completed Apr 3, 2022 1:05:50 PM

@dongjoon-hyun
Copy link
Member Author

cc @gengliangwang , @srowen , @yaooqinn

@dongjoon-hyun
Copy link
Member Author

Thank you, @srowen . This is a single test suite only change, and I verified in two ways. Merged to master/3.3.

SPARK_ANSI_SQL_MODE=true build/sbt "mllib/testOnly *.ALSSuite"
SPARK_ANSI_SQL_MODE=false build/sbt "mllib/testOnly *.ALSSuite"

dongjoon-hyun added a commit that referenced this pull request Apr 3, 2022
…Out of Range` failures

This is a follow-up of #36051.
After fixing `Overflow` errors, `Out Of Range` failures are observed in the rest of test code in the same test case.

To make GitHub Action ANSI test CI pass.

No.

At this time, I used the following to simulate GitHub Action ANSI job.
```
$ SPARK_ANSI_SQL_MODE=true build/sbt "mllib/testOnly *.ALSSuite"
...
[info] All tests passed.
[success] Total time: 80 s (01:20), completed Apr 3, 2022 1:05:50 PM
```

Closes #36054 from dongjoon-hyun/SPARK-38776-2.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit fbcab01)
Signed-off-by: Dongjoon Hyun <[email protected]>
@dongjoon-hyun dongjoon-hyun deleted the SPARK-38776-2 branch April 4, 2022 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants