Reputation: 11
We are migrating from Digital Ocean to GCP and to test things out we exported our data as json from our mongo DB and uploaded it to GCS bucket (userDump.json is one of it)
Now, we are fetching data from our GCS bucket and making tables in big query. (users table)
So far everything is working out.
My problem:
Every day we are onboarding new users and their data is saved on GCS. We want to run a cron /similar functionality to add that data to the table so in the morning, people can perform queries on yesterday's data.
How can I achieve this?
Upvotes: 1
Views: 983
Reputation: 59225
Take a look at my lazy data loading in BigQuery article:
What you could do is:
Upvotes: 2