I have a problem on google-BigQuery:
- I wrote a query.
- I open the shell and I create a Python script that call the query and save the data in CSV file in a subdir of my home on BigQuery, and so far so good.
Now, all the files (.py and .csv) are that directory of BigQuery:
stefano_giostra@[MY_PROJECT]:~/bb_stkovf_data$ ls -l
total 24
-rw-r--r-- 1 stefano_giostra stefano_giostra 2724 Aug 7 01:51 best_answer_on_google-bigquery_90gg_20180807_0151.log
-rw-r--r-- 1 stefano_giostra stefano_giostra 669 Aug 7 01:51 domande_risposte_2014_2015.log
-rw-r--r-- 1 stefano_giostra stefano_giostra 155 Aug 7 01:51 python_developer_by_nation_20180807_0151.log
-rw-r--r-- 1 stefano_giostra stefano_giostra 770 Aug 7 01:51 query.sql
-rw-r--r-- 1 stefano_giostra stefano_giostra 7744 Aug 7 01:50 sg_bb_stkorw_info.py
- I wish to see the CSV on the BigQuery or GCP UI, how can I?
- I wish also generate a job that simply calls the script, and I don't wish to build ad HTML application only to schedule a call of a query.
In the documentation I haven't seen any yaml file where there is a call of a .py but only of a .app and in all documentation that I'd read in these days I haven't seen how to do that.
Can someone help me?
Thanks