Handling Gaps in Time-Series Data with PostgreSQL’s generate_series() and Ecto

Consider a monitoring system for a weather station. A sensor in the field collects temperature readings every hour and reports them back to…