Closed BenBirt closed 4 years ago
config {
type: "incremental",
}
SELECT
*
FROM
EXTERNAL_QUERY(
"<external postgres db>",
"""
SELECT
id,
updated_at
FROM
<some table>
${when(incremental(), `WHERE updated_at >= CURRENT_DATE - 1`)}
"""
)
https://dataform-users.slack.com/archives/CHMJK8MKM/p1597944866009900