vectordotdev / vectordotdev/vector

Clickhouse sink with field arrays scheme

Open
#905 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

have: should sink: clickhouse
Dominant language
Rust
Stars
22.6k
Forks
2.3k
Avg merge
1d 7h
Merged PRs (30d)
146

Description

There is a use case with clickhouse as a timeseries DB when metrics/events are stored in the following format:
timestamp, ["key1", "key2"], ["value1", "value2"]
original event:
{"timestamp": <>, "event": {"key1": "value1", "key2": "value2"}
These allows us to send events with arbitrary fields. Do you think vector can support this sink?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue describes a ClickHouse sink for events represented as a timestamp plus arrays of field names and values, but names no files, tests, or entry points. Start by locating the existing ClickHouse sink and clarify the expected schema, supported event shapes, and acceptance tests before implementation. Done means the requested arbitrary-field events can be sent and are covered by tests.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.