featurebase/pql
Matt Jaffee ea539d8241
simplify groupby sorting and fix bugs
Back out support for sorting on fields (only count and aggregate
supported for now).

Fix bug where default return of "true" caused sort to be unstable. (If
they are equal, Less should return false)

Fix bug where limit was being applied before sorting.

Fix bug where offset was not actually allowed to be an argument to
GroupBy (weird! guess we weren't testing that very well)

Apply "having" after calculating Count(Distinct) aggregate so that
having can apply to that.

Switch to stable sort to make testing easier.
2020-12-31 14:42:03 -06:00
..
ast.go simplify groupby sorting and fix bugs 2020-12-31 14:42:03 -06:00
ast_test.go serialize null operation (!= null) 2020-04-09 17:56:27 -05:00
decimal.go refactor number parsing a bit 2020-10-19 13:37:21 -05:00
decimal_test.go refactor number parsing a bit 2020-10-19 13:37:21 -05:00
doc.go Apply Apache License 2.0 2017-04-28 14:22:03 -05:00
parser.go check error return from peg parser Init 2020-10-19 13:47:42 -05:00
parser_test.go more consistent spacing 2020-10-19 13:35:49 -05:00
pql.peg add TopK with perpendicular BSI bitmaps 2020-11-13 18:31:55 -05:00
pql.peg.go add TopK with perpendicular BSI bitmaps 2020-11-13 18:31:55 -05:00
pqlpeg_test.go check error return from peg parser Init 2020-10-19 13:47:42 -05:00
token.go allow floats in PQL queries for decimal fields 2019-11-13 10:07:24 -06:00