Skip to content

Commit da6bd46

Browse files
committed
add timestamp
1 parent dc359e8 commit da6bd46

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Deploy this project to your Tinybird account and configure the webhooks for the
1313
- [Auth0 Log Streams](https://www.tinybird.co/docs/get-data-in/guides/ingest-auth0-logs)
1414
- [Clerk](https://www.tinybird.co/docs/get-data-in/guides/ingest-from-clerk)
1515
- [GitLab](https://www.tinybird.co/docs/get-data-in/guides/ingest-from-gitlab)
16+
- [GitHub](https://www.tinybird.co/docs/get-data-in/guides/ingest-from-github)
1617
- [Orb](https://www.tinybird.co/docs/get-data-in/guides/ingest-from-orb)
1718
- [PagerDuty](https://www.tinybird.co/docs/get-data-in/guides/ingest-from-pagerduty)
1819
- [Resend](https://www.tinybird.co/docs/get-data-in/guides/ingest-from-resend)

tinybird/datasources/github.datasource

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ TOKEN "append" APPEND
55
TAGS "github"
66

77
SCHEMA >
8-
`root` JSON `json:$` DEFAULT '{}'
8+
'ingest_timestamp' DateTime `json:$.time` DEFAULT now(),
9+
'record' JSON `json:$`
910

10-
ENGINE "MergeTree"
11+
ENGINE "MergeTree"
12+
ENGINE_SORTING_KEY "ingest_timestamp"

0 commit comments

Comments
 (0)