Feature request: ClickHouse query settings #22373
Labels
sink: clickhouse
Anything `clickhouse` sink related
type: feature
A value-adding code addition that introduce new functionality.
A note for the community
Use Cases
The ClickHouse sink currently exposes three query settings as explicit sink options:
input_format_skip_unknown_fields
date_time_input_format
insert_distributed_one_random_shard
This allowlist seems somewhat arbitrary. I'd like to configure other settings, like
async_insert
.Attempted Solutions
No response
Proposal
Add a
query_settings
option in the sink configuration of typeobject
containing a key/value map of query settings. These would just need to be appended to the URL as query params, just like the 3 that are currently supported. As far as I can tell, all clickhouse setting values areuint
,float
, orstring
, so they should work just fine in the various Vector config file formats.References
No response
Version
No response
The text was updated successfully, but these errors were encountered: