Skip to content

Commit 661a409

Browse files
committed
skip backup column
1 parent da2dc2c commit 661a409

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

definitions/output/crawl/parsed_css.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ WHERE date = '${constants.currentMonth}'
1717
`).query(ctx => `
1818
SELECT
1919
* EXCEPT(css),
20-
SAFE.PARSE_JSON(css, wide_number_mode=>'round') AS css
20+
SAFE.PARSE_JSON(css, wide_number_mode=>'round') AS css,
21+
NULL AS css_backup
2122
FROM ${ctx.ref('crawl_staging', 'parsed_css')}
2223
WHERE date = '${constants.currentMonth}'
2324
AND client = 'desktop'
@@ -30,7 +31,8 @@ WHERE date = '${constants.currentMonth}'
3031
INSERT INTO ${ctx.self()}
3132
SELECT
3233
* EXCEPT(css),
33-
SAFE.PARSE_JSON(css, wide_number_mode=>'round') AS css
34+
SAFE.PARSE_JSON(css, wide_number_mode=>'round') AS css,
35+
NULL AS css_backup
3436
FROM ${ctx.ref('crawl_staging', 'parsed_css')}
3537
WHERE date = '${constants.currentMonth}'
3638
AND client = 'mobile'

0 commit comments

Comments
 (0)