We would like to import our Cloud SQL database into BigQuery to query along with other datasets we have there.
What is the best path to doing this?
We would like to import our Cloud SQL database into BigQuery to query along with other datasets we have there.
What is the best path to doing this?
You can export your data as CSV files and then load them into BigQuery.
Shamless plug for this answer to a similar question: set up a "connection" to allow Cloud SQL Federated Queries and do all the work directly within BigQuery:
INSERT
demo.customers (column1)
SELECT
*
FROM
EXTERNAL_QUERY("project.us.connection",
"SELECT column1 FROM mysql_table;");