Skip to content

Commit

Permalink
more changes
Browse files Browse the repository at this point in the history
  • Loading branch information
y-bruin committed Jan 6, 2025
1 parent e8ff2a3 commit f9b579b
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions docs/assets/seed.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Seeds are CSV-files that contain data that is prepared outside of your pipeline

You can define seed assets in a file ending with `.yaml`:
```yaml
name: dashboard.hello_bq
name: dashboard.hello
type: duckdb.seed

parameters:
Expand All @@ -23,7 +23,7 @@ The examples below show how load a csv into a Duckdb & bigquery database.

### Simplest: Load csv into a Duckdb
```yaml
name: dashboard.hello_bq
name: dashboard.hello
type: duckdb.seed
parameters:
Expand Down
4 changes: 2 additions & 2 deletions docs/platforms/athena.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ group by order_date;

You can define seed assets in a file ending with `.yaml`:
```yaml
name: dashboard.hello_bq
name: dashboard.hello
type: athena.seed
parameters:
Expand All @@ -108,7 +108,7 @@ parameters:

The examples below show how load a csv into a athena database.
```yaml
name: dashboard.hello_bq
name: dashboard.hello
type: athena.seed
parameters:
Expand Down
4 changes: 2 additions & 2 deletions docs/platforms/bigquery.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ parameters:

You can define seed assets in a file ending with `.yaml`:
```yaml
name: dashboard.hello_bq
name: dashboard.hello
type: bq.seed
parameters:
Expand All @@ -161,7 +161,7 @@ parameters:

The examples below show how load a csv into a bigquery database.
```yaml
name: dashboard.hello_bq
name: dashboard.hello
type: bq.seed
parameters:
Expand Down
4 changes: 2 additions & 2 deletions docs/platforms/databricks.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ join marketing.attribution as a

You can define seed assets in a file ending with `.yaml`:
```yaml
name: dashboard.hello_bq
name: dashboard.hello
type: databricks.seed
parameters:
Expand All @@ -88,7 +88,7 @@ parameters:

The examples below show how load a csv into a databricks database.
```yaml
name: dashboard.hello_bq
name: dashboard.hello
type: databricks.seed
parameters:
Expand Down
4 changes: 2 additions & 2 deletions docs/platforms/duckdb.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ FROM events.customers

You can define seed assets in a file ending with `.yaml`:
```yaml
name: dashboard.hello_bq
name: dashboard.hello
type: duckdb.seed
parameters:
Expand All @@ -79,7 +79,7 @@ parameters:

The examples below show how load a csv into a duckdb database.
```yaml
name: dashboard.hello_bq
name: dashboard.hello
type: duckdb.seed
parameters:
Expand Down
12 changes: 6 additions & 6 deletions docs/platforms/materialization.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Here's a sample asset with materialization:
```bruin-sql
/* @bruin
name: dashboard.hello_bq
name: dashboard.hello
type: bq.sql
materialization:
Expand All @@ -35,7 +35,7 @@ Here's an example of an asset with `create+replace` materialization:
```bruin-sql
/* @bruin
name: dashboard.hello_bq
name: dashboard.hello
type: bq.sql
materialization:
Expand All @@ -48,7 +48,7 @@ union all
select 2 as one
```

The result will be a table `dashboard.hello_bq` with the result of the query.
The result will be a table `dashboard.hello` with the result of the query.

## `delete+insert`
`delete+insert` strategy is useful for incremental updates. It deletes the rows that are no longer present in the query results and inserts the new rows. This is useful when you have a large table and you want to minimize the amount of data that needs to be written.
Expand All @@ -65,7 +65,7 @@ Here's an example of an asset with `delete+insert` materialization:
```bruin-sql
/* @bruin
name: dashboard.hello_bq
name: dashboard.hello
type: bq.sql
materialization:
Expand All @@ -88,7 +88,7 @@ Bruin will simply run the query, and insert the results into the destination tab
```bruin-sql
/* @bruin
name: dashboard.hello_bq
name: dashboard.hello
type: bq.sql
materialization:
Expand Down Expand Up @@ -116,7 +116,7 @@ Here's a sample asset with `merge` materialization:
```bruin-sql
/* @bruin
name: dashboard.hello_bq
name: dashboard.hello
type: bq.sql
materialization:
Expand Down
4 changes: 2 additions & 2 deletions docs/platforms/mssql.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ order by order_year, order_month;

You can define seed assets in a file ending with `.yaml`:
```yaml
name: dashboard.hello_bq
name: dashboard.hello
type: ms.seed
parameters:
Expand All @@ -74,7 +74,7 @@ parameters:

The examples below show how load a csv into a mssql database.
```yaml
name: dashboard.hello_bq
name: dashboard.hello
type: ms.seed
parameters:
Expand Down
4 changes: 2 additions & 2 deletions docs/platforms/postgres.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ join marketing.attribution as a

You can define seed assets in a file ending with `.yaml`:
```yaml
name: dashboard.hello_bq
name: dashboard.hello
type: pg.seed
parameters:
Expand All @@ -91,7 +91,7 @@ parameters:

The examples below show how load a csv into a postgres database.
```yaml
name: dashboard.hello_bq
name: dashboard.hello
type: pg.seed
parameters:
Expand Down
4 changes: 2 additions & 2 deletions docs/platforms/redshift.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ commit transaction;

You can define seed assets in a file ending with `.yaml`:
```yaml
name: dashboard.hello_bq
name: dashboard.hello
type: rs.seed
parameters:
Expand All @@ -98,7 +98,7 @@ parameters:

The examples below show how load a csv into a redshift database.
```yaml
name: dashboard.hello_bq
name: dashboard.hello
type: rs.seed
parameters:
Expand Down
4 changes: 2 additions & 2 deletions docs/platforms/snowflake.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ parameters:

You can define seed assets in a file ending with `.yaml`:
```yaml
name: dashboard.hello_bq
name: dashboard.hello
type: sf.seed
parameters:
Expand All @@ -133,7 +133,7 @@ parameters:

The examples below show how load a csv into a snowflake database.
```yaml
name: dashboard.hello_bq
name: dashboard.hello
type: sf.seed
parameters:
Expand Down
4 changes: 2 additions & 2 deletions docs/platforms/synapse.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ group by customer_id;

You can define seed assets in a file ending with `.yaml`:
```yaml
name: dashboard.hello_bq
name: dashboard.hello
type: synapse.seed

parameters:
Expand All @@ -73,7 +73,7 @@ parameters:

The examples below show how load a csv into a synapse database.
```yaml
name: dashboard.hello_bq
name: dashboard.hello
type: synapse.seed
parameters:
Expand Down

0 comments on commit f9b579b

Please sign in to comment.