Skip to content

Apache DataFusion SQL Query Engine

ARROW-4926: [Rust] [DataFusion] Update README for 0.13.0

Andy Grove6e615ffdbb24
diff --git a/dev/release/00-prepare.sh b/dev/release/00-prepare.sh
index 9e0a89b6e9..5f7c098e00 100755
--- a/dev/release/00-prepare.sh
+++ b/dev/release/00-prepare.sh
@@ -121,6 +121,16 @@ update_versions() {
parquet/README.md
rm -f parquet/README.md.bak
git add parquet/README.md
+
+ # Update version number for datafusion README
+ sed -i.bak -E -e \
+ "s/^datafusion = \".+\"/datafusion = \"${version}\"/g" \
+ datafusion/README.md
+ sed -i.bak -E -e \
+ "s/docs.rs\/crate\/datafusion\/.+\)/docs.rs\/crate\/datafusion\/${version}\)/g" \
+ datafusion/README.md
+ rm -f datafusion/README.md.bak
+ git add datafusion/README.md
cd -
}
diff --git a/rust/datafusion/README.md b/rust/datafusion/README.md
index e837483de6..23aa45cfa2 100644
--- a/rust/datafusion/README.md
+++ b/rust/datafusion/README.md
@@ -19,11 +19,49 @@
# DataFusion
-DataFusion is an in-memory query engine that uses Apache Arrow as the memory model
+DataFusion is an in-memory query engine that uses Apache Arrow as the memory model. It supports executing SQL queries against CSV and Parquet files as well as querying directly against in-memory data.
+
+## Usage
+
+Add this to your Cargo.toml:
+
+```toml
+[dependencies]
+datafusion = "0.12"
+```
# Status
-The current code supports single-threaded execution of limited SQL queries (projection, selection, and aggregates) against CSV files. Parquet files will be supported shortly.
+## General
+
+[x] SQL Parser
+[x] SQL Query Planner
+[x] Query Optimizer
+[x] Projection push down
+[ ] Predicate push down
+[x] Type coercion
+[ ] Parallel query execution
+
+## SQL Support
+
+[x] Projection
+[x] Selection
+[x] Aggregate
+[ ] Sorting
+[x] Limit
+[ ] Nested types and dot notation
+[ ] Lists
+[ ] UDFs
+[ ] Subqueries
+[ ] Joins
+
+## Data Sources
+
+[x] CSV
+[x] Parquet primitive types
+[ ] Parquet nested types
+
+# Example
Here is a brief example for running a SQL query against a CSV file. See the [examples](examples) directory for full examples.