octosql

Crates.iooctosql
lib.rsoctosql
version0.0.1
sourcesrc
created_at2020-09-19 13:41:44.587773
updated_at2020-09-19 13:41:44.587773
descriptionWIP PoC rewrite of OctoSQL in Rust
homepagehttps://octosql.dev
repositoryhttps://github.com/cube2222/octosql-rs
max_upload_size
id290421
size5,535,625
Jacob Martin (cube2222)

documentation

README

This is a work in progress experiment PoC of rewriting OctoSQL in Rust, as I've been seeing 10-100x performance improvements using a more optimized design.

Roadmap

The current roadmap is to achieve feature parity with the Go version of OctoSQL. When this is done, we'll decide which one gets to stay.

  • Projection
  • Filter
  • GroupBy
    • Polishing
  • Triggers
    • Counting
    • Delay
  • Retractions
    • Add retractions to Projection (don't allow the user to remove the retraction column)
  • Stream join
    • Float support (currently not tested and possibly wacky)
  • Expressions
    • Evaluation in record context.
    • Evaluation in execution context of variables (if we're in a subquery, we need to understand both the current record, and variables stemming from record flows above us)
  • Map (evaluate expressions, this is the only place where expressions are evaluated in OctoSQL, everything else gets evaluated expressions passed from here by name)
  • Watermarks
    • Metadata Message and Handling
    • Watermark trigger
    • Watermark generators
      • Start with Max difference
  • Shuffle
  • Subqueries
    • Handle all primitive types
    • Handle multiple columns/rows (Tuple values)
  • Lookup join
  • Physical Plan (fit for pattern matching)
    • Basic optimiser
    • Pushing down projections
    • Pushing down filters
  • Logical Plan
  • SQL
    • Temporal Extensions
  • Nice output printing
  • Datasources
    • CSV
    • MySQL
    • PostgreSQL
    • JSON
    • Parquet
    • Excel
    • Kafka
  • Durations and Dates support

Contributing

Contributions are welcome!

Please open an issue or contact me personally when you want to try to contribute, so that no work gets duplicated or thrown away.

Commit count: 84

cargo fmt