ClickHouse / ClickHouse/clickhouse-rs

Insert data with dynamic columns

Open
#44 5 comments 1 reaction 0 assignees View on GitHub
enhancement question
Dominant language
Rust
Stars
559
Forks
172
Avg merge
1d 19h
Merged PRs (30d)
3

Description

I'm writing a kafka consumer, it consumes message and insert those message into clickhouse according to message's meta info, like:
```json
{
"table": "ch_table_1",
"data": [
{"col_name": "foo", "type": "uint32", "val": "3"},
{"col_name": "bar", "type": "string", "val": "hello"}
//...
]
}
```
How do I construct the Row to insert? Didn't find any docs about this

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by reading the existing Row and insertion APIs in this Rust client, then trace how table and column metadata are handled. Done means establishing whether dynamic columns are supported and documenting or defining the supported insertion path for the shown Kafka message shape.

Written by the indexing model from the issue text.

Assessment

Tech stack
clickhouse, kafka, rust
Domain
data-engineering, databases, stream-processing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.