Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Dandandan/datafusion-tokomak
Experimental optimizer for DataFusion
https://github.com/Dandandan/datafusion-tokomak
Last synced: 2 months ago
JSON representation
Experimental optimizer for DataFusion
- Host: GitHub
- URL: https://github.com/Dandandan/datafusion-tokomak
- Owner: Dandandan
- License: apache-2.0
- Created: 2021-04-27T15:55:31.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-05-29T08:54:07.000Z (over 3 years ago)
- Last Synced: 2024-11-06T02:42:55.260Z (2 months ago)
- Language: Rust
- Size: 13.7 KB
- Stars: 15
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# datafusion-tokomak
Experimental pluggable optimizer for DataFusion using graph rewriting.The goal is to allow experimenting with the [Egg](https://github.com/egraphs-good/egg) library,
and experiment with a maintainable and aggresive optimization framework.The optimizer is WIP.
Usage example:
```rust
let mut ctx = ExecutionContext::with_config(
ExecutionConfig::new().add_optimizer_rule(Arc::new(Tokomak::new())),
);ctx.register_csv("example", "tests/example.csv", CsvReadOptions::new())?;
// create a DataFusion dataframe
let df = ctx
.sql("SELECT price * 0 from example")?;```