Parquet is useful when a scheduled Contact Form 7 reporting export needs typed columns and downstream tools read only part of the dataset. Start after your integration has collected and cleaned the rows. A writer packages those rows, with consequences for timestamps, decimal values, file sizes and which readers can open them. Pick the implementation based on the runtime you already operate and verify its output with the reader your analysts will actually use.

Compare the five writers
| Writer | Natural input | Evaluate first |
|---|---|---|
| PyArrow | Typed Arrow tables in Python | Timestamp precision and reader support |
| DuckDB | A SQL query result | Explicit casts and partition output layout |
| Polars | A Polars DataFrame | Native versus PyArrow backend and partition options |
| DataFusion | SQL result in an Arrow-based engine | Deployment footprint and partition column handling |
| parquet-java | Records in an existing JVM job | Record binding, codecs and dependency versions |
The packages compared here have open-source licenses and can be run without a software subscription. Include the cost of job runtime, storage, transfer and maintenance when comparing them. Their role is file production from prepared data. Supply inputs through an export or connector you have already verified and keep access control on the data and destination.
PyArrow
Use PyArrow when the export job already uses Python and you want to express the intended types in an Arrow schema before writing. For example, declare a form identifier as a string, event time as a timestamp, and amount as a fixed-precision decimal. Build a fixture where a form key starts with zero and check that it comes back as a string when read by a downstream tool. Treat a null amount differently from zero and include both in the fixture.
PyArrow’s Apache 2.0 project exposes writer settings for row-group sizing, compression, format version and timestamp coercion. Its documentation explains that some logical types can limit compatibility with older readers. Decide whether the downstream system needs microseconds or can handle nanoseconds before choosing a setting. Confirm decimal precision on both ends. A single call that writes a complete in-memory table is easy to inspect for small exports. For growing inputs, decide how you will batch writes and control peak memory before committing to that design.
DuckDB
DuckDB is MIT licensed and works well when the natural description of the export is a query. Use SQL to join sanitized staging rows with form metadata, cast the output columns and export the result through COPY. The documented Parquet options include compression and row-group controls, and partitioned exports can write a directory layout. A small test query can produce an aggregate directly without constructing a separate dataframe first.
Review the query’s output schema, particularly if an upstream CSV reader inferred types. Cast codes deliberately. If a CSV parser already converted a key like 0012 to the number 12, casting it to a string during the write cannot recover the discarded zeros. Choose a partitioning key based on the reader’s normal filters and verify its effect on file count. DuckDB makes a compact SQL-first writer. Your job still needs a publication step that prevents a partial export or repeated run from confusing consumers.
Polars
Polars is MIT licensed and suits a job that already filters or transforms data with its dataframe expressions. Its Python write_parquet exposes compression, statistics and row group sizing. It uses a native writer by default and can use the PyArrow writer when requested. Record which path your job uses. Settings supported by the native implementation do not all transfer to the PyArrow path.
If you already clean form labels, cast counts or select permitted columns in Polars, keeping the write in the same job reduces intermediate conversions. Pay attention to documented stability warnings on the native partition_by option if you rely on that API. Pin a tested version and run a schema and layout check after upgrades. Check memory use on the largest expected partition when using an eager DataFrame. For a daily aggregate, start with the simplest layout your reader can consume reliably.
DataFusion
Apache DataFusion is an Apache 2.0 SQL engine built around Arrow. Its SQL COPY can write Parquet and supports a Hive-style partition layout. It fits a service or data job that already embeds the engine for querying staged reporting data. A Rust team can keep transformation and export inside the same query environment. The CLI can also help prototype the export contract on synthetic data.
DataFusion documents that partition columns can be omitted from the physical files by default for partitioned output, with an option to keep them. Verify the choice against a consumer that reads only individual files, since it may never infer a partition value from the directory name. Check output file counts as concurrency and partition cardinality change. Evaluate the required storage configuration and engine version for your runtime. A simple one-table export may need less operational setup with a writer already present in the project.
parquet-java
Apache’s parquet-java implementation is Apache 2.0 licensed and a good candidate when the export producer is already a JVM application. Its modules include bindings such as parquet-avro for Avro records. Choose the binding that fits your existing object model. Document the mapping from source fields to the written logical types, particularly optional values, dates and decimals.
Check your Maven dependencies and the codecs that will be available in the deployed job and the reader. A tiny fixture should include values that exercise nullability, currency scale and time precision. Treat the file as incomplete until the writer closes successfully. If the job fails between writing the footer and publishing the path, a rerun should be able to verify or replace the temporary output without doubling the reporting period. This path fits Java teams that want to keep the export inside an existing build and deployment pipeline.
Use the downstream reader to choose
Write the same fixture with each plausible candidate. Include a leading-zero identifier, a null, a zero, a timestamp near midnight and a decimal with trailing fractional zeros. Compare the logical schema and returned values in the real reader, then check totals for one date and one form. Repeat the export for the same period and make sure readers see one completed version. Avoid partitioning by contact ID or placing personal information in path components, and omit columns the report does not use.
Start with PyArrow for a typed Python export, DuckDB for an existing SQL step, Polars for a dataframe pipeline, DataFusion for an embedded Arrow SQL service and parquet-java for a JVM producer. Use the CF7 identifier guide to check type preservation and the object storage comparison for delivery considerations. For WordPress-side reporting, review our free Svetlik Analytics for Contact Form 7 plugin. Design the Parquet export as a separate job around data you can already access.
For a scheduled export, give each completed version a manifest with the period, schema version, file list, row count and source cutoff. Let the reader switch to that manifest after the last file is validated. This gives a consumer a concrete way to tell an empty but completed period from a job that never finished.
