I need to export query result to my own local machine to use these data in a program.
I created a bucket and I copied the bucket URL taht starts with gs
as shown here:
I added a public projetc dataset to my own BigQuery project. I made a query and got the results. I click on Export Table
that appears above the query results. Then I paste my bucket URL as follows:
I get this error:
Invalid extract destination URI 'gs://xxxx_test_bucket'. Must be a valid Google Cloud Storage path and filename/pattern. Dismiss
I tried by pasting the URL after I remove gs
in my URL. I get this same error:
Invalid extract destination URI 'gs://xxxx_test_bucket'. Must be a valid Google Cloud Storage path and filename/pattern. Dismiss
When I created the bucket, I edited the bucket's permissions (from the three dots at the far right in the bucket, I added my google account that I use for BigQuery as a storage legacy bucket owner
.
Please, how can I export my query results to a CSV into my local machine? I created a bucket as a temporal storage as it seems the only way to export results to. Can I download my bucket storage CSV results into my local machine?