Hi
apologies, forgot the SQL was running via the snowsql command so the use of the & variables is correct.
I took the sql file you linked to and managed to get it to run directly using snowsql. One issue that I found was that in my snowflake config file I didn't have "variable_substitution = True" set in the options section - once I set this then the file ran fine and created the schema and tables.
However, sqitch is still not running...
1. I manually dropped the sqitch registry schema (so that sqitch had a clean DB to work with)
2. I ran the command "sqitch deploy"
3. It showed "Adding registry tables to ...." and then hung
4. In the Snowflake history I can see that it has run the following SQL successfully (so it is connecting and running something):
SELECT true
FROM information_schema.tables
WHERE TABLE_CATALOG = current_database()
AND TABLE_SCHEMA = UPPER(?)
AND TABLE_NAME = UPPER(?)
Any thoughts? Is there anything I can do to investigate what is happening e.g. are there logs and/or can I turn up the logging level?
Thanks