Skip to content

Commit

Permalink
fix(bq-syncer): ensure sync in oder
Browse files Browse the repository at this point in the history
  • Loading branch information
daoleno committed Jan 15, 2024
1 parent 19399ff commit 5f2bdf8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bq-syncer/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ def process_table(table, conn, dataset_ref, bqclient, idx):
SELECT {', '.join(fields)}
FROM `{table_ref}`
WHERE datastream_metadata.source_timestamp > {last_timestamp}
ORDER BY datastream_metadata.source_timestamp ASC
"""
query_job = bqclient.query(query)
pageNum = 0
Expand Down

0 comments on commit 5f2bdf8

Please sign in to comment.