hts/internal/tinybird/pipes/aggregate_active_keys_per_h...

17 lines
252 B
Plaintext

NODE aggregate
SQL >
SELECT
workspaceId,
apiId,
keyId,
toStartOfHour(fromUnixTimestamp64Milli(time)) AS time
FROM key_verifications
GROUP BY
workspaceId,
apiId,
keyId,
time