-
Notifications
You must be signed in to change notification settings - Fork 34
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
Implementing error types #117
Merged
Merged
Commits on Mar 15, 2023
-
Signed-off-by: Matthew Kim <11141331+mattdeekay@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for cb4b41d - Browse repository at this point
Copy the full SHA cb4b41dView commit details
Commits on Mar 24, 2023
-
Refactored so that the interfaces for system, request, and execution errors are public in dbsql/errors. Updated error implementations to work better with errors.Is() and errors.As(). Added sentinel values (SystemFault, RequestError, ExecutionError) in dbsql/errors to use with errors.Is() Updated doc.go to include error information. Updated errors examples. Signed-off-by: Raymond Cypher <raymond.cypher@databricks.com>
Configuration menu - View commit details
-
Copy full SHA for aff1bc8 - Browse repository at this point
Copy the full SHA aff1bc8View commit details
Commits on Apr 4, 2023
-
Extended use of public error types
- updated rows package to use the new public error types - refactored arrow/column based rows to put errors into a separate file Signed-off-by: Raymond Cypher <raymond.cypher@databricks.com>
Configuration menu - View commit details
-
Copy full SHA for fb50b06 - Browse repository at this point
Copy the full SHA fb50b06View commit details -
Signed-off-by: Raymond Cypher <raymond.cypher@databricks.com>
Configuration menu - View commit details
-
Copy full SHA for 0cef7a7 - Browse repository at this point
Copy the full SHA 0cef7a7View commit details
Commits on Apr 12, 2023
-
Made error messages public. Renamed SystemFault to DriverError. Fixed a few places where we were returning the wrong type of error. Fixed a code path that would crash when the sentinel timed out. Signed-off-by: Raymond Cypher <raymond.cypher@databricks.com>
Configuration menu - View commit details
-
Copy full SHA for c5b8e94 - Browse repository at this point
Copy the full SHA c5b8e94View commit details -
Updated string literal in driver error
Signed-off-by: Raymond Cypher <raymond.cypher@databricks.com>
Configuration menu - View commit details
-
Copy full SHA for b8ad0d7 - Browse repository at this point
Copy the full SHA b8ad0d7View commit details -
Fixed whitespace issue for linter
Signed-off-by: Raymond Cypher <raymond.cypher@databricks.com>
Configuration menu - View commit details
-
Copy full SHA for 751ae8c - Browse repository at this point
Copy the full SHA 751ae8cView commit details
Commits on Apr 13, 2023
-
Updated error handling example
New example and fixed issues with errors.Is() and setting query id into context. Signed-off-by: Raymond Cypher <raymond.cypher@databricks.com>
Configuration menu - View commit details
-
Copy full SHA for adc53f8 - Browse repository at this point
Copy the full SHA adc53f8View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.