Eliminate literal '{%' in comment

This commit is contained in:
Jeff Klukas 2020-06-22 15:56:18 -04:00
Родитель 50012d8a0b
Коммит c5bb15ee60
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -117,8 +117,8 @@ SELECT
customers.user_id, customers.user_id,
ARRAY_TO_STRING([customers.user_id, clicks.SendId, string(clicks.EventDate)], '-') AS insert_id, ARRAY_TO_STRING([customers.user_id, clicks.SendId, string(clicks.EventDate)], '-') AS insert_id,
FORMAT( FORMAT(
-- We use CONCAT here to avoid '{%' which will be interpreted as opening a -- We use CONCAT here to avoid '{' directly followed by '%' which will be
-- Jinja statement when run via Airflow's BigQueryOperator. -- interpreted as opening a Jinja statement when run via Airflow's BigQueryOperator.
CONCAT('{', '%t', '}'), CONCAT('{', '%t', '}'),
ARRAY_TO_STRING( ARRAY_TO_STRING(
ARRAY( ARRAY(