小编Sau*_*wal的帖子

使用python将BigQuery表数据导出到具有where子句的Google Cloud Storage

我想将表格数据从BigQuery导出到Google Cloud Storage。问题是,我需要从date1到date2的数据,而不是整个表的数据。

extract_job = client.extract_table(
    table_ref,
    destination_uri,
    # Location must match that of the source table.
    location='US')  # API request
extract_job.result()  
Run Code Online (Sandbox Code Playgroud)

这就是我在Google云端帮助中找到的内容。没有空间使用where子句添加查询或限制数据。

python google-cloud-storage google-bigquery

6
推荐指数
1
解决办法
1260
查看次数