hts/internal/tinybird/datasources/mv__monthly_stats.datasource

13 lines
356 B
Plaintext

VERSION 1
# Data Source created from Pipe 'aggregate_verifications_monthly__v1'
SCHEMA >
`verifications` AggregateFunction(count),
`activeKeys` AggregateFunction(uniq, String),
`activeWorkspaces` AggregateFunction(uniq, String),
`month` Date
ENGINE "AggregatingMergeTree"
ENGINE_PARTITION_KEY "toYYYYMM(month)"
ENGINE_SORTING_KEY "month"