Skip to content

Commit

Permalink
fix $ issue in sql code block
Browse files Browse the repository at this point in the history
  • Loading branch information
ncclementi committed Jan 16, 2025
1 parent 1b37c35 commit ac5aa59
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions source/platforms/snowflake.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,6 @@ snow connection add

Follow the wizard.

Note: if you don't recall `<ORG>-<ACCOUNT-NAME>` you can obtain them
by running the following in the Snowflake SQL worksheet.

```sql
SELECT CURRENT_ORGANIZATION_NAME(); --org
SELECT CURRENT_ACCOUNT_NAME(); --account name
```

```bash
connection name : CONTAINER_HOL
account : <ORG>-<ACCOUNT-NAME> # e.g. MYORGANIZATION-MYACCOUNT
Expand All @@ -158,6 +150,14 @@ private key file:
token file path:
```

Note: if you don't recall `<ORG>-<ACCOUNT-NAME>` you can obtain them
by running the following in the Snowflake SQL worksheet.

```sql
SELECT CURRENT_ORGANIZATION_NAME(); --org
SELECT CURRENT_ACCOUNT_NAME(); --account name
```

Test the connection:

```bash
Expand Down Expand Up @@ -204,7 +204,9 @@ with next step to configure and push the Spec YAML.

When the `docker push` command completes, you can verify that the image exists in your Snowflake Image Repository by running the following in the Snowflake SQL worksheet

```sql
```{code-block} sql
:force:
USE ROLE CONTAINER_USER_ROLE;
CALL SYSTEM$REGISTRY_LIST_IMAGES('/CONTAINER_HOL_DB/PUBLIC/IMAGE_REPO');
```
Expand Down Expand Up @@ -280,7 +282,9 @@ CREATE SERVICE CONTAINER_HOL_DB.PUBLIC.rapids_snowpark_service

Run the following to verify that the service is successfully running.

```sql
```{code-block} sql
:force:
CALL SYSTEM$GET_SERVICE_STATUS('CONTAINER_HOL_DB.PUBLIC.rapids_snowpark_service');
```

Expand Down

0 comments on commit ac5aa59

Please sign in to comment.