-
Notifications
You must be signed in to change notification settings - Fork 310
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 test_invalid_ge_schema_batchrequest_pandas_config #3145
Conversation
Signed-off-by: Kevin Su <[email protected]>
Code Review Agent Run #ef462dActionable Suggestions - 2
Review Details
|
Changelist by BitoThis pull request implements the following key changes.
|
Signed-off-by: Kevin Su <[email protected]>
@@ -1532,7 +1532,6 @@ async def _literal_map_to_kwargs( | |||
raise TypeTransformerFailedError( | |||
f"Error converting input '{k}' at position {i}:\n" | |||
f"Literal value: {lm.literals[k]}\n" | |||
f"Literal type: {literal_types}\n" |
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.
We can remove it since it's None in most cases, and the Python type should be sufficient
Signed-off-by: Kevin Su <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3145 +/- ##
==========================================
- Coverage 92.24% 83.58% -8.66%
==========================================
Files 118 3 -115
Lines 4991 195 -4796
==========================================
- Hits 4604 163 -4441
+ Misses 387 32 -355 ☔ View full report in Codecov by Sentry. |
Code Review Agent Run #0e796cActionable Suggestions - 1
Review Details
|
Tracking issue
NA
Why are the changes needed?
Fix test_invalid_ge_schema_batchrequest_pandas_config unit test
How was this patch tested?
unit test
Setup process
Screenshots
Check all the applicable boxes
Related PRs
Docs link
Summary by Bito
This PR enhances error handling mechanisms and test execution efficiency. Key changes include updating exception types in Great Expectations schema testing (from InvalidBatchRequestError to TypeTransformerFailedError), improving error message clarity, and adjusting remote execution test timeout from 10 to 5 minutes. These modifications aim to improve test performance and error specificity while enhancing debugging capabilities.Unit tests added: False
Estimated effort to review (1-5, lower is better): 1