简体   繁体   English

如何将一个 bigquery 数据集复制或传输到来自不同 gcp 组织的另一个 bigquery

[英]How to copy or transfer one bigquery dataset to another bigquery from a different gcp organization

I have some datasets in my own bigquery account (organization A) that needs to be transferred to another bigquery account in organization B. How to do it?我自己的 bigquery 帐户(组织 A)中有一些数据集需要转移到组织 B 中的另一个 bigquery 帐户。怎么做?

I am aware the data transfer service and RESTapi but that seem to be transfer data across project and region level within the organization.我知道数据传输服务和 RESTapi,但这似乎是在组织内跨项目和区域级别传输数据。

Thanks!谢谢!

You can use BigQuery Copy Datasets feature (beta feature at the moment) to copy datasets across projects/organization and across regions (not all regions supported).您可以使用 BigQuery Copy Datasets功能(目前为 beta 功能)跨项目/组织和跨区域(并非所有区域都支持)复制数据集。 Cross organization copy works as long as you don't have VPC service controls set.只要您没有设置 VPC 服务控制,跨组织复制就可以工作。 You can use COPY DATASET or TRANSFERS on BQ Web UI or use CLI.您可以在 BQ Web UI 上使用COPY DATASETTRANSFERS或使用 CLI。 Using Transfers allows running the copy on a recurring schedule.使用传输允许定期运行副本。

Usage: bq mk --transfer_config --project_id=[PROJECT_ID] --data_source=[DATA_SOURCE] --target_dataset=[DATASET] --display_name=[NAME] --params='[PARAMETERS]'用法: bq mk --transfer_config --project_id=[PROJECT_ID] --data_source=[DATA_SOURCE] --target_dataset=[DATASET] --display_name=[NAME] --params='[PARAMETERS]'

Use —params for the specifying source dataset and other options.使用—params指定源数据集和其他选项。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将数据从一个表复制到另一个表中,该表在 GCP Bigquery 中有一个记录重复列 - How to copy data from one table into another table which has a record repeated column in GCP Bigquery 如何将一个 BigQuery 表复制到另一个区域的现有数据集? - How to copy one BigQuery table to the existing dataset in another region? 从 GCP 中的日志接收器创建 BigQuery 数据集 - Creating a BigQuery dataset from a log sink in GCP 尝试在 GCP 中创建 BigQuery 数据集传输配置从项目 A 到项目 B - Trying to Create a BigQuery Dataset Transfer config from Project A to Project B in GCP GCP Dataflow 无法访问其他 GCP 项目中的 BigQuery 数据集 - GCP Dataflow is unable to access BigQuery dataset in a different GCP project BigQuery Transfer Service 不会从 S3 复制行 - BigQuery Transfer Service does not copy rows from S3 如何将账单数据从一个表插入 BigQuery 中的另一个表 - How to insert Billing Data from one Table into another Table in BigQuery 将数据集移动到另一个区域 bigquery - Move dataset to another region bigquery 如果我想将 bigquery 表数据从一个区域复制到另一个区域,我应该如何以及在哪里运行数据流? [等候接听] - how and where should I run the dataflow if I want to copy the bigquery table data from one region to another region? [on hold] 将 BigQuery 表从一个项目导出到另一个项目 - Exporting BigQuery table from one project to another
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM