We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b57fa99 commit e1a6e15Copy full SHA for e1a6e15
tinybird/datasources/orb.datasource
@@ -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