ClickHouse / ClickHouse/clickhouse-rs

Construct client from connection URL with parameters

Open
#327 1 comment 1 reaction 0 assignees View on GitHub
1.0 blocker client feature parity enhancement
Dominant language
Rust
Stars
559
Forks
172
Avg merge
1d 19h
Merged PRs (30d)
3

Description

### Use case
it should be possible to put configuration parameters for `Client` into a single connection string.

Example from JS client: https://github.com/ClickHouse/clickhouse-js/blob/main/examples/url_configuration.ts

### Describe the solution you'd like
* Implement `FromStr` for `Client` (?)
* `Client::from_url()` (?)

### Describe the alternatives you've considered

### Additional context
1.0 wishlist: feature parity with other clients.

Contributor guide

Open the contributing guide

Research direction

Start with the Client configuration API and the linked clickhouse-js examples/url_configuration.ts example. Determine which Client parameters the connection URL must represent and whether the public entry point should be FromStr or Client::from_url. Done means a single connection string can construct a configured Client with the supported parameters.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.