Skip to content

Commit

Permalink
Update the relative path of the test data
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziy1-Tan authored Mar 1, 2025
1 parent 88eaa33 commit 633ffff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,16 +112,16 @@ git submodule update --init

This populates data in two git submodules:

- `../parquet-testing/data` (sourced from https://github.com/apache/parquet-testing.git)
- `../testing` (sourced from https://github.com/apache/arrow-testing)
- `./parquet-testing/data` (sourced from https://github.com/apache/parquet-testing.git)
- `./testing` (sourced from https://github.com/apache/arrow-testing)

By default, `cargo test` will look for these directories at their
standard location. The following environment variables can be used to override the location:

```bash
# Optionally specify a different location for test data
export PARQUET_TEST_DATA=$(cd ../parquet-testing/data; pwd)
export ARROW_TEST_DATA=$(cd ../testing/data; pwd)
export PARQUET_TEST_DATA=$(cd ./parquet-testing/data; pwd)
export ARROW_TEST_DATA=$(cd ./testing/data; pwd)
```

From here on, this is a pure Rust project and `cargo` can be used to run tests, benchmarks, docs and examples as usual.
Expand Down

0 comments on commit 633ffff

Please sign in to comment.