File tree Expand file tree Collapse file tree
definitions/output/reports Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -191,10 +191,10 @@ ORDER BY
191191SELECT
192192 reports.run_export_job(
193193 JSON '''{
194- "destination": "storage ",
194+ "destination": "cloud_storage ",
195195 "config": {
196196 "bucket": "${ constants . bucket } ",
197- "name": "httparchive/reports/ ${ pastMonth . replaceAll ( '-' , '_' ) } /cruxShopifyThemes .json"
197+ "name": "${ constants . storagePath } ${ pastMonth . replaceAll ( '-' , '_' ) } /cruxShopifyThemes_test .json"
198198 },
199199 "query": "SELECT * FROM ${ ctx . self ( ) } "
200200 }'''
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ const [
2020 'AND rank <= 10000'
2121 ]
2222 : [ '' , '' ]
23+ const bucket = 'httparchive'
24+ const storagePath = 'reports/'
2325
2426class DataformTemplateBuilder {
2527 /**
@@ -72,5 +74,7 @@ module.exports = {
7274 environment,
7375 devTABLESAMPLE,
7476 devRankFilter,
75- DataformTemplateBuilder
77+ DataformTemplateBuilder,
78+ bucket,
79+ storagePath
7680}
You can’t perform that action at this time.
0 commit comments