-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Snowflake destination: Report access to schema errors as config errors #20343
Comments
The underlying problem is that when we configure the destination connector we check access to "default schema", but replication can be configured to mirror source structure, which will cause the connector to write to a different schema. Quick fix: wrap the error in config error. Pointers:
Notes on testing: may need to create a Snowflake account that does not have access to a specific schema, but has permissions to create schemas. |
Another example: https://cloud.airbyte.io/workspaces/760cbc70-1e15-495b-86fc-cddbce095e4d/connections/2db4fe8b-fafe-4463-9dc7-a7f1bf018259/status#908557::1
this error is caught by |
Definition of done for this issue: This followup issue covers improving the UX: #20561 |
I was able to reproduce the issue locally with the following setup:
This sync will fail with the error
|
Looking at the error in this connection attempt: https://cloud.airbyte.io/workspaces/69b7b606-b6e3-44cc-8a9b-0e083c93d204/connections/78e1ace0-d4b9-4d45-962a-5379cc3f5587/status#938512::2
CHECK passed, but right after that, sync failed with:
The text was updated successfully, but these errors were encountered: