In GCP, using python, my query selects some data to be inserted in table BQ_table.
query produces 2 fileds/columns: A String and Integer.
BQ_table follows schema.
schema = [ bigquery.SchemaField("name", "STRING", mode="NULLABLE"),
bigquery.SchemaField("age", "INTEGER", mode="NULLABLE")
]
config = bigquery.QueryJobConfig(destination= BQ_table, autodetect=True, schema=schema)
query_job = self._client.query(query, job_config=config)
que
My questions is how can I list/show all possible Datasets and Tables in my current project?
I could not find the proper gcloud | gsutil command.
The Data can be inserted, type of age from STRING to INTEGER, but I'm wondering what am I missing to insert the numeric data into the table.
The error is:
Google Cloud - BiqQuery, Invalid schema update. Field has changed type from INTEGER to STRING