Skip to content

Commit

Permalink
Making package ready for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
dat-a-man committed Oct 20, 2024
1 parent ac403d8 commit 2c8bd4c
Show file tree
Hide file tree
Showing 77 changed files with 8 additions and 4,590 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
logs/
target/
17 changes: 4 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,17 +89,7 @@ dbt_salesforce_datamodel/
Execute the dbt models to transform the raw Salesforce data into useful tables:

```sh
dbt run
```

>You can use the 'run_salesforce_dbt.py' script to execute your dbt transformations and load the results into a
>new dataset named `<original-dataset>_transformed` and runs the dbt tests.To use, please ensure you configure
>your dlt pipeline name and destination correctly.
To check for issues, run the dbt tests:

```sh
dbt test
dbt build
```

### Customization
Expand All @@ -120,8 +110,9 @@ for data model which can be further modified as required.

![picture](https://storage.googleapis.com/dlt-blog-images/Salesforce_raw_schema.png)

> Please note that this is a starting template for your data model and is not the final product. It is advised to customize the
> data model as per your needs.
> ⚠️ **Note:**
>
> Please note that this is a starting template for your data model and is not the final product. It is advised to customize the data model as per your needs.
Here's the link to the DB diagram: [link](https://dbdiagram.io/d/Salesforce_raw_schema-66e50c3a6dde7f414914fcf3).

Expand Down
4 changes: 2 additions & 2 deletions dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: 'salesforce_tst'
name: 'salesforce'

config-version: 2
version: '0.1'

profile: 'salesforce_tst'
profile: 'salesforce'

model-paths: ["models"]
test-paths: ["tests"]
Expand Down
7 changes: 0 additions & 7 deletions target/compiled/salesforce_tst/models/dlt_active_load_ids.sql

This file was deleted.

19 changes: 0 additions & 19 deletions target/compiled/salesforce_tst/models/dlt_processed_load_ids.sql

This file was deleted.

10 changes: 0 additions & 10 deletions target/compiled/salesforce_tst/models/marts/dim__dlt_loads.sql

This file was deleted.

52 changes: 0 additions & 52 deletions target/compiled/salesforce_tst/models/marts/dim_account.sql

This file was deleted.

35 changes: 0 additions & 35 deletions target/compiled/salesforce_tst/models/marts/dim_campaign.sql

This file was deleted.

This file was deleted.

51 changes: 0 additions & 51 deletions target/compiled/salesforce_tst/models/marts/dim_contact.sql

This file was deleted.

47 changes: 0 additions & 47 deletions target/compiled/salesforce_tst/models/marts/dim_lead.sql

This file was deleted.

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions target/compiled/salesforce_tst/models/marts/dim_pricebook_2.sql

This file was deleted.

Loading

0 comments on commit 2c8bd4c

Please sign in to comment.