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
SQL Error [90232] [25000] returned running Snowflake anonymous block #15803
Comments
Hello @bobf32 Can you please check the query manager? Is the query with this error equal to your statement? I see extra lines in your query, and DBeaver uses them as delimiters by default. |
Sorry @LonwoLonwo, not sure I follow you. I have just run this version and am copying the text from the query log. As before, I get the error if commit mode is manual. No error with auto commit enabled.
|
Sorry @bobf32 I'm not sure that we can help in this case from the DBeaver side. Why can't you execute this script in auto-commit mode? Maybe this video can be helpful for you? https://www.youtube.com/watch?v=ya-7U2nuD90 |
Thanks. I think I see the issue. I can execute in auto commit mode, and can surround the block with a separate BEGIN TRANSACTION; and COMMIT; However, I notice that although I can hit Ctrl-Enter with the cursor on the COMMIT; and the the transaction will commit, if I do the same with the cursor on BEGIN TRANSACTION; I get a message at the bottom of the DBeaver window saying "Empty query string" and a little red triangle. I have to select the entire BEGIN TRANSACTION; line and then hit Ctrl-Enter for it to work. |
Disabling the setting did not work. The statement is simply:
To recreate the issue, place the cursor anywhere inside that statement and hit Ctrl-Enter. |
I will close this issue and raise a new one for the |
System information:
Connection specification:
Describe the problem you're observing:
I'm trying to run an anonymous block of snowflake script. The block works as expected running it in the snowflake web interface.
Running the block below in manual commit mode gives the error:
If executed in auto commit mode it succeeds.
Steps to reproduce, if exist:
Include any warning/errors/backtraces from the logs
snowflake-error.log
The text was updated successfully, but these errors were encountered: