We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 035cf73 commit 8d9a110Copy full SHA for 8d9a110
detector/detector/detector.py
@@ -422,7 +422,6 @@ def process_fresh_data(
422
assert len(status)
423
424
log.debug("Updating blocking_status table")
425
- # click.execute("TRUNCATE TABLE blocking_status SYNC")
426
427
wanted_cols = [
428
"test_name",
@@ -442,6 +441,7 @@ def process_fresh_data(
442
441
status.old_status.fillna("UNKNOWN", inplace=True)
443
status.change.fillna(0, inplace=True)
444
tmp_s = status.reset_index()[wanted_cols].convert_dtypes()
+ click.execute("TRUNCATE TABLE blocking_status SYNC")
445
click.insert_dataframe("INSERT INTO blocking_status VALUES", tmp_s)
446
447
if events is not None and len(events):
0 commit comments