Skip to content

Commit

Permalink
lateral join bongo
Browse files Browse the repository at this point in the history
  • Loading branch information
jvansanten committed Feb 12, 2024
1 parent fc4c128 commit c4a4ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations/02_add_archive_count.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

print(row, count)

blobs = Archive.select().where(Archive.c.count != None).subquery().lateral()
blobs = Archive.select().where(Archive.c.count != None).lateral()
alerts = sa.select([Alert.c.avro_archive_id]).where(
Alert.c.avro_archive_id == blobs.c.avro_archive_id
)
Expand Down

0 comments on commit c4a4ac4

Please sign in to comment.