You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already)
Issue details
I was trying out the minimum case of creating a warehouse using Pulumi. It failed with the following error:
time="2022-01-05T13:52:27-05:00" level=error msg="error: 001003 (42000): SQL compilation error:\nsyntax error line 1 at position 38 unexpected '-'.\nparse error line 1 at position 42 near '97'." func="gosnowflake.(*snowflakeConn).queryContextInternal" file="connection.go:356"
error: update failed
snowflake:index:Warehouse (reporting):
error: 1 error occurred:
* creating urn:pulumi:dev::snowflake-poc::snowflake:index/warehouse:Warehouse::reporting: 1 error occurred:
* 001003 (42000): SQL compilation error:
syntax error line 1 at position 38 unexpected '-'.
parse error line 1 at position 42 near '97'.
The warehouse was in fact created but then the error occurs on this SQL statement:
SHOW PARAMETERS IN WAREHOUSE reporting-8cd4816
Steps to reproduce
Run pulumi new python
Configure snowflake credentials through the environment
Thanks for filing the issue. This is due to autonaming typically suffixing with -<hex> so it sounds like we'll need to adjust how autonames work in this provider.
Hello!
Issue details
I was trying out the minimum case of creating a warehouse using Pulumi. It failed with the following error:
The warehouse was in fact created but then the error occurs on this SQL statement:
Steps to reproduce
pulumi new python
__main__.py
to have the following content:pulumi up
Expected:
Expected command to complete successfully and warehouse to be created.
Actual:
Warehouse was created but with failure as described above.
The text was updated successfully, but these errors were encountered: