Skip to content

Add NewColumn() to ColumnArray #478

@iskakaushik

Description

@iskakaushik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpg_clickhouseNeeded by the pg_clickhouse PostgreSQL FDW

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions