mark-mucchetti / bq-location

Loads Google Takeout JSONs for semantic location history into a BigQuery table.
3 stars 0 forks source link

Description ambiguity in index.js configuration section #2

Open daneekadoc opened 3 years ago

daneekadoc commented 3 years ago

There should be a comment next to

defaultLocation = "US" ;

inside index.js, because this location must indicate the geographical zone of the database, not the bucket (in my case it is in Europe). most likely it can be left on the initial value (US), because BigQuery will place its databases in this region. Changing this value will make the routine fail with a "Not found: Dataset {your dataset's name here}:{database name here}" error.

mark-mucchetti commented 3 years ago

Good catch. I tried to avoid US-centricity in all of the samples, so thank you for testing it and finding the problem.