Skip to content

Commit

Permalink
Add initial sql aggregation implementation (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
alancai98 authored Apr 10, 2023
1 parent 11e5623 commit 17fd6e7
Show file tree
Hide file tree
Showing 6 changed files with 605 additions and 20 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Implements `GROUP BY` operator in evaluator
- Implements `HAVING` operator in evaluator
- Implements `ORDER BY` operator in evaluator
- Implements SQL Aggregation functions -- AVG, COUNT, MAX, MIN, SUM

### Fixes
- Fixes Tuple value duplicate equality and hashing
Expand Down
Loading

1 comment on commit 17fd6e7

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PartiQL (rust) Benchmark

Benchmark suite Current: 17fd6e7 Previous: 11e5623 Ratio
parse-1 6959 ns/iter (± 118) 6625 ns/iter (± 445) 1.05
parse-15 67651 ns/iter (± 902) 63404 ns/iter (± 2371) 1.07
parse-30 137684 ns/iter (± 2259) 131598 ns/iter (± 4452) 1.05
compile-1 5618 ns/iter (± 118) 5102 ns/iter (± 200) 1.10
compile-15 40914 ns/iter (± 586) 38730 ns/iter (± 1709) 1.06
compile-30 81308 ns/iter (± 1989) 80080 ns/iter (± 4153) 1.02
plan-1 22056 ns/iter (± 533) 20802 ns/iter (± 925) 1.06
plan-15 419242 ns/iter (± 4841) 392209 ns/iter (± 19124) 1.07
plan-30 839189 ns/iter (± 19369) 812290 ns/iter (± 23887) 1.03
eval-1 26300062 ns/iter (± 650598) 24446318 ns/iter (± 794110) 1.08
eval-15 136098701 ns/iter (± 2210380) 133570961 ns/iter (± 2766081) 1.02
eval-30 255607807 ns/iter (± 4204209) 255661369 ns/iter (± 4870536) 1.00
join 16780 ns/iter (± 502) 16677 ns/iter (± 473) 1.01
simple 5885 ns/iter (± 132) 5979 ns/iter (± 110) 0.98
simple-no 2459 ns/iter (± 63) 2518 ns/iter (± 78) 0.98
numbers 168 ns/iter (± 4) 159 ns/iter (± 4) 1.06
parse-simple 770 ns/iter (± 17) 779 ns/iter (± 27) 0.99
parse-ion 2896 ns/iter (± 66) 2829 ns/iter (± 103) 1.02
parse-group 9997 ns/iter (± 141) 9935 ns/iter (± 234) 1.01
parse-complex 25598 ns/iter (± 421) 25353 ns/iter (± 997) 1.01
parse-complex-fexpr 40720 ns/iter (± 555) 38659 ns/iter (± 1383) 1.05

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.