-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1587319
commit f0103f3
Showing
8 changed files
with
209 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# analytics | ||
|
||
## Table of contents | ||
|
||
- [kpis](#kpis) | ||
|
||
## Views | ||
|
||
### kpis | ||
|
||
```sql | ||
SELECT * | ||
FROM jaffle_shop_max.analytics__kpis | ||
``` | ||
|
||
| Column | Type | Description | Unique | | ||
|:---------|:----------|:--------------|:---------| | ||
| metric | `VARCHAR` | | | | ||
| value | `BIGINT` | | | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
SELECT | ||
'n_customers' AS metric, | ||
COUNT(*) AS value | ||
FROM | ||
jaffle_shop.core__customers | ||
|
||
UNION ALL | ||
|
||
SELECT | ||
'n_orders' AS metric, | ||
COUNT(*) AS value | ||
FROM | ||
jaffle_shop.core__orders |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "lea-cli" | ||
version = "0.1.0" | ||
version = "0.2.0" | ||
description = "A minimalist alternative to dbt" | ||
authors = ["Max Halford <[email protected]>"] | ||
packages = [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters