ClickHouse / ClickHouse/clickhouse-cpp
Nested tables support
- Dominant language
- C
- Stars
- 382
- Forks
- 209
- Avg merge
- 3h 58m
- Merged PRs (30d)
- 12
Description
If I have simple table like this:
CREATE TABLE test.nested
(
`account` UInt64,
`Orders` Nested(
id UInt64,
order_id String)
)
ENGINE = MergeTree
ORDER BY account
account │ UInt64
Orders.id │ Array(UInt64)
Orders.order_id │ Array(String)
How I can insert data into this table using clickhouse-cpp API? I’m working with Orders.id and Orders.order_id columns as arrays but when method block.AppendColumn called, I’m getting exception:
all columns in block must have same count of rows.
Is there any existing workaround or plans to extend API for nested tables support?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.