Niels Reijers
Niels Reijers

Reputation: 33

Inserting rows using the official Rust crate for a dynamic table structure

Is there any way to insert rows in ClickHouse with the official clickhouse-rs crate, when the table format is not known at compile time?

Am I correct in thinking this is impossible since clickhouse-rs wants the datatype to implement the Row trait, which needs a const COLUMN_NAMES?

The goal is to move data from MySQL to ClickHouse, for any table so the column layout will not be known at compile time.

Upvotes: 0

Views: 34

Answers (0)

Related Questions