Commit 936d253 1 parent e3a682d commit 936d253 Copy full SHA for 936d253
File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,15 @@ RUST_LOG=info ballista-executor --bind-port 50052 -c 4
80
80
Ballista provides a ` BallistaContext ` as a starting point for creating queries. DataFrames can be created
81
81
by invoking the ` read_csv ` , ` read_parquet ` , and ` sql ` methods.
82
82
83
+ To build a simple ballista example, add the following dependencies to your ` Cargo.toml ` file:
84
+
85
+ ``` toml
86
+ [dependencies ]
87
+ ballista = " 0.6"
88
+ datafusion = " 6.0"
89
+ tokio = " 1.0"
90
+ ```
91
+
83
92
The following example runs a simple aggregate SQL query against a CSV file from the
84
93
[ New York Taxi and Limousine Commission] ( https://www1.nyc.gov/site/tlc/about/tlc-trip-record-data.page )
85
94
data set.
@@ -120,3 +129,5 @@ async fn main() -> Result<()> {
120
129
Ok(())
121
130
}
122
131
```
132
+
133
+ More [ examples] ( https://github.com/apache/arrow-datafusion/tree/master/ballista-examples ) can be found in the arrow-datafusion repository.
You can’t perform that action at this time.
0 commit comments