Need to identify non contigious rows
Something like this:

select *
from (
  select ds.*,
         lag(ds.odometer_end) over (partition by ds.machine order by ds."date") as prev_end
  from daily_summary ds
) t
where odometer_start &lt;&gt; prev_end + 1  
order by "date"