-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[MAINTENANCE] Test definition for ExpectColumnValuesToBeJsonParsable
, including a fix for Spark
#6207
[MAINTENANCE] Test definition for ExpectColumnValuesToBeJsonParsable
, including a fix for Spark
#6207
Conversation
✅ Deploy Preview for niobium-lead-7998 ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
@column_condition_partial(engine=SparkDFExecutionEngine) | ||
def _spark(cls, column, json_schema, **kwargs): | ||
def _spark(cls, column, **kwargs): |
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.
This was the bug. json_schema
is not required by the ColumnValuesJsonParseable
metric, but was required by the _spark
partial function.
👇 Click on the image for a new way to code review
Legend |
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.
Running build_gallery local has good output as well!
(run_diagnostics) coverage_score: 14.0 for expect_column_values_to_be_json_parseable ... engines: 2, backends: 2, passing tests: 10, failing tests:0
…lumn-values-json-parseable
…es-json-parseable
…es-json-parseable
Changes proposed in this pull request:
json
-defined test forExpectColumnValuesToBeJsonParsable
column_values_json_parsable
Metric, which erroneously asked forjson_schema
to be provided.Definition of Done