Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spark 4: Handle ANSI mode in sort_test.py #11099

Merged
merged 2 commits into from
Jul 1, 2024

Conversation

mythrocks
Copy link
Collaborator

Fixes #11027.

With ANSI mode enabled (like the default in Spark 4), one sees that some tests in sort_test.py fail, because they expect ANSI mode to be off.

This commit disables running those tests with ANSI enabled, and add a separate test for ANSI on/off.

Fixes NVIDIA#11027.

With ANSI mode enabled (like the default in Spark 4), one sees that some
tests in `sort_test.py` fail, because they expect ANSI mode to be off.

This commit disables running those tests with ANSI enabled, and add a
separate test for ANSI on/off.

Signed-off-by: MithunR <mithunr@nvidia.com>
@mythrocks mythrocks added the Spark 4.0+ Spark 4.0+ issues label Jun 26, 2024
@mythrocks mythrocks self-assigned this Jun 26, 2024
@mythrocks
Copy link
Collaborator Author

Build

@mythrocks mythrocks requested a review from razajafri June 26, 2024 22:08
These tests need not be revisited.  They test all combinations of ANSI mode,
including overflow failures.

Signed-off-by: MithunR <mithunr@nvidia.com>
@mythrocks mythrocks requested a review from jlowe June 28, 2024 22:34
@jlowe
Copy link
Contributor

jlowe commented Jul 1, 2024

build

@mythrocks mythrocks merged commit 850365c into NVIDIA:branch-24.08 Jul 1, 2024
45 checks passed
wjxiz1992 added a commit to nvliyuan/yuali-spark-rapids that referenced this pull request Jul 5, 2024
* Fix match error in RapidsShuffleIterator.scala [scala2.13] (NVIDIA#11115)

Signed-off-by: xieshuaihu <xieshuaihu@gmail.com>

* Spark 4: Handle ANSI mode in sort_test.py (NVIDIA#11099)

* Spark 4: Handle ANSI mode in sort_test.py

Fixes NVIDIA#11027.

With ANSI mode enabled (like the default in Spark 4), one sees that some
tests in `sort_test.py` fail, because they expect ANSI mode to be off.

This commit disables running those tests with ANSI enabled, and add a
separate test for ANSI on/off.

Signed-off-by: MithunR <mithunr@nvidia.com>

* Refactored not to use disable_ansi_mode.

These tests need not be revisited.  They test all combinations of ANSI mode,
including overflow failures.

Signed-off-by: MithunR <mithunr@nvidia.com>

---------

Signed-off-by: MithunR <mithunr@nvidia.com>

* Introduce LORE framework. (NVIDIA#11084)

* Introduce lore id

* Introduce lore id

* Fix type

* Fix type

* Conf

* style

* part

* Dump

* Introduce lore framework

* Add tests.

* Rename test case

Signed-off-by: liurenjie1024 <liurenjie2008@gmail.com>

* Fix AQE test

* Fix style

* Use args to display lore info.

* Fix build break

* Fix path in loreinfo

* Remove path

* Fix comments

* Update configs

* Fix comments

* Fix config

---------

Signed-off-by: liurenjie1024 <liurenjie2008@gmail.com>

* Support minBy on GPU

Signed-off-by: Firestarman <firestarmanllc@gmail.com>

---------

Signed-off-by: xieshuaihu <xieshuaihu@gmail.com>
Signed-off-by: MithunR <mithunr@nvidia.com>
Signed-off-by: liurenjie1024 <liurenjie2008@gmail.com>
Signed-off-by: Firestarman <firestarmanllc@gmail.com>
Co-authored-by: xieshuaihu <xieshuaihu@gmail.com>
Co-authored-by: MithunR <mithunr@nvidia.com>
Co-authored-by: Renjie Liu <liurenjie2008@gmail.com>
Co-authored-by: Firestarman <firestarmanllc@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Spark 4.0+ Spark 4.0+ issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix tests failures in sort_test.py
2 participants