-
Notifications
You must be signed in to change notification settings - Fork 79
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
[ch] backfill queries #5624
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
torchci/scripts/backfillJobs.mjs
Outdated
@@ -17,6 +18,26 @@ function getDynamoClient() { | |||
); | |||
} | |||
|
|||
function getClickhouseClient() { | |||
return createClient({ | |||
host: process.env.CLICKHOUSE_HUD_USER_URL ?? "http://localhost:8123", |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
convert queries to CH, query both rockset and clickhouse in all queries