Matt Jaffee
55d9d49f2f
add executor test for deprecated range query style
2019-04-05 07:52:25 -05:00
Travis Turner
87b3438cb1
add logic to restrict time range to available views
2019-02-01 15:30:10 -06:00
Travis Turner
a242b8cbaf
add from/to range arguments to Rows()
2019-01-30 16:27:07 -06:00
Travis Turner
30711664e8
ensure ClearRow() arguments get translated
2019-01-29 12:36:54 -06:00
Travis Turner
687b67dc54
prevent omitting zero ids on columnattrs
2019-01-28 13:16:43 -06:00
Travis Turner
8fe966e8a0
Modifying some of the logic around Shift()
...
add some comments to the shift() logic
improve test coverage
fix full bitmap overflow
add support to specify shift-by amount
2019-01-25 12:54:44 -06:00
Travis Turner
2467d88ddc
Merge branch 'master' into shift-op
2019-01-24 13:56:28 -06:00
Matt Jaffee
b7973b75f1
get rid of init
2019-01-21 16:23:28 -06:00
Matt Jaffee
04c7ab5034
add nolint for init
2019-01-21 16:23:27 -06:00
Matt Jaffee
fe7b926773
make sure more tests and benchmarks can have their temp dir set by flag
...
This is to allow the directory to be set to where a particular disk is mounted
during benchmarking.
2019-01-21 16:23:27 -06:00
Yuce Tekol
773d661b68
GroupBy legacy Rows
2019-01-21 18:02:51 +03:00
Yuce Tekol
ca7dc073ab
Merge branch 'master' into 1805-rows-call-format
2019-01-18 17:48:58 +03:00
Yuce Tekol
c30f9bc192
Rows accepts a fields param for backward compat.
2019-01-18 17:41:54 +03:00
Matthew Jaffee
6f21eb32de
Apply suggestions from code review
...
Co-Authored-By: travisturner <travis@pilosa.com>
2019-01-17 14:47:35 -06:00
Yuce Tekol
dc735c17b8
Fixes #1805 . Fixes Store call error messages
2019-01-16 20:52:33 +03:00
tgruben
e5df52836e
Merge branch 'master' into shift-op
2019-01-15 08:57:28 -06:00
Travis Turner
44f53a5f1d
raise an error on Rows() query against a time field with noStandardView:true
2019-01-14 16:14:45 -06:00
Yuce Tekol
76de81dacf
updated row range test
2019-01-14 23:46:34 +03:00
Yuce Tekol
d75e9eb772
updated row range test
2019-01-14 23:45:58 +03:00
Yuce Tekol
600b39e4e5
updates row range test with a timestamp > the default end timestamp
2019-01-14 23:40:31 +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
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
Yuce Tekol
65c30283d7
adds tests for GroupBy with keys; removes unused Bit message from proto
2019-01-03 15:20:02 +03:00
Matt Jaffee
ed637e6921
add test for group by with invalid filter
2018-12-21 17:24:44 -06: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
Matt Jaffee
97eb94397f
fix Rows bug where Pilosa would crash without 'field' argument.
2018-12-21 11:55:25 -06:00
Matt Jaffee
45cd48c1b7
change exists field to _exists
2018-12-17 15:44:50 -06:00
Ben Johnson
727659644b
Add GroupBy filter.
2018-12-07 10:35:57 -07:00
Todd Gruben
f6d34b42ba
gofmt
2018-11-26 15:05:43 -06:00
Todd Gruben
0404354faa
add shift operater to pql
2018-11-26 11:29:05 -06:00
Matt Jaffee
a0f4522b6a
fix up linter issues in new groupby/rows tests
2018-10-25 08:35:09 -05:00
Matt Jaffee
21c35e6861
wrap errors, fix comment, add test
2018-10-24 17:18:39 -05:00
Travis Turner
9fee746e76
translate column argument in Rows() query
2018-10-22 17:41:59 -05:00
Matt Jaffee
b6a953cade
cleanup groupby - more comments, remove panic, remove dup test
2018-10-16 19:56:54 -05:00
Matt Jaffee
1029a6ca83
Merge branch 'master' into new-rows-iterate
2018-10-12 19:03:00 -05:00
Matt Jaffee
38f459a6d4
add GroupBy(Rows(column)) test and fix comments
2018-10-12 18:58:27 -05:00
Matt Jaffee
fb706ab883
add GroupBy Rows(limit) test and fix bug
...
run all group by tests on two cluster sizes
2018-10-12 18:47:41 -05:00
Matt Jaffee
431185110b
add different shard test and simplify checking logic
...
we now guarantee result order
2018-10-12 15:58:28 -05:00
Matt Jaffee
a4edd39715
use intersectionCounts for final row of groupBy record
...
since we only need the counts and not the data, this optimization actually
provides enormous speedup (2x?) and massive decrease in allocations.
also in this commit (unfortunately), a bunch of renaming and documentation,
returning a GroupCount from the GroupBy iterator instead of a ppi (ppi is now
gone).
also added TODOs for tests and benchmarks
2018-10-12 15:30:25 -05:00
Matt Jaffee
f9cb7f8fec
add some group by benchmarks
2018-10-11 12:08:17 -05:00
Yuce Tekol
2e2a281e30
More tests for Row call
2018-10-11 17:38:12 +03:00
Matt Jaffee
360623230f
get a somewhat better groupBy working that passes new tests
...
one test still fails due to reordering during merging
2018-10-10 21:03:45 -05:00
Yuce Tekol
616cc0f86b
More refactoring
2018-10-10 17:34:20 +03:00
Yuce Tekol
9a7dac4339
refactored call tests
2018-10-10 17:13:24 +03:00
Matt Jaffee
603b0e5369
fix logic bug applying limit to group by rows
...
check in failing test showing how applying the limit to each rows query can
cause the query to falsely return no results
2018-10-09 19:27:10 -05:00
Matt Jaffee
578c594755
convert GroupBy tests to use new utils; fix case where index exists
2018-10-09 19:13:12 -05:00
Matt Jaffee
45fb6f0c06
add some new test utils and test Rows calls on cluster
2018-10-09 18:44:48 -05:00
Matt Jaffee
36a539d24e
Merge branch 'master' into new-rows-iterate
2018-10-09 12:27:05 -05:00
Yuce Tekol
e3ccece5d2
Merge branch 'master' into 1681-add-missing-call-tests
2018-10-09 17:27:32 +03:00