Skip to content

Commit

Permalink
sql syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
ehigham committed Jul 31, 2024
1 parent 9cdc9d7 commit 21e2421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion batch/batch/driver/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1518,7 +1518,7 @@ async def compact(tx: Transaction, record: dict):
await tx.just_execute(
f"""\
DELETE FROM job_group_inst_coll_cancellable_resources
WHERE {','.join([f'{k} = %s' for k in keyfields])};
WHERE {'AND'.join([f'{k} = %s' for k in keyfields])};
""",
[record[k] for k in keyfields],
)
Expand Down

0 comments on commit 21e2421

Please sign in to comment.