Commit 4a1eda5
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 <[email protected]>
* chore: add validation for DataType::Map
* refactor: eliminate unreachable!() in ClickHouseType conversion
* chore: clippy
* chore: update license
* Update licenses
---------
Co-authored-by: Thomas <[email protected]>
Co-authored-by: Thomas <[email protected]>1 parent 1040f78 commit 4a1eda5
File tree
11 files changed
+1783
-1846
lines changed- changelog.d
- lib/codecs
- src/encoding/format
- src/sinks
- clickhouse
- arrow
- util
- website/cue/reference/components/sinks
11 files changed
+1783
-1846
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
852 | 852 | | |
853 | 853 | | |
854 | 854 | | |
855 | | - | |
| 855 | + | |
856 | 856 | | |
857 | 857 | | |
858 | 858 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
144 | 145 | | |
145 | 146 | | |
146 | 147 | | |
| |||
458 | 459 | | |
459 | 460 | | |
460 | 461 | | |
| 462 | + | |
461 | 463 | | |
462 | 464 | | |
463 | 465 | | |
| |||
691 | 693 | | |
692 | 694 | | |
693 | 695 | | |
| 696 | + | |
694 | 697 | | |
695 | 698 | | |
696 | 699 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
70 | | - | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
0 commit comments