-
Notifications
You must be signed in to change notification settings - Fork 234
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
Conversation
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]>
Build |
Build |
There was a problem hiding this 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?
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
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. |
Build |
Build |
@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. |
Thank you for the reviews, chaps. This change has been merged. |
Fixes #11535.
This commit fixes the failure of
test_startswith
andtest_endswith
instring_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
andtest_endswith
for Databricks 14.3 and Apache Spark 4.0.