Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 22 additions & 6 deletions rust/cubestore/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading