I want to implement a pipeline, where I store data in Cloud Datastore and then incrementally read it in BigQuery, convert Bigquery data to Tf records and then run ML Tf algorithms. I don't get a clean method of importing a json file to datastore and export the data again to Bigquery from Python code.
2 Answers
2
votes
I could gradually find an answer to loading JSON file to the DataStore.
The answer to how to import JSON data into Datastore is: https://cloud.google.com/datastore/docs/reference/data/rest/v1/Entity
Various types supported by Google Datastore can be found here:
Cloud Datastore now has an import and export feature that you can use to load Cloud Datastore entities into BigQuery: