简体   繁体   中英

Dataprep - Append data to BigQuery table

I'm using GCP's dataprep to join several csv files with the same column structure, treat some data and then write to a BigQuery database.

I have to record this data in BigQuery. Can I include this data from the dataprep and append them in a BigQuery table?

Yes, there is possibility to truncate data or append data to BigQuery table. In the output step DataPrep step in BigQuery table selection you can set that will be appended to table.

在此处输入图像描述

Yes, you can include your data from DataPrep and append them in a BigQuery table.

Before running the job, in the "Run Job on DataFlow" section:

  1. Click on the action, since you are using BigQuery for the output, should look like "Create-BigQuery"
  2. In the next windows choose you output table
  3. In the left panel select "Append to this table every run"
  4. Click on update

Now, when you run the Job, this will append your data.

The following documentation can be useful.

My difficult is in "Connect your data" step. I have planty of tables with the prefix events_ and I want than all. Naturally My intuition is to parameterize doing that events_* but I do not have this option in bigquery table ingestion (connect your data step).

我要参数化的步骤

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM