@jasen_gottlieb
You can group the time column into 5 second intervals and count the rows using the following query in Presto:
1 2 3 4 5 6 |
SELECT
COUNT(*) as rows_count,
DATE_TRUNC('5 second', time_column) as time_interval
FROM your_table
GROUP BY DATE_TRUNC('5 second', time_column)
ORDER BY time_interval;
|
In this query:
This query will give you the count of rows in 5-second intervals based on the time column in your table.