-
Notifications
You must be signed in to change notification settings - Fork 430
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
Error message: Actual statement count 2 did not match the desired statement count 1 #648
Comments
I can reproduce this issue anytime I change the list of roles in a grant. It appears that this forces a replacement, or a drop and then a create. This corroborates the message that there are 2 statements attempting to execute. I don't know if this is useful, but here is an example error message in this case: |
Having this issue while deployment on Snowflake using liquibase? Any solution? |
Hi, had this issue on Power bi while running a query on snowflake. Checked out the query history on snowflake and the error was highlighted with further details. |
We are closing this issue as part of a cleanup described in announcement. If you believe that the issue is still valid in v0.89.0, please open a new ticket. |
We ran into the same issue with Snowflake / Liquibase. For us, the solution was to include the Liquibase-specific changeset markes in the SQL file. So instead of
we now have
and apparently, Liquibase is now executing each statement separately. |
Provider Version
The provider version you are using.
Terraform Version
The version of Terraform you were using when the bug was encountered.
Describe the bug
I have created a basic setup with some users, roles, and grants. When I try to remove them by changing their count to 0 and running
terraform apply
, I get the error messageExpected behavior
I expect the resources to be deleted.
Code samples and commands
The main.tf has a block that adds my snowflake module:
where
reader_users
is defined aswith a value of
The snowflake module adds users, roles and grants such as the following:
The text was updated successfully, but these errors were encountered: