Skip to content

Commit 725f9e9

Browse files
committed
chore(cubestore): Update cubestore README development section
1 parent 349597a commit 725f9e9

File tree

1 file changed

+22
-6
lines changed

1 file changed

+22
-6
lines changed

rust/cubestore/README.md

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,15 +141,31 @@ docker run --rm cubejs/cubestore:latest
141141

142142
## Development
143143

144-
Check out https://github.com/cube-js/arrow/tree/cubestore-2020-11-06 and put
145-
**.cargo/config.toml** in the current directory with following contents:
144+
Debian prerequisites (incomplete): `apt-get install lld libssl-dev pkg-config cmake`
146145

147-
```toml
148-
paths = ["../../arrow/rust"]
146+
When changing Datafusion or Arrow:
147+
148+
Check out https://github.com/cube-js/arrow-rs/tree/cube and
149+
https://github.com/cube-js/arrow-datafusion/tree/cube and add the
150+
following to the current directory's `Cargo.toml`. (But remember to
151+
exclude this from your PR!)
152+
153+
```
154+
155+
[patch.'https://github.com/cube-js/arrow-rs']
156+
arquet = { path = "../../../arrow-rs/parquet" }
157+
arrow = { path = "../../../arrow-rs/arrow" }
158+
159+
[patch.'https://github.com/cube-js/arrow-datafusion']
160+
datafusion = { path = "../../../arrow-datafusion/datafusion" }
149161
```
150162
151-
It should point to checked out Apache Arrow fork and it'll allow you to build
152-
project against locally modified sources.
163+
Of course, you can use absolute paths or adjust the paths to your
164+
chosen checkout location.
165+
166+
It is possible that uncommenting the arrow-datafusion
167+
`.cargo/config.toml` path line works for you too, but it might not, if
168+
you are making changes in arrow-rs.
153169
154170
## License
155171

0 commit comments

Comments
 (0)