UWHustle / hustle-in-Rust-now-defunct

Hustle
GNU General Public License v3.0
7 stars 1 forks source link

Relational API #62

Closed mattdutson closed 5 years ago

mattdutson commented 5 years ago

New immediate relational API with Python and Rust interfaces. See relational_api/sample.py for example Python usage.

I also made some changes to the way we deal with AggregationType variants in Aggregate. We now use a boxed trait object instead of templated types. This allows for Aggregate operators to be constructed via the string name of the aggregate ("MIN", "COUNT", etc.).

Also added a function to build Comparator enum objects from strings. This is used when parsing predicates like "a < 5".