Skip to content

Commit 4f235f1

Browse files
committed
add formatted date to BigQuery export query in reports
1 parent d24f7e4 commit 4f235f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

definitions/output/reports/reports_dynamic.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ function buildExportQuery(reportConfig) {
8181
query = `
8282
SELECT
8383
UNIX_DATE(date) * 1000 * 60 * 60 * 24 AS timestamp,
84+
FORMAT_DATE('%Y_%m_%d', date) AS date,
8485
* EXCEPT(date, metric, lens)
8586
FROM \`${EXPORT_CONFIG.dataset}.${tableName}\`
8687
WHERE

0 commit comments

Comments
 (0)