Skip to content

Commit 97ffa12

Browse files
committed
fix clusters
1 parent 2fd918a commit 97ffa12

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

definitions/output/sample_data/requests_10k.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ publish('requests_10k', {
33
schema: 'sample_data',
44
bigquery: {
55
partitionBy: 'date',
6-
clusterBy: ['client', 'is_root_page', 'is_main_document', 'type']
6+
clusterBy: ['client', 'is_root_page', 'rank', 'type']
77
},
88
tags: ['crawl_complete']
99
}).query(ctx => `
1010
SELECT *
1111
FROM ${ctx.ref('crawl', 'requests')}
12-
WHERE date = '${constants.currentMonth}' AND
13-
rank <= 10000
12+
WHERE
13+
date = '${constants.currentMonth}' AND
14+
rank <= 10000
1415
`)

0 commit comments

Comments
 (0)