Fletcher Haynes
da9b57bd45
Updated dependency paths to reflect new repo location
2022-09-06 09:39:22 -07:00
Fletcher Haynes
eb06bb50ae
Updated code to latest version for open-sourcing.
2022-09-02 13:23:39 -07:00
Ben Johnson
c7c9c1e1d7
v2.0.0
...
Co-authored-by: Cody Soyland <codysoyland@gmail.com>
2019-10-08 14:56:17 -06:00
Shaquille Wyan Que
44088d4f29
added check for unexpected parser error
2019-05-15 12:11:55 -05:00
Shaquille Wyan Que
6ba6218ae4
changed out of range error message name and fixed formatting
2019-05-15 11:22:04 -05:00
Shaquille Wyan Que
b770167db6
fixed formatting
2019-05-15 10:52:15 -05:00
Shaquille Wyan Que
98a864634e
fixed out of bounds panic to show error
2019-05-14 16:58:03 -05:00
Seebs
77d49ded64
so much lint
...
So with the switch to a new linter, we get a lot of new warnings,
and the majority of them are harmless probably, but a few might be
real. Variously just use _ to suppress warnings, or report errors.
There's probably things here that deserve better fixes, but we can
always revisit it.
2019-04-16 12:07:18 -05:00
Travis Turner
bdc4f3b07e
recover the duplicate arg panic from parser, treat as error
2019-04-10 23:48:17 -05:00
Travis Turner
5f079163cb
validate (and panic) on duplicate PQL arguments
2019-04-10 16:34:30 -05:00
Matt Jaffee
5458a42ad0
add parser rule to catch old-style Range query
2019-04-04 19:46:02 -05:00
Matt Jaffee
daa87d8e12
fix staticcheck warnings
2019-01-21 14:24:11 -06:00
Yuce Tekol
dc735c17b8
Fixes #1805 . Fixes Store call error messages
2019-01-16 20:52:33 +03:00
Yuce Tekol
9f6d489be8
fixes #1823 . Updates tests and docs for row range
2019-01-14 14:39:08 +03:00
Travis Turner
f7e3296f62
fixes a bug on upper end of bsi range queries
2019-01-11 17:05:29 -06:00
Travis Turner
0b1fb73b14
add a test for groupby filter with RangeLTLT
2019-01-10 16:56:10 -06:00
Ben Johnson
9d1e5ca8ce
Merge Range() into Row() call.
...
This commit refactors the `Range()` call and merges its functionality
into the `Row()` call.
2019-01-09 15:10:49 -07:00
Matt Jaffee
81d08be044
fix PQL, Rows and Group By problems
...
make sure that args which are Uints are positive and return an error if not.
improve group by error messages if field for Rows query is invalid
2018-12-21 14:16:55 -06:00
Ben Johnson
727659644b
Add GroupBy filter.
2018-12-07 10:35:57 -07:00
Yuce Tekol
44e436f571
removed unused rule from peg grammar
2018-11-09 08:08:43 +03:00
Yuce Tekol
cad9d83c40
fix double escapes
2018-11-07 01:10:58 +03:00
Yuce Tekol
0c0709eb20
Merge branch 'master' into allow-backslash-cr-in-pql-strings
2018-11-06 23:28:57 +03:00
Travis Turner
5b30393bc9
upgrade peg at: github.com/pointlander/peg
2018-11-06 14:12:06 -06:00
Yuce Tekol
1e30a9372d
Disabled unquoting for single quoted attribute values; updated test
2018-11-06 22:58:37 +03:00
Yuce Tekol
b158f1c378
unquote attribute values
2018-11-06 22:47:09 +03:00
Yuce Tekol
2a8f2c2026
minor grammar fix
2018-11-06 14:09:32 +03:00
Yuce Tekol
3cb3a065dd
allow backlash, carriage return in pql strings
2018-11-01 21:56:34 +03:00
Travis Turner
3d33cdbb74
implement Store() in the executor (i.e. setRow())
2018-10-05 08:45:07 -05:00
Travis Turner
b6e99734f0
implement ClearRow() query
2018-09-24 15:52:43 -05:00
Travis Turner
4f17dbdbf1
add support for Bool fields
...
prevent import of non-boolean row values to bool fields
2018-09-21 09:25:41 -05:00
Yuce Tekol
80c1a734ba
trivial
2018-09-11 20:51:32 +03:00
Yuce Tekol
aa618c30d5
Implements Query call excludeRowAttrs, excludeColumns and shards args
2018-09-10 17:29:55 +03:00
Cody Soyland
dd7b5f517b
Merge branch 'master' into 1513-metalinter-megacheck
2018-08-02 10:29:47 -05:00
Travis Turner
dfd529b2f5
update parser to handle row keys on SetRowAttrs()
2018-07-27 10:50:04 -05:00
Cody Soyland
990780bd93
Fix linter issues: staticcheck (covered by megacheck, along with gosimple and unused)
2018-07-20 11:19:24 -05:00
Cody Soyland
f01d850b17
Fix linter issues: gosimple
2018-07-20 09:06:43 -05:00
Cody Soyland
c464e0fe64
Fix linter issues: gofmt
2018-07-16 16:45:42 -05:00
Ben Johnson
bcd15ef271
peg: Allow single quoted key 'col'.
2018-07-09 18:31:27 +01:00
Cody Soyland
fb7de28557
Unexport pql.TimeFormat
2018-07-05 23:11:56 -05:00
Cody Soyland
75ea43c9da
Unexport pql.Parser
2018-07-05 23:11:56 -05:00
Cody Soyland
aa7f6fca75
Unexport pql.FormatValue
2018-07-05 23:11:56 -05:00
Cody Soyland
3a47638580
Unexport pql.Call.Keys
2018-07-05 23:11:56 -05:00
Matt Jaffee
d032c8941f
Merge branch 'develop' into dead-code-removal
2018-07-05 18:02:39 -05:00
Travis Turner
5717e32310
fix comment for IntArg
2018-07-05 16:36:37 -05:00
Travis Turner
b7a583d6a8
use Set() instead of SetValue() for integer fields
2018-07-05 16:24:40 -05:00
Cody Soyland
da4cd84820
Remove some dead code
2018-07-05 15:31:07 -05:00
Matt Jaffee
f757e10255
support newlines in more places
2018-07-03 16:28:51 -05:00
Matt Jaffee
4ab9c66070
allow dashes in frame names
2018-06-26 07:00:13 -05:00
Matt Jaffee
d1de586ea0
remove all oldpql and fuzzer code
2018-06-22 09:08:08 -05:00
Alan Bernstein
5bf9af4df3
Parser and test updates
2018-06-22 08:07:31 -05:00