diff --git a/.github/demos/rename.gif b/.github/demos/rename.gif new file mode 100644 index 0000000000..1090d4697b Binary files /dev/null and b/.github/demos/rename.gif differ diff --git a/.github/demos/scope.gif b/.github/demos/scope.gif new file mode 100644 index 0000000000..358013cdf7 Binary files /dev/null and b/.github/demos/scope.gif differ diff --git a/README.md b/README.md index a6cb9ebdab..8937a7597a 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,10 @@ your SQL, so change is safe. It is a free, open-source framework for SQL and Pyt and it keeps its state in append-only tables in your own warehouse: no external state database, no manifest files and no paid tier. +

+ Moving and renaming an incremental model: sqb plan migrates the existing table instead of rebuilding it +

+ ## Quick start ```bash @@ -67,6 +71,10 @@ The playground runs on local DuckDB, with no warehouse credentials. - **Tidy up safely.** The [janitor](https://sqlbuild.com/docs/cli/janitor/) archives stale tables before anything is deleted. +

+ sqb scope previews a move: the enum and macro the model uses would be lost, so the move is flagged before anything breaks +

+ Ingestion with Python loaders, and Python tasks, assets and checks, run in the same graph as your SQL models. See the [docs](https://sqlbuild.com/docs/) for everything else. diff --git a/website/recordings/README.md b/website/recordings/README.md index 34f57ceada..e2949ccd10 100644 --- a/website/recordings/README.md +++ b/website/recordings/README.md @@ -12,7 +12,7 @@ scripts are the source; the rendered GIF, MP4 and PNG files go to `out/`, which | `janitor` | `sqb janitor` archives a stale table before anything is deleted. | | `quickstart` | The playground: `sqb playground`, `sqb build` and `sqb test`. | -Each demo runs locally on DuckDB, using the projects in [`../examples`](../examples). +The README uses `rename.gif` and `scope.gif`, copied into `.github/demos/`. Each demo runs locally on DuckDB, using the projects in [`../examples`](../examples). ## Requirements diff --git a/website/recordings/tapes/scope.tape b/website/recordings/tapes/scope.tape index a208d29722..bba9aba046 100644 --- a/website/recordings/tapes/scope.tape +++ b/website/recordings/tapes/scope.tape @@ -1,4 +1,7 @@ Source tapes/common.tape +Set FontSize 16 +Set Width 1400 +Set Height 1100 Output out/scope.gif Output out/scope.mp4 Hide @@ -6,7 +9,7 @@ Type "cd scratch/scope && export PS1='$ ' && clear" Enter Sleep 500ms Show -Type "find models/marts -name '*.sql' -o -name '*.py'" +Type "find models/marts/_sqlbuild models/marts/daily_revenue.sql -type f" Enter Sleep 1500ms Type "sqb scope model:daily_revenue --as-path models/intermediate/daily_revenue.sql"