Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ch] backfill queries #5624

Merged
merged 3 commits into from
Sep 10, 2024
Merged

[ch] backfill queries #5624

merged 3 commits into from
Sep 10, 2024

Conversation

clee2000
Copy link
Contributor

@clee2000 clee2000 commented Sep 4, 2024

convert queries to CH, query both rockset and clickhouse in all queries

Copy link

vercel bot commented Sep 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
torchci ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 10, 2024 10:21pm

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 4, 2024
@clee2000 clee2000 marked this pull request as ready for review September 4, 2024 23:32
@clee2000 clee2000 requested a review from a team September 4, 2024 23:32
@@ -17,6 +18,26 @@ function getDynamoClient() {
);
}

function getClickhouseClient() {
return createClient({
host: process.env.CLICKHOUSE_HUD_USER_URL ?? "http://localhost:8123",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: A comment explaining the 8123 or linking to their docs could be helpful here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its the default value when running locally and not using TLS (?) https://clickhouse.com/docs/en/integrations/javascript#url-configuration

Either way I got rid of it since it doesn't make much sense to run this script without these environment variables set to actual values

torchci/scripts/backfillJobs.mjs Outdated Show resolved Hide resolved
@clee2000 clee2000 merged commit 332b5a9 into main Sep 10, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants