SIGN IN SIGN UP

fix(clickhouse sink): add support for default columns (#24692)

* fix(clickhouse sink): add support for default columns

* refactor: use serde_json::Deserializer::from_str to parse JSON response

* refactor: streamline schema fetching and skip UTF-8 allocation

* refactor(clickhouse sink): extract column kind string literals into constants

* refactor(clickhouse sink): use indoc! for multiline test strings

* fix(clickhouse sink): use proper Timestamp value for DEFAULT column in test

The Arrow serializer expects a typed Timestamp value, not a plain string,
for DateTime columns. Using a string caused a chrono parse error that
prevented the batch from being sent.

* chore: fmt

---------

Co-authored-by: Pavlos Rontidis <pavlos.rontidis@gmail.com>
B
Benjamin Dornel committed
d83a7f4d9b062a0f959cd3fb94a4aef47a471ffa
Parent: 64a2929
Committed by GitHub <noreply@github.com> on 2/25/2026, 4:22:02 PM