SET DATE_TIME_UNIX = UNIX_EPOCH_TO_DATE(data.time);ELECT COUNT(data.serverip) AS count_data_serverip:BIGINT, data.serverip AS serverip:STRING FROM"TIME_SERIES_w_NULLs"GROUP BY data.serverip
Count the number of entries for each time interval:
SET Unix_Time =UNIX_EPOCH_TO_DATE(data.time);SELECT Unix_Time AS unix_time:STRING,COUNT(Unix_Time) AS count_unix_time:BIGINTFROM"TIME_SERIES_w_NULLs"GROUPBY Unix_Time