diff --git a/rust/cubestore/README.md b/rust/cubestore/README.md index 75d87e06cde0c..42e595aca73e6 100644 --- a/rust/cubestore/README.md +++ b/rust/cubestore/README.md @@ -141,15 +141,31 @@ docker run --rm cubejs/cubestore:latest ## Development -Check out https://github.com/cube-js/arrow/tree/cubestore-2020-11-06 and put -**.cargo/config.toml** in the current directory with following contents: +Debian prerequisites (incomplete): `apt-get install lld libssl-dev pkg-config cmake` -```toml -paths = ["../../arrow/rust"] +When changing Datafusion or Arrow: + +Check out https://github.com/cube-js/arrow-rs/tree/cube and +https://github.com/cube-js/arrow-datafusion/tree/cube and add the +following to the current directory's `Cargo.toml`. (But remember to +exclude this from your PR!) + +``` + +[patch.'https://github.com/cube-js/arrow-rs'] +arquet = { path = "../../../arrow-rs/parquet" } +arrow = { path = "../../../arrow-rs/arrow" } + +[patch.'https://github.com/cube-js/arrow-datafusion'] +datafusion = { path = "../../../arrow-datafusion/datafusion" } ``` -It should point to checked out Apache Arrow fork and it'll allow you to build -project against locally modified sources. +Of course, you can use absolute paths or adjust the paths to your +chosen checkout location. + +It is possible that uncommenting the arrow-datafusion +`.cargo/config.toml` path line works for you too, but it might not, if +you are making changes in arrow-rs. ## License