简体   繁体   中英

Run SQL update statement after dataprep job started from trigger - Google Cloud

A Dataprep job is run from a trigger which is fired when a file has been written to a bucket. I need to run a SQL update statement on BigQuery immediately after the Dataprep job has finished. Not sure how I can get the SQL to run immediately after the Dataprep job has finished?

SQL scripts could be part of output run. Those script run before or after the publication

在此处输入图片说明

To run SQL update statements on BigQuery after the Dataprep job, in the Run job tab we can see the Add script option in the bottom there update script can be added.

在此处输入图片说明

The Add SQL Script tab looks as below.

在此处输入图片说明

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