Skip to content

Commit 5fb26c7

Browse files
committed
add orb
1 parent 7d8e2cf commit 5fb26c7

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
TOKEN "append" APPEND
2+
3+
# Refer to https://docs.withorb.com/guides/integrations-and-exports/webhooks for the `details` schema definition for each resource type
4+
5+
TAGS "orb"
6+
7+
8+
SCHEMA >
9+
`id` String `json:$.id`,
10+
`type` LowCardinality(String) `json:$.type` DEFAULT 'unknown',
11+
`date` DateTime64(3) `json:$.created_at` DEFAULT now(),
12+
`resource_name` LowCardinality(String) `json:$.resource_name` DEFAULT 'unknown',
13+
`details` JSON `json:$.properties` DEFAULT '{}'
14+
15+
ENGINE "MergeTree"
16+
ENGINE_PARTITION_KEY "toYYYYMM(date)"
17+
ENGINE_SORTING_KEY "type, resource_name, date"

0 commit comments

Comments
 (0)