Skip to content

Commit

Permalink
fix(bigquery): Small typing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasfarias committed Sep 2, 2024
1 parent cb9c856 commit 131be74
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions posthog/temporal/batch_exports/bigquery_batch_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,11 @@ async def amerge_person_tables(
field_names = ""

if not update_fields:
update_fields = final_table.schema
update_clause_fields = final_table.schema
else:
update_clause_fields = update_fields

for n, field in enumerate(update_fields):
for n, field in enumerate(update_clause_fields):
if n > 0:
update_clause += ", "
values += ", "
Expand Down

0 comments on commit 131be74

Please sign in to comment.