tree: fe91fea95db848782daa5b29b588d363d78a6653 [path history] [tgz]
  1. data/
  2. src/
  3. Cargo.toml
  4. README.md
crates/test/README.md

The test crate

This is a crate meant for facilitating testing in hudi-rs - it provides utilities and test data.

The data/ directory contains fully prepared sample Hudi tables categorized by table version and configuration options: each zipped file contains the Hudi table and the corresponding .sql contains the SQL used to generate the table.

Enums in src/lib.rs like QuickstartTripsTable and SampleTable are for conveniently accessing these ready-made tables in tests. They take care of the unzipping and hand over the table paths to callers.