-
Notifications
You must be signed in to change notification settings - Fork 234
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
Issue when i try to run mutliple line in a task #270
Comments
@Francois-lenne: #171 (comment) I ran into the same issue the other day. Putting the multi-line sql into a proc and then calling it in the task was the workaround that we had to do. In your case, could wrap all those calls into a single proc (that calls the host of them) and then call that wrapper proc in the task. |
Hello Andy yes i also think about this solutions i try the synthax for snowsql also but still the same error. The others solutions is probably to use the git integrations to snowflake and do an execute immediate command in a task |
Just want to mention we are also seeing this issue. Hope a fix comes soon. |
I haven't tested this with
TLDR; wrap your code block with...
|
** Description**
When i try to run a a task with multiple line i have this issue :
snowflake.connector.errors.ProgrammingError: 001003 (42000): SQL compilation error: syntax error line 9 at position 63 unexpected '<EOF>'.
To Reproduce
Steps to reproduce the behavior:
This is my code (my variable ENV work i'm 100% sure)
Expected behavior
In snowsight the code is running and create the task
Schemachange (please complete the following information):
schemachange version: 3.7.0
The text was updated successfully, but these errors were encountered: