Exporting data to GCS from BigQuery - Split file size control

前端 未结 1 1266
梦如初夏
梦如初夏 2021-01-21 15:04

I am currently exporting data from Bigquery to GCS buckets. I am doing this programmatically using the following query:

query_request = bigquery_service.jobs()

         


        
相关标签:
1条回答
  • 2021-01-21 15:30

    If you specify multiple URI patterns, the data will be sharded between them. So if you used, say, 28 URI patterns, each shard would be about half a GB. You'd end up with second files of size zero for each pattern, as this is really meant for MR jobs, but its one way to accomplish what you want.

    More info here (see the Multiple Wildcard URIs section): Exporting Data From BigQuery

    0 讨论(0)
提交回复
热议问题