S
Suten Shah
Guest
Suten Shah Asks: Need Bigquery partition table export in partitioned manner in Cloud Storage
I need to export BigQuery partitioned data in partitioned manner, what I mean by this is for example:
Bigquery table has 2 partitions let say on load_date(int) column i.e., 20220923 & 20220924 then when I export it to Cloud Storage the folder structure should looks like:
gs://bucket/exportfolder/load_date=20220923/exported_data_for_this_partition_only_*.csv gs://bucket/exportfolder/load_date=20220924/exported_data_for_this_partition_only_*.csv
Is there any simple way to do it in BigQuery itself? Any solution will help.
I need to export BigQuery partitioned data in partitioned manner, what I mean by this is for example:
Bigquery table has 2 partitions let say on load_date(int) column i.e., 20220923 & 20220924 then when I export it to Cloud Storage the folder structure should looks like:
gs://bucket/exportfolder/load_date=20220923/exported_data_for_this_partition_only_*.csv gs://bucket/exportfolder/load_date=20220924/exported_data_for_this_partition_only_*.csv
Is there any simple way to do it in BigQuery itself? Any solution will help.
SolveForum.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your thoughts here to help others.