Skip to main content
The ClickHouse destination writes structured pipeline output to a ClickHouse database using batch inserts. It supports configurable buffer sizes and flush intervals for throughput tuning.

Configuration

Fields

How It Works

  1. Rows are buffered in memory as they arrive from the pipeline.
  2. When the buffer reaches batch_size or flush_interval_ms elapses since the last flush, a batch INSERT executes against the target table.
  3. The INSERT SQL is dynamically generated from the field names present in each row.
  4. All column names are automatically quoted in the generated SQL to handle reserved words.

Type Coercion

The destination maps pipeline data types to ClickHouse column types as follows: