Table to Table SQL and DDL files
Learn how to create the SQL and DDL files corresponding to the workflow tasks of a Table to Table data operation.
🗺️ Overview
🛢️ SQL tasks
SELECT
customer_id,
optin,
cast(creation_date as date) as creation_date
FROM `referential.customers`
QUALIFY ROW_NUMBER() OVER(dedup_pk) = 1
WINDOW dedup_pk as (
PARTITION BY customer_id
ORDER BY update_date desc, import_date desc, tlr_ingestion_timestamp_utc desc
)🆕 Table creation tasks
DDL Example
DDL Parameters
Parameter
Description
DDL Data Types
Numeric types
Name
Description
Boolean type
Name
Description
String type
Name
Description
Bytes type
Name
Description
Time types
Name
Description
♒ Table copy tasks
Last updated