File size: 295 Bytes
8dbcfb8
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
INSTALL httpfs;
LOAD httpfs;

SELECT
  zone_name,
  date_trunc('day', CAST(datetime_hour AS TIMESTAMP)) AS day,
  sum(requests) AS requests
FROM read_parquet('hf://datasets/Lightcap/multi-domain-cloudflare-observability/data/http_hourly.parquet')
GROUP BY 1, 2
ORDER BY day DESC, requests DESC;