A Tables to Tables (TTT) data pipeline operation allows you to automate the execution of one or several BigQuery tasks in order to extract, transform and load data from tables to other tables.
Google BigQuery (source and target)
When a Tables to Tables Tailer data operation is triggered by an event (for example a Storage to Tables data operation success) or scheduled to start:
A number of workflow tasks (SQL queries and JSON table creation/copy tasks) are run in the order set in the task_dependencies parameter of the data operation configuration file.
You obtain one or several BigQuery tables containing the reorganized data.
📋 How to deploy a Tables to Tables data operation
Access your tailer folder (created during installation).
Create a working folder as you want.
Create SQL and JSON files corresponding to your workflow tasks.
Prepare your JSON configuration file to gather all this information. Refer to this page to learn about all its parameters.
Determine how to launch your Tables to Tables data operation: either use the schedule_interval parameter in the JSON configuration file, and/or create a Workflow configuration file that will define how to trigger it.
Access your working folder by running the following command:
cd "[path to your working folder]"
To deploy the data operation, run the following command:
tailer deploy your-file.json
Log in to Tailer Studio to check the status and details of your data operation.
For your workflow to be executed, you either need to run the data operation corresponding to the previous step of your data pipeline (per your Workflow configuration file), or to launch it manually from Tailer Studio.
Access your output table(s) in BigQuery to check the result of the data operation.