hts/internal/tinybird/datasources/mv__daily_verifications.dat...

16 lines
483 B
Plaintext

VERSION 2
# Data Source created from Pipe 'aggregate_verifications_daily__v2'
SCHEMA >
`workspaceId` String,
`apiId` String,
`keyId` String,
`success` AggregateFunction(countIf, Nullable(UInt8)),
`rateLimited` AggregateFunction(countIf, Nullable(UInt8)),
`usageExceeded` AggregateFunction(countIf, Nullable(UInt8)),
`time` DateTime
ENGINE "AggregatingMergeTree"
ENGINE_PARTITION_KEY "toYYYYMM(time)"
ENGINE_SORTING_KEY "workspaceId, apiId, keyId, time"