Skip to content

Commit b88f364

Browse files
authored
Clarify fix_latest_issue_sql
Fully-qualify column in SET expression
1 parent 3ec45c8 commit b88f364

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/acquisition/covidcast/database.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ def delete_batch(self, cc_deletions):
322322
) AS TMP
323323
LEFT JOIN `covidcast`
324324
USING (`source`, `signal`, `time_type`, `geo_type`, `time_value`, `geo_value`, `issue`)
325-
SET `is_latest_issue`=1;
325+
SET `covidcast`.`is_latest_issue`=1;
326326
'''
327327

328328
drop_tmp_table_sql = f'DROP TABLE {tmp_table_name}'

0 commit comments

Comments
 (0)