Skip to content
Testaroo
parquet7.6 KB

E-commerce Products (Parquet, 200 rows)

The e-commerce products table as Apache Parquet: the columnar twin, for testing analytics engines (pandas, DuckDB, Spark).

Preview: schema + first 8 rowsparquet
product_idskunamecategorypricestockrating
1SKU-00001Wireless Coffee BeansHome & Kitchen222.232164.4
2SKU-00002Deluxe NotebookBooks487.92474.5
3SKU-00003Classic Coffee BeansClothing68.414193.7
4SKU-00004Ergonomic BlenderSports323.74634.6
5SKU-00005Stainless Yoga MatToys117.47463.1
6SKU-00006Stainless Desk LampBeauty317.664134.5
7SKU-00007Classic T-ShirtGrocery485.492224.6
8SKU-00008Deluxe Coffee BeansElectronics236.02973.1
Decoded Parquet: first 8 of 200 rows.

Specifications

Rows
200
Columns
7
Format
Apache Parquet
Domain
e-commerce

Testing contract

Expected to pass
Scenario
Exercise E-commerce Products (Parquet, 200 rows) in its ecommerce workflow. The e-commerce products table as Apache Parquet: the columnar twin, for testing analytics engines (pandas, DuckDB, Spark).
Expected result
200 rows, 7 columns; fields: product_id: int64; sku: string; name: string; category: string; price: double; stock: int64; rating: double; column null counts=[0, 0, 0, 0, 0, 0, 0]. Declared feature checks: columns=7; domain=e-commerce.

What is a .parquet file?

Apache Parquet (.parquet) is a binary, columnar storage format for analytical data. It stores each column separately with per-column compression and encoding, embeds a schema and statistics, and is the de-facto standard for data lakes and engines like Spark, DuckDB, and pandas/pyarrow.

How to use this file

Use an example .parquet file to test columnar readers (pyarrow, DuckDB, Spark), schema and predicate-pushdown handling, and Parquet-to-CSV/JSON converters.

How to use this file for testing

“E-commerce Products (Parquet, 200 rows)” is a deterministic Testaroo fixture for Data engineering, Conversion testing. Columnar (Parquet/ORC/Feather), row (Avro), and messaging (MessagePack/CBOR/Protobuf) formats plus star-schema and log data, for testing ETL, data-lake ingestion, and warehouse loaders.

Documented properties for this file: 200 rows · 7 columns · Apache Parquet. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such, expect parsers to fail loudly rather than silently accept them.

Data fixtures document their exact quirks (delimiters, encodings, null handling, schema, and row counts) in the spec table. Point your parser or importer at the file and assert it handles the documented edge cases; clean and deliberately-messy siblings make before/after diffs straightforward.

Code examples

import pandas as pd  # pip install pyarrow

df = pd.read_parquet("products.parquet")
print(df.head())
print(df.dtypes)

Generated by generation/data_realworld.py. Free for any use, no attribution required, license.