Skip to content

Commit

Permalink
Merge pull request #29 from DataRecce/doc/drc-362-sqlmesh-integration
Browse files Browse the repository at this point in the history
Adjust the content. Make the command eaiser to be copied
  • Loading branch information
popcornylu authored May 6, 2024
2 parents 1f3257d + 0e3d5a8 commit 6a01a89
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/docs/start-with-sqlmesh.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ Here, the official [example project](https://github.com/TobikoData/sqlmesh/tree/
```
and apply this change to the **dev** environment
```shell
$ sqlmesh --config local_config plan dev
sqlmesh --config local_config plan dev
```
output
```shell
New environment `dev` will be created from `prod`
Summary of differences against `dev`:
Models:
Expand All @@ -99,7 +102,10 @@ Here, the official [example project](https://github.com/TobikoData/sqlmesh/tree/

1. Use `sqlmesh table-diff` to check the change.
```shell
$ sqlmesh --config local_config table_diff prod:dev sushi.customers
sqlmesh --config local_config table_diff prod:dev sushi.customers
```
output
```
Schema Diff Between 'PROD' and 'DEV' environments for model 'sushi.customers':
└── Schemas match

Expand Down

0 comments on commit 6a01a89

Please sign in to comment.