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
Copy file name to clipboardExpand all lines: src/content/docs/snowflake/features/cross-database-resource-sharing.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ In this guide, we'll walk through a series of Snowflake SQL statements to create
19
19
20
20
Create three databases to represent the three different organizations that will share resources. In this example, we'll create databases for `db_name1`, `db_name2`, and `db_name3`.
Create a table in each schema to represent the shared resources. In this example, you can create a table called `table1` in `db_name1_actual.sch`, `table2` in `db_name2_actual.sch`, and `table3` in `db_name3_actual.sch`.
41
41
42
-
```sql
42
+
```sql showLineNumbers
43
43
CREATETABLEdb_name1_actual.sch.table1 (id INT);
44
44
CREATETABLEdb_name2_actual.sch.table2 (id INT);
45
45
CREATETABLEdb_name3_actual.sch.table3 (id INT);
@@ -49,7 +49,7 @@ CREATE TABLE db_name3_actual.sch.table3 (id INT);
49
49
50
50
You can now insert data into the tables to represent the shared resources. In this example, we'll insert a single row into each table.
You can create an external volume using the `CREATE OR REPLACE EXTERNAL VOLUME` statement. The external volume is used to define the location of the files that Iceberg will use to store the table data.
Copy file name to clipboardExpand all lines: src/content/docs/snowflake/features/materialized-views.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ The following sections guide you through creating materialized views, inserting
19
19
20
20
To create a materialized view, use the `CREATE MATERIALIZED VIEW` statement. The following example creates a view `order_view` that selects specific columns from the `orders` table.
Copy file name to clipboardExpand all lines: src/content/docs/snowflake/features/snowpipe.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ awslocal s3 mb s3://test-bucket
27
27
28
28
You can create a stage using the `CREATE STAGE` command. The stage is used to define the location of the files that Snowpipe will load into the table.
29
29
30
-
```sql
30
+
```sql showLineNumbers
31
31
CREATE STAGE test_stage
32
32
URL='s3://test-bucket'
33
33
CREDENTIALS = (
@@ -68,15 +68,15 @@ Retrieve the `notification_channel` value from the output of the `DESC PIPE` que
68
68
69
69
You can use the [`PutBucketNotificationConfiguration`](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketNotificationConfiguration.html) API to create a bucket notification configuration that sends notifications to Snowflake when new files are uploaded to the S3 bucket.
Copy file name to clipboardExpand all lines: src/content/docs/snowflake/features/stages.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ CREATE OR REPLACE DATABASE snowflake_tutorials;
30
30
31
31
Similarly, you can create a table using the `CREATE TABLE` command. In this example, you can create a table called `employees` in `snowflake_tutorials.public`:
0 commit comments