SIGN IN SIGN UP

enhancement(clickhouse sink): add support for Arrow complex types (#24409)

* refactor: split arrow encoder into smaller files

* enhancement(clickhouse sink): add support for complex types

* refactor: use idiomatic Arrow types instead of Arc

* refactor: unify primitives, decimal, temporal + complex logic

* refactor: use append_option where possible

* refactor: use iterator method for building record batch

* chore: remove duplicated code in arrow tests

* chore: update docs

* chore: add changelog fragment

* chore: add support for named tuples

* chore: improve handling for to_arrow

* refactor: use serde_arrow for Arrow encoding

* refactor: use nom for clickhouse type parsing

* refactor: replace to_arrow() with TryFrom impl

* refactor: use iterator chain instead of loops

* chore: avoid fallible unwrap when fetching schema

* refactor: implement FromStr for ClickHouseType

* refactor: use String directly

* refactor: use try_collect for schema parsing

* refactor: simplify schema parsing with TryFrom for Field

* refactor: use form_urlencoded for query string building

* refactor: return to single file format/arrow.rs

* refactor: defer to serde_arrow error handling

* chore: add recursion warning for try_from

Co-authored-by: Thomas <thomasqueirozb@gmail.com>

* chore: add validation for DataType::Map

* refactor: eliminate unreachable!() in ClickHouseType conversion

* chore: clippy

* chore: update license

* Update licenses

---------

Co-authored-by: Thomas <thomasqueirozb@gmail.com>
Co-authored-by: Thomas <thomas.schneider@datadoghq.com>
B
Benjamin Dornel committed
4a1eda5bcd3d68cbc73d89dd0e0d9ef0d94cfd54
Parent: 1040f78
Committed by GitHub <noreply@github.com> on 2/2/2026, 5:38:28 PM