Skip to content

Commit

Permalink
Merge pull request #273 from Snowflake-Labs/dev
Browse files Browse the repository at this point in the history
Fixing the demo scripts that depend on rendering the double quotes correctly.
  • Loading branch information
sfc-gh-twhite authored Aug 5, 2024
2 parents 80403d6 + bb7d521 commit 3b17eca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
SNOWFLAKE_ACCOUNT: ${{ secrets.SCHEMACHANGE_SNOWFLAKE_ACCOUNT }}
SNOWFLAKE_DATABASE: SCHEMACHANGE_DEMO
SNOWFLAKE_WAREHOUSE: SCHEMACHANGE_DEMO_WH
SNOWFLAKE_ROLE: '"SCHEMACHANGE_DEMO-DEPLOY"'
SNOWFLAKE_ROLE: SCHEMACHANGE_DEMO-DEPLOY
MY_TARGET_SCHEMA: ${{ matrix.scenario-name }}_${{ github.run_number }}_${{ strategy.job-index }}
SCENARIO_NAME: ${{ matrix.scenario-name }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion demo/basics_demo/A__render.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use database {{ database_name }};
use schema {{ schema_name }};

USE ROLE IDENTIFIER('{{ env_var('SNOWFLAKE_ROLE') }}');
USE ROLE IDENTIFIER('"{{ env_var('SNOWFLAKE_ROLE') }}"');

0 comments on commit 3b17eca

Please sign in to comment.