Skip to content

Commit c451507

Browse files
Merge pull request #215338 from seesharprun/cosmos-update-postgresql-query
Cosmos DB | Fix PostgreSQL quickstart GitHub query
2 parents 611a118 + 5e61ad9 commit c451507

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/cosmos-db/postgresql/quickstart-run-queries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ SELECT date_trunc('hour', created_at) AS hour,
8484
sum((payload->>'distinct_size')::int) AS num_commits
8585
FROM github_events
8686
WHERE event_type = 'PushEvent' AND
87-
payload @> '{"ref":"refs/heads/main"}'
87+
payload @> '{"ref":"refs/heads/master"}'
8888
GROUP BY hour
8989
ORDER BY hour;
9090
```

0 commit comments

Comments
 (0)