You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ho...@apache.org on 2021/11/22 02:24:24 UTC

[arrow-datafusion] branch master updated: Add dependencies to ballista example documentation (#1346)

This is an automated email from the ASF dual-hosted git repository.

houqp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git


The following commit(s) were added to refs/heads/master by this push:
     new ce3876f  Add dependencies to ballista example documentation (#1346)
ce3876f is described below

commit ce3876fac9556f9b557e4d2ee856bc7b92bd190c
Author: Javier Goday <jg...@gmail.com>
AuthorDate: Mon Nov 22 03:24:17 2021 +0100

    Add dependencies to ballista example documentation (#1346)
---
 ballista/rust/client/README.md | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/ballista/rust/client/README.md b/ballista/rust/client/README.md
index 67ec38f..7f88e13 100644
--- a/ballista/rust/client/README.md
+++ b/ballista/rust/client/README.md
@@ -80,6 +80,15 @@ RUST_LOG=info ballista-executor --bind-port 50052 -c 4
 Ballista provides a `BallistaContext` as a starting point for creating queries. DataFrames can be created
 by invoking the `read_csv`, `read_parquet`, and `sql` methods.
 
+To build a simple ballista example, add the following dependencies to your `Cargo.toml` file:
+
+```toml
+[dependencies]
+ballista = "0.6"
+datafusion = "6.0"
+tokio = "1.0"
+```
+
 The following example runs a simple aggregate SQL query against a CSV file from the
 [New York Taxi and Limousine Commission](https://www1.nyc.gov/site/tlc/about/tlc-trip-record-data.page)
 data set.
@@ -120,3 +129,5 @@ async fn main() -> Result<()> {
    Ok(())
 }
 ```
+
+More [examples](https://github.com/apache/arrow-datafusion/tree/master/ballista-examples) can be found in the arrow-datafusion repository.