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

Fix string_test for [databricks] 14.3 #11669

Merged
merged 3 commits into from
Nov 6, 2024

Conversation

mythrocks
Copy link
Collaborator

Fixes #11535.

This commit fixes the failure of test_startswith and test_endswith in string_test.py on Databricks 14.3.

This is, in effect, a follow-on to the changes introduced in #11247, where test_endswith was skipped for Databricks 4.0, on account of https://issues.apache.org/jira/browse/SPARK-48995. It appears that that bug afflicts Databricks 14.3 as well.

This commit handles both test_startswith and test_endswith for Databricks 14.3 and Apache Spark 4.0.

Fixes NVIDIA#11535.

This commit fixes the failure of `test_startswith`
and `test_endswith` in `string_test.py` on Databricks 14.3.

This is, in effect, a follow-on to the changes introduced in NVIDIA#11247,
where `test_endswith` was skipped for Databricks 4.0, on account of
https://issues.apache.org/jira/browse/SPARK-48995.  It appears that
that bug afflicts Databricks 14.3 as well.

This commit handles both `test_startswith` and `test_endswith` for
Databricks 14.3 and Apache Spark 4.0.

Signed-off-by: MithunR <[email protected]>
@mythrocks
Copy link
Collaborator Author

Build

@mythrocks mythrocks added the test Only impacts tests label Oct 29, 2024
@mythrocks
Copy link
Collaborator Author

Build

revans2
revans2 previously approved these changes Oct 29, 2024
Copy link
Collaborator

@revans2 revans2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a tracking issue to have us go back and enable the tests again once this issue is fixed? Do we want to try and fix https://issues.apache.org/jira/browse/SPARK-48995?

https://issues.apache.org/jira/browse/SPARK-48989 indicates that it is fixed now. Should we update the test to not be skipped anymore?

@mythrocks
Copy link
Collaborator Author

Is there a tracking issue to have us go back and enable the tests again once this issue is fixed? Do we want to try and fix https://issues.apache.org/jira/browse/SPARK-48995?

That's a good point. I can raise an issue for re-enabling the test. As for fixing SPARK-48995: I've been trying to prioritize a clean run of spark-rapids CI against 350db. Once that's in sight, I can try hitting this Spark bug.

https://issues.apache.org/jira/browse/SPARK-48989 indicates that it is fixed now. Should we update the test to not be skipped anymore?

It doesn't seem to have been pulled into Databricks 14.3. I'll raise a separate issue to unskip the test, once the fix is in.

razajafri
razajafri previously approved these changes Nov 4, 2024
@mythrocks mythrocks dismissed stale reviews from razajafri and revans2 via 68e98fe November 5, 2024 19:49
@mythrocks
Copy link
Collaborator Author

Build

@mythrocks
Copy link
Collaborator Author

Build

@mythrocks
Copy link
Collaborator Author

@revans2, I have raised #11696 to un-skip the starts/ends-with tests, for whenever the NPE is fixed in Apache Spark.

As for https://issues.apache.org/jira/browse/SPARK-48989, I have verified that this skip is safe to remove now. I've un-skipped that test as well.

@revans2, @razajafri: I've had to dismiss the reviews to make these changes. With your approval, I'll check this in after the tests pass.

@mythrocks mythrocks merged commit 6100334 into NVIDIA:branch-24.12 Nov 6, 2024
45 of 47 checks passed
@mythrocks
Copy link
Collaborator Author

Thank you for the reviews, chaps. This change has been merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Only impacts tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix String tests on Databricks 14.3
3 participants