-
Notifications
You must be signed in to change notification settings - Fork 99
feat(clickhouse): implement ClickHouse client service #1808
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
Merged
willbakst
merged 3 commits into
v2
from
01-06-feat_clickhouse_implement_clickhouse_client_service
Jan 9, 2026
Merged
feat(clickhouse): implement ClickHouse client service #1808
willbakst
merged 3 commits into
v2
from
01-06-feat_clickhouse_implement_clickhouse_client_service
Jan 9, 2026
+916
−1
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collaborator
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Jan 6, 2026
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
v2-docs | 54d36f0 | Jan 09 2026, 03:37 AM |
812fcfb to
51f6895
Compare
d98ff1a to
379c7c3
Compare
This was referenced Jan 6, 2026
379c7c3 to
94cc04c
Compare
51f6895 to
0a6f3f4
Compare
94cc04c to
72230a9
Compare
72230a9 to
db31c84
Compare
0a6f3f4 to
311c705
Compare
db31c84 to
f02b009
Compare
311c705 to
2ed27e7
Compare
f02b009 to
f3a92e1
Compare
2b38b01 to
a773199
Compare
7a8dde2 to
6c944df
Compare
a773199 to
b375648
Compare
d35b09f to
e717c79
Compare
f304bba to
b48b0e8
Compare
e717c79 to
795a24b
Compare
b48b0e8 to
f7e727e
Compare
795a24b to
0a64910
Compare
0a64910 to
dca4196
Compare
f7e727e to
ff98703
Compare
dca4196 to
ab1f5cd
Compare
ff98703 to
b99dbd3
Compare
1bfbeaa to
a4f0b7e
Compare
b99dbd3 to
3bd2c0e
Compare
Collaborator
Merge activity
|
a4f0b7e to
2010b84
Compare
3bd2c0e to
03c0acf
Compare
c95780a to
145ccd6
Compare
2010b84 to
a760968
Compare
Add Effect-native ClickHouse client with: - ClickHouseClient class with static Default and layer methods - Node.js implementation using @clickhouse/client - Cloudflare Workers implementation using fetch + HTTP API - TLS configuration support for Node.js - ClickHouseConfig type for direct configuration Architecture follows DrizzleORM pattern: - ClickHouseClient.Default - requires SettingsService - ClickHouseClient.layer(config) - direct config, no dependencies 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
a760968 to
b005731
Compare
b005731 to
54d36f0
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

TL;DR
Added ClickHouse client implementation for analytics data access with support for both Node.js and Cloudflare Workers environments.
What changed?
@clickhouse/clientdependency to the projectClickHouseClientservice with two implementations:ClickHouseClientNodeLive: Uses the native Node.js client for local development and API handlersClickHouseClientWorkersLive: Uses fetch API with HTTP interface for Cloudflare WorkersSettingsinterface with ClickHouse configuration optionsClickHouseErrorclass for error handlingHow to test?
Run the test suite to verify both implementations:
For local development with ClickHouse:
Why make this change?
This implementation provides a unified interface for analytics data access across different environments. The dual implementation approach solves the platform-specific constraints:
This enables consistent analytics data access while respecting the runtime constraints of each platform.