-
Notifications
You must be signed in to change notification settings - Fork 58
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
Snow 1533042 create error handling fix #1315
Conversation
RELEASE-NOTES.md
Outdated
@@ -32,6 +32,7 @@ | |||
* Added support for user stages in stage execute command | |||
* Added support for user stages in stage and git copy commands | |||
* Improved support for quoted identifiers in snowpark commands. | |||
* `snow object create` message returns meaningful error if connection database is not defined. |
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.
Remember to move it to v2.6.1
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.
Fixed
|
||
raise CannotDetermineCreateURLException( | ||
f"Create operation for type {object_type} is not supported. Try using `sql -q 'CREATE ...'` command." | ||
) |
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 is for later, we should consider whether we need so many requests.
* Fix error messages * Fix error handling in rest_api * Add tests * refactor * update release notes * fix comment * move release note to v2.6.1:
* Fix error messages * Fix error handling in rest_api * Add tests * refactor * update release notes * fix comment * move release note to v2.6.1:
Pre-review checklist
Changes description
More detailed error detection while determining CREATE endpoints url