copy_arrow
pg-copy-arrow · Experimental COPY and table export in Apache Arrow streaming format
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102017 | copy_arrow | pg-copy-arrow | 0.0.1 | ETL | Apache-2.0 | C++ |
Usage
Sources:
copy_arrow 0.0.1 is an experimental Apache Arrow streaming export and COPY-format extension. It targets the upstream copy-format-extendable-2024-11-v26 PostgreSQL branch; it is not a compatibility claim for ordinary PostgreSQL releases.
Core Workflow
Objects and Requirements
copy_to_arrow(regclass) and scan_to_arrow(regclass) return binary bytea data; format_arrow(bytea) renders it as text. The reviewed regression case exports an integer column. The build requires Apache Arrow C++ and the patched server headers. Installation uses native C functions and therefore needs a superuser; the control allows relocation. No preload or separate background worker is specified. Treat the implementation as a proof of concept and verify the exact patched server and data types before use.