Skip to content

Commit c4f368a

Browse files
committed
Reorder css parsing and backup columns in parsed_css.js
1 parent fd3f540 commit c4f368a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

definitions/output/crawl/parsed_css.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +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,
21-
NULL AS css_backup
20+
NULL AS css_backup,
21+
SAFE.PARSE_JSON(css, wide_number_mode=>'round') AS css
2222
FROM ${ctx.ref('crawl_staging', 'parsed_css')}
2323
WHERE date = '${constants.currentMonth}'
2424
AND client = 'desktop'
@@ -31,8 +31,8 @@ WHERE date = '${constants.currentMonth}'
3131
INSERT INTO ${ctx.self()}
3232
SELECT
3333
* EXCEPT(css),
34-
SAFE.PARSE_JSON(css, wide_number_mode=>'round') AS css,
35-
NULL AS css_backup
34+
NULL AS css_backup,
35+
SAFE.PARSE_JSON(css, wide_number_mode=>'round') AS css
3636
FROM ${ctx.ref('crawl_staging', 'parsed_css')}
3737
WHERE date = '${constants.currentMonth}'
3838
AND client = 'mobile'

0 commit comments

Comments
 (0)