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
Copy file name to clipboardExpand all lines: hercules-packages/bluesky/1.0.yaml
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,10 @@
1
1
name: bluesky
2
2
version: 1.0
3
3
4
+
extensions:
5
+
community:
6
+
- name: psql
7
+
4
8
sources:
5
9
- name: profile
6
10
type: sql
@@ -16,7 +20,8 @@ sources:
16
20
17
21
- name: jetstream
18
22
type: sql
19
-
source: select * from read_parquet('https://hive.buz.dev/bluesky/jetstream/latest.parquet');
23
+
# source: select * from read_parquet('https://hive.buz.dev/bluesky/jetstream/latest.parquet');
24
+
source: select * from read_parquet('jetstream.parquet');
20
25
materialize: true
21
26
refreshIntervalSeconds: 600
22
27
@@ -143,7 +148,7 @@ metrics:
143
148
144
149
- name: jetstream_posts_per_minute_bucket
145
150
help: Quantiles of posts per minute
146
-
sql: select date_trunc('minute', make_timestamp(time_us)), count(*) from jetstream where commit.collection = 'app.bsky.feed.post' and commit.operation = 'create' group by 1;
151
+
sql: from jetstream |> select date_trunc('minute', make_timestamp(time_us)), count(*) where commit.collection = 'app.bsky.feed.post' and commit.operation = 'create' group by 1;
0 commit comments