Skip to content

copy_parquet

PoC to support PostgreSQL COPY with Apache Parquet

copy_parquet · PoC to support PostgreSQL COPY with Apache Parquet

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101319copy_parquetcopy_parquet0.0.1ETLApache-2.0C++

Usage

Sources:

copy_parquet — PoC to support PostgreSQL COPY with Apache Parquet. Use it when moving, transforming, or integrating the corresponding data from PostgreSQL. Upstream describes it as a proof of concept.

Core Workflow

CREATE EXTENSION copy_parquet;

Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.

Important Objects

  • copy_to_parquet(pg_catalog.regclass) is an extension function and returns bytea.
  • format_parquet(bytea) is an extension function and returns text.
  • scan_to_parquet(pg_catalog.regclass) is an extension function and returns bytea.

Requirements and Caveats

  • The reviewed control file declares default version 0.0.1.
  • The control file marks the extension as relocatable.
  • Upstream describes the project as a proof of concept.
  • Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.

Table reader