Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Add bq_ingested_timestamp #9

Merged
merged 9 commits into from
Jun 15, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove unused vars
  • Loading branch information
neilkakkar committed Jun 7, 2021
commit 6b7941dcc31f1ae98d81a70e5e24ee7e3bbab303
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export async function exportEventsToBigQuery(events: PluginEvent[], { global }:
})

const start = Date.now()
const response = await global.bigQueryTable.insert(rows, insertOptions)
await global.bigQueryTable.insert(rows, insertOptions)
const end = Date.now() - start

console.log(`Inserted ${events.length} ${events.length > 1 ? 'events' : 'event'} to BigQuery. Took ${end/1000} seconds.`)
Expand Down