Skip to content

Commit 477d54f

Browse files
committed
Remove unneeded data check
1 parent 4564e73 commit 477d54f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sql/generate_reports.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ else
271271
if [[ $metric != crux* ]]; then # CrUX is quick and join is more compilicated so just do a full run of that
272272
date_join="date > CAST(REPLACE(\"$max_date\",\"_\",\"-\") AS DATE)"
273273
# Skip 2022_05_12 tables
274-
date_join="${date_join} AND date != \"2022-05-12\""
274+
date_join="${date_join}"
275275
if [[ -n "$YYYY_MM_DD" ]]; then
276276
# If a date is given, then only run up until then (in case next month is mid run as do not wanna get just desktop data)
277277
date_join="${date_join} AND date <= \"$DATE\""
@@ -291,7 +291,7 @@ else
291291
# If a date is given, then only run up until then (in case next month is mid run as do not wanna get just desktop data)
292292
date_join="date <= \"$DATE\""
293293
# Skip 2022_05_12 tables
294-
date_join="${date_join} AND date != \"2022-05-12\""
294+
date_join="${date_join}"
295295
fi
296296

297297
echo -e "Force Mode=${FORCE}. Generating $gs_lens_dir$metric timeseries from start until ${YYYY_MM_DD}."
@@ -301,7 +301,7 @@ else
301301
if [[ $metric != crux* ]]; then # CrUX is quick and join is more compilicated so just do a full run of that
302302
date_join="date <= \"$DATE\""
303303
# Skip 2022_05_12 tables
304-
date_join="${date_join} AND date != \"2022-05-12\""
304+
date_join="${date_join}"
305305
fi
306306

307307
echo -e "Timeseries does not exist. Generating $gs_lens_dir$metric timeseries from start until ${YYYY_MM_DD}"

0 commit comments

Comments
 (0)