github rcoh/angle-grinder v0.15.0
Functions, count conditions & more

latest releases: v0.19.3, v0.19.4, v0.19.2...
4 years ago

Lots of new features:

  • Long awaited function support! You can now use a slew of functions anywhere that an expression is accepted. concat, contains, parseDate, and substring are useful for strings. Most math functions you can think of are there as well. (Huge thanks to @tstack)
  • Bug fix from v.014.0, division will now promote both values to floats (previous code used integer division in some cases). round can be used to get back the old behavior. (@rcoh)
  • Sort now accepts arbitrary expressions, eg. sort by length(message) . This is part of a larger effort to accept expressions anywhere that currently accepts a column name. One of the few remaining holdouts is the fields operator. (@rcoh)
  • count now supports an optional argument to conditionally count certain records: (@rcoh)
* | json | count(status == 200) as ok, count as all | ok / all as success_ratio

The build is running now & 0.15.0 has been pushed to crates.io -- binaries should be hot off the presses shortly.

Don't miss a new angle-grinder release

NewReleases is sending notifications on new releases.