Skip to content

Commit 968e61d

Browse files
authored
Update links and fix vulnerabilities (#59)
* Update links to coverage functions and features * Fix vulnerability in action-download-artifact * Update package.json to fix vulnerabilities * update link in references * fix links * format sql
1 parent 148fa6d commit 968e61d

File tree

7 files changed

+732
-2858
lines changed

7 files changed

+732
-2858
lines changed

.github/workflows/preview-deploy.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
1313
steps:
1414
- name: download pr artifact
15-
uses: dawidd6/action-download-artifact@v3
15+
uses: dawidd6/action-download-artifact@v6
1616
with:
1717
workflow: ${{ github.event.workflow_run.workflow_id }}
1818
name: pr
@@ -22,7 +22,7 @@ jobs:
2222
run: echo "::set-output name=id::$(<pr-id.txt)"
2323

2424
- name: Download dist artifact
25-
uses: dawidd6/action-download-artifact@v3
25+
uses: dawidd6/action-download-artifact@v6
2626
with:
2727
workflow: ${{ github.event.workflow_run.workflow_id }}
2828
workflow_conclusion: success
@@ -60,7 +60,7 @@ jobs:
6060
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'failure'
6161
steps:
6262
- name: Download PR artifact
63-
uses: dawidd6/action-download-artifact@v3
63+
uses: dawidd6/action-download-artifact@v6
6464
with:
6565
workflow: ${{ github.event.workflow_run.workflow_id }}
6666
name: pr

content/en/getting-started/faq/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Yes, the Snowflake emulator supports the Snowflake v2 SQL API (`/api/v2/*` endpo
1313

1414
### Why are my Snowflake tests failing?
1515

16-
The Snowflake emulator is in **preview** and may not support all Snowflake features. If your tests are failing, it could be due to the lack of support for certain Snowflake features in the emulator. We recommend checking the [function coverage](https://snowflake.localstack.cloud/references/coverage/) to see the list of supported functions. If you encounter any issues, you can connect with us for [support](#support-faqs).
16+
The Snowflake emulator is in **preview** and may not support all Snowflake features. If your tests are failing, it could be due to the lack of support for certain Snowflake features in the emulator. We recommend checking the [function coverage](https://snowflake.localstack.cloud/references/coverage-functions/) to see the list of supported SQL functions and [feature coverage](https://snowflake.localstack.cloud/references/coverage-features/) to see the list of supported features. If you encounter any issues, you can connect with us for [support](#support-faqs).
1717

1818
### Why does the Snowflake emulator run on `snowflake.localhost.localstack.cloud`?
1919

content/en/introduction/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ The Snowflake emulator supports the following features:
2525
* ... and more!
2626

2727
Integrating the Snowflake emulator into your existing CI/CD pipeline allows you to run integration tests and identify issues early, reducing surprises during production deployment.
28-
Check our [Function Coverage]({{< ref "coverage-functions" >}}) and [Function Coverage]({{< ref "coverage-features" >}}) pages for a comprehensive list of supported functions.
28+
Check our [SQL Functions Coverage]({{< ref "coverage-functions" >}}) and [Feature Coverage]({{< ref "coverage-features" >}}) pages for a comprehensive list of supported functions.

content/en/references/_index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
layout: redirect
55
sitemap_exclude: true
66
weight: 5
7-
redirect: references/coverage
7+
redirect: references/coverage-features
88
cascade:
99
type: docs
1010
---

content/en/user-guide/snowpark/index.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -46,20 +46,20 @@ You can create a table named `sample_product_data` and fill the table with some
4646
session.sql('CREATE OR REPLACE TABLE sample_product_data (id INT, parent_id INT, category_id INT, name VARCHAR, serial_number VARCHAR, key INT, "3rd" INT)').collect()
4747
[Row(status='Table SAMPLE_PRODUCT_DATA successfully created.')]
4848
session.sql("""
49-
... INSERT INTO sample_product_data VALUES
50-
... (1, 0, 5, 'Product 1', 'prod-1', 1, 10),
51-
... (2, 1, 5, 'Product 1A', 'prod-1-A', 1, 20),
52-
... (3, 1, 5, 'Product 1B', 'prod-1-B', 1, 30),
53-
... (4, 0, 10, 'Product 2', 'prod-2', 2, 40),
54-
... (5, 4, 10, 'Product 2A', 'prod-2-A', 2, 50),
55-
... (6, 4, 10, 'Product 2B', 'prod-2-B', 2, 60),
56-
... (7, 0, 20, 'Product 3', 'prod-3', 3, 70),
57-
... (8, 7, 20, 'Product 3A', 'prod-3-A', 3, 80),
58-
... (9, 7, 20, 'Product 3B', 'prod-3-B', 3, 90),
59-
... (10, 0, 50, 'Product 4', 'prod-4', 4, 100),
60-
... (11, 10, 50, 'Product 4A', 'prod-4-A', 4, 100),
61-
... (12, 10, 50, 'Product 4B', 'prod-4-B', 4, 100)
62-
... """).collect()
49+
INSERT INTO sample_product_data VALUES
50+
(1, 0, 5, 'Product 1', 'prod-1', 1, 10),
51+
(2, 1, 5, 'Product 1A', 'prod-1-A', 1, 20),
52+
(3, 1, 5, 'Product 1B', 'prod-1-B', 1, 30),
53+
(4, 0, 10, 'Product 2', 'prod-2', 2, 40),
54+
(5, 4, 10, 'Product 2A', 'prod-2-A', 2, 50),
55+
(6, 4, 10, 'Product 2B', 'prod-2-B', 2, 60),
56+
(7, 0, 20, 'Product 3', 'prod-3', 3, 70),
57+
(8, 7, 20, 'Product 3A', 'prod-3-A', 3, 80),
58+
(9, 7, 20, 'Product 3B', 'prod-3-B', 3, 90),
59+
(10, 0, 50, 'Product 4', 'prod-4', 4, 100),
60+
(11, 10, 50, 'Product 4A', 'prod-4-A', 4, 100),
61+
(12, 10, 50, 'Product 4B', 'prod-4-B', 4, 100)
62+
""").collect()
6363
```
6464

6565
You can verify that the table was created and the data was inserted by executing the following Python code:

0 commit comments

Comments
 (0)