Skip to content

Remove DuckDB ColumnBuilder#365

Merged
teunbrand merged 3 commits intoposit-dev:mainfrom
teunbrand:remove_duckdb_columnbuilder
Apr 24, 2026
Merged

Remove DuckDB ColumnBuilder#365
teunbrand merged 3 commits intoposit-dev:mainfrom
teunbrand:remove_duckdb_columnbuilder

Conversation

@teunbrand
Copy link
Copy Markdown
Collaborator

This PR aims to advance #336.

I needed this to prevent geometry columns to be casted as blob, but since we're using arrow now there is no reason do do row-by-row column building. This simplifies the procedure a bit.

teunbrand and others added 3 commits April 24, 2026 10:34
…query_arrow

DuckDB's query_arrow API exports results directly as Arrow RecordBatches,
eliminating the manual row-by-row type mapping. Extension types like
GEOMETRY now flow through as native Binary columns instead of hitting a
lossy string fallback. Decimal128 columns are normalized to Float64 at
the boundary for downstream compatibility.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@teunbrand teunbrand modified the milestone: 0.3.0 Apr 24, 2026
@teunbrand teunbrand marked this pull request as ready for review April 24, 2026 08:56
@teunbrand teunbrand requested a review from thomasp85 April 24, 2026 08:57
Copy link
Copy Markdown
Collaborator

@thomasp85 thomasp85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - nice improvement

@teunbrand teunbrand merged commit cec643e into posit-dev:main Apr 24, 2026
2 checks passed
@teunbrand teunbrand deleted the remove_duckdb_columnbuilder branch April 24, 2026 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants