ClickHouse / ClickHouse/clickhouse-cpp

Add `NewColumn()` to `ColumnArray`

Open
#478 1 comment 0 reactions 0 assignees View on GitHub
enhancement pg_clickhouse
Dominant language
C
Stars
382
Forks
209
Avg merge
3h 58m
Merged PRs (30d)
12

Description

When inserting into Array columns, pg_clickhouse needs to create a new column matching the array's item type. The current API requires the verbose pattern:

CreateColumnByType(arrcol->GetType().As()->GetItemType()->GetName())

A NewColumn() method on ColumnArray that returns a properly typed column directly would simplify this and reduce the chance of type-name mismatches.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.