Skip to content

Commit

Permalink
Fix quotes in filter_by_time_period
Browse files Browse the repository at this point in the history
Co-authored-by: Helena <[email protected]>
  • Loading branch information
lldelisle and hexylena authored Dec 15, 2023
1 parent 53fc342 commit 77327ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parts/22-query.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4943,7 +4943,7 @@ query_tools-usage-per-month() { ##? [--startmonth=<YYYY>-<MM>] [--endmonth=<YYYY
filter_by_time_period="job.create_time > NOW() - interval '1 year'"
fi
if [[ -n $arg_endmonth ]]; then
filter_by_time_period=$filter_by_time_period "AND date_trunc('month', job.create_time AT TIME ZONE 'UTC') <= '$arg_endmonth-01'::date"
filter_by_time_period="$filter_by_time_period AND date_trunc('month', job.create_time AT TIME ZONE 'UTC') <= '$arg_endmonth-01'::date"
fi
tool_list=$(echo "$arg_toolnames" | sed -e "s/^/('/" -e "s/,/', '/g" -e "s/$/')/")
read -r -d '' QUERY <<-EOF
Expand Down

0 comments on commit 77327ec

Please sign in to comment.