You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CSS is built from `notebooks/styles/base.css` + variant partials by `scripts/build_css.py`. Run `uv run scripts/build_css.py` after editing any CSS source file.
49
+
50
+
### Filter ecosystem queries
51
+
52
+
When querying `oso.stg_opendevdata__ecosystems` and listing/ranking multiple ecosystems, always add:
53
+
```sql
54
+
WHEREe.is_crypto=1ANDe.is_category=0
55
+
```
56
+
This filters out ODD's internal category ecosystems. Not needed when filtering by a specific ecosystem name (e.g., `WHERE e.name = 'Ethereum'`).
57
+
43
58
### Use Trino SQL
44
59
All queries run against a Trino data warehouse via pyoso. Write Trino-compatible SQL:
45
60
-`DATE_TRUNC('month', dt)` not `DATE_TRUNC(dt, MONTH)`
0 commit comments