Add `NewColumn()` to `ColumnArray`
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 65/100
Research direction
Start by locating ColumnArray and the existing CreateColumnByType path referenced in the issue, then inspect how array item types are represented. Done means ColumnArray exposes NewColumn() that returns a correctly typed column for its item type, with the repository’s relevant checks passing.
Written by the indexing model from the issue text.
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<ArrayType>()->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.
- Dominant language
- C
- Stars
- 382
- Forks
- 208
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 14
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ClickHouse/clickhouse-cpp
-
Difficulty 4/5 3-5 days Newbie friendliness 62/100
ClickHouse/clickhouse-cpp#565 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
ClickHouse/clickhouse-cpp#560 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 68/100
ClickHouse/clickhouse-cpp#556 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
ClickHouse/clickhouse-cpp#549 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 75/100
ClickHouse/clickhouse-cpp#543 ·
All issues in ClickHouse/clickhouse-cpp
Similar issues
-
level/task module/gcp type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
hapostgres/pg_auto_failover#1190 ·
-
docs
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
P3 sonic-vpp
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sonic-net/sonic-buildimage#29662 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
spack/spack-packages#6586 ·