Skip to content

Commit

Permalink
Make hr an int
Browse files Browse the repository at this point in the history
does this actually save any bandwidth or space? I don't know but it feels like it could
  • Loading branch information
Nate-Wessel committed Jun 12, 2024
1 parent 05586a0 commit 8ebde8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/get_travel_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def get_travel_time(start_node, end_node, start_time, end_time, start_date, end_
SELECT
link_dir,
dt::text,
extract(HOUR FROM tod) AS hr,
extract(HOUR FROM tod)::smallint AS hr,
mean::real AS speed_kmph
FROM here.ta
WHERE
Expand Down

0 comments on commit 8ebde8c

Please sign in to comment.