-
Notifications
You must be signed in to change notification settings - Fork 235
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
Skip test_regexp_replace_null_pattern_fallback on Databricks [databricks] #4251
Skip test_regexp_replace_null_pattern_fallback on Databricks [databricks] #4251
Conversation
…t Databricks Signed-off-by: Andy Grove <andygrove@nvidia.com>
if we are disabling this and closing the issue is it tracked by another issue to turn it back on? |
oh never mind, after looking at code looks like you are saying databricks optimizes that out, perhaps update description to say the same |
build |
@@ -483,11 +483,14 @@ def test_regexp_replace(): | |||
'regexp_replace(a, "a|b|c", "A")'), | |||
conf={'spark.rapids.sql.expression.RegExpReplace': 'true'}) | |||
|
|||
@pytest.mark.xfail(condition=is_databricks_runtime(), |
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.
Do we want to xfail this or simply skip it? The point of xfailing is to track tests that we eventually expect to pass. I think skip is more appropriate for this one.
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.
Skipping it makes sense to me. Should I also update test_concat_ws_sql_col_sep_only_sep_specified
in the same file to skip instead of xfail? (that's where I copied the pattern from).
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.
Yes, any test that we are never expecting to pass because it's an invalid premise for testing in a particular environment should be skipped rather than xfailed. We should reserve xfail for tests we think should pass at some point, as they essentially serve as TODO's in the test output.
build |
Signed-off-by: Andy Grove andygrove@nvidia.com
Closes #4243