79774031

Date: 2025-09-24 18:03:31
Score: 0.5
Natty:
Report link

I think this is better as the math on the right-hand side is only done once (I hope) and there's no need to do conversion of the timestamp for each row

WHERE timestamp >= CAST(to_unixtime(DATE_ADD('hour', -1, CURRENT_TIMESTAMP)) * 1000 as BIGINT)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: dlipofsky