Skip to content

Commit 2352c7f

Browse files
committed
fix Big Query per comments
1 parent b62ff80 commit 2352c7f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

x-pack/metricbeat/module/gcp/billing/billing.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ func (m *MetricSet) queryBigQuery(ctx context.Context, client *bigquery.Client,
219219
WHERE project.id IS NOT NULL
220220
AND invoice.month = '%s'
221221
AND cost_type = '%s'
222-
GROUP BY 1, 2, 3
223-
ORDER BY 1 ASC, 2 ASC, 3 ASC;`, tableMeta.tableFullID, month, costType)
222+
GROUP BY 1, 2, 3, 4, 5
223+
ORDER BY 1 ASC, 2 ASC, 3 ASC, 4 ASC, 5 ASC;`, tableMeta.tableFullID, month, costType)
224224

225225
q := client.Query(query)
226226
m.logger.Debug("bigquery query = ", query)

0 commit comments

Comments
 (0)