A practical guide to querying DateTime columns in ClickHouse using the NYC taxi dataset. Covers key functions including toStartOfHour, toStartOfFifteenMinutes, formatDateTime, dateDiff, toDayOfWeek, and countIf. Demonstrates real-world use cases: bucketing trips by hour, analyzing 15-minute rush hour windows, computing average

9m read timeFrom clickhouse.com
Post cover image
Table of contents
Importing the New York City taxi dataset #Trips by hour #Rush hour in 15-minute windows #What does rush hour feel like? #Weekdays vs weekends #

Sort: