-
Notifications
You must be signed in to change notification settings - Fork 14k
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: failed samples should throw exception #20228
fix: failed samples should throw exception #20228
Conversation
Codecov Report
@@ Coverage Diff @@
## master #20228 +/- ##
==========================================
+ Coverage 66.46% 66.49% +0.02%
==========================================
Files 1726 1726
Lines 64738 64756 +18
Branches 6826 6826
==========================================
+ Hits 43029 43060 +31
+ Misses 19976 19963 -13
Partials 1733 1733
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
5f58f79
to
34cbdf9
Compare
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.
LGTM! I'm thinking about whether we need to tell the user exactly which column is reporting an error?
The error depends on the DB response. Typically, the database will tell the end-user which parts of syntax errors are. |
SUMMARY
Recently, added a new endpoint for getting samples of data. The original PR didn't throw correct HTTP status codes when a dataset contains an incorrect
column
orcalculated column
.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
After
failed_samples.mov
Before
failed_column_before.mov
TESTING INSTRUCTIONS
Samples Pane
in explore pageADDITIONAL INFORMATION