Travis
ea8b07d380
Merge branch 'master' into disco
2021-03-02 22:11:04 -06:00
Matt Jaffee
1e4cc12bd0
handle 0th percentile properly
2021-03-02 21:47:27 -06:00
Matt Jaffee
b1f9e6ad05
turn off parallel for variousQueries
2021-03-02 20:36:54 -06:00
Matt Jaffee
ad88f4fac8
refactor tests to reuse clusters more
2021-03-02 20:36:54 -06:00
nagamocha3000
7da218727d
Separate out tests on Percentile to top level
2021-03-02 20:36:53 -06:00
nagamocha3000
832c6f1a71
Restore filter argument
2021-03-02 20:36:53 -06:00
nagamocha3000
66d12f88e2
Remove filter to check if it's cause of leaks
2021-03-02 20:36:53 -06:00
nagamocha3000
abe8e61539
Remove check for basic response
2021-03-02 20:36:53 -06:00
nagamocha3000
4e81fd8101
Limit size of nums to 100
2021-03-02 20:36:53 -06:00
nagamocha3000
4be9ac7554
Remove percentile tests temporarily to see if they are the cause
2021-03-02 20:36:53 -06:00
nagamocha3000
1947325e00
Fix error on index name for Percentile query
2021-03-02 20:36:53 -06:00
nagamocha3000
2de543bc55
Rename index to avoid possible conflict
2021-03-02 20:36:52 -06:00
nagamocha3000
a6c157d5db
Fix errenous estimation that caused infinite loop
2021-03-02 20:36:52 -06:00
nagamocha3000
ef58b66e2c
Add ability to compose filter Row Call with Percentile
2021-03-02 20:36:52 -06:00
nagamocha3000
131d4fd97c
Make tests for median more extensive
2021-03-02 20:36:52 -06:00
nagamocha3000
3fb79b4d97
Fix errors on creating pql Call
2021-03-02 20:36:52 -06:00
nagamocha3000
d740a0cda7
Add execution for median
2021-03-02 20:36:52 -06:00
nagamocha3000
26fd199716
Add basic test for Percentile query
2021-03-02 20:36:51 -06:00
Maxton Huff
6f76767841
add test in executor.go to compare results of query w/without field=
2021-02-26 12:06:25 -06:00
Maxton Huff
ab41d0492c
add more tests for TopK, Rows, and SetRowAttrs
2021-02-25 16:04:31 -06:00
Seebs
2ee589ae1d
reduce goroutine spam during TestVariousQueries
...
etcd runs a LOT more goroutines during server startup. Fix a
goroutine/for loop bug causing us to run four 7-node clusters
instead of 1/3/4/7-node clusters, also have the test/cluster
code reduce import workers. We can't do much about the spamminess
of the Raft stuff, but this should tone it down some.
2021-02-24 11:25:46 -06:00
Travis
2bbe1fdde0
remove remaining references to "coordinator"
2021-02-23 17:23:09 -06:00
Alan Bernstein
f228a35d52
Add ignoreLimit argument to executeGroupByShard
2021-02-22 16:16:11 -06:00
Travis
9f14415b58
Merge branch 'master' into disco
2021-02-20 10:28:38 -06:00
Travis
0d08a68c28
fix test expected error message
2021-02-16 21:59:35 -06:00
nagamocha3000
0927240956
Add parsing for partial time inputs
2021-02-15 22:55:35 +03:00
Kuba Podgórski
37b309be16
Move schemator from API to index. Fix TestExecutor_Execute_SetRow
2021-02-08 21:54:39 +01:00
Antonio Navarro Perez
b1ff8e55cd
Unify state
...
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2021-02-06 16:53:42 -06:00
Travis
d192c1f24f
Merge branch 'master' into disco
2021-02-05 15:58:36 -06:00
Kuba Podgórski
a16a83445b
Apply stator
2021-02-02 19:36:34 +01:00
Travis
4811958de4
add AwaitState to test which re-opens node
2021-02-01 17:34:12 -06:00
Nia
2961a69bd2
Merge branch 'master' into count-global
2021-01-29 11:14:02 -05:00
Alan Bernstein
c4455acbd8
Use inconsistent JSON schema to reach Distinct translation error condition
2021-01-29 09:39:31 -06:00
Travis
58ff92d3d6
Fix Groupby test which uses RowKey instead of RowID
...
This commit introduces a CheckGroupByOnKey function which acts like the
CheckGroupBy function, but it only ensures equality on RowKey, not
RowID.
2021-01-28 21:12:02 -06:00
Travis
1c0b926eae
Merge master into disco
2021-01-28 18:03:38 -06:00
Nia Weiss
0d97ec559b
switch signed count distinct test to use TestVariousQueries
2021-01-27 10:29:40 -05:00
Travis
4380a05bbd
address some coord/node0 test issues
2021-01-26 22:46:37 -06:00
Nia Weiss
ac09c11bad
Invoke precalls directly in count operations
...
This changes Count(Precall()) operations to execute the precall directly inside of the count operation, bypassing the transformation to a Precomputed() call.
Eliminating the Precomputed() step causes Count(Distinct()) to work properly on negative integers.
2021-01-26 12:44:03 -05:00
Cody Soyland
649202b081
Fix cluster size setter: expose failures
2021-01-25 10:16:19 -05:00
Travis
1473e11a27
update test cluster GetNode() to consider the etcd-assigned ID (which affects node order)
2021-01-23 19:52:59 -06:00
Travis
c9e6f17ae0
Merge branch 'master' into disco
2021-01-23 19:22:20 -06:00
nagamocha3000
b5fdc6609a
Update tests to remove sum column on GroupBy
2021-01-22 18:44:36 +03:00
Travis
13984353e4
remove instances of os.Getenv("PILOSA_TXSRC")
2021-01-21 21:18:46 -06:00
nagamocha3000
16b5fbe40b
Merge branch 'master' into bnm-fix-1080
2021-01-21 17:37:08 +03:00
nagamocha3000
6cbcde3a82
Add more tests for GroupBy on Time fields
2021-01-21 16:20:46 +03:00
Travis
f292d6061a
replace pilosa.DefaultTxsrc with storage.DefaultBackend
2021-01-20 22:06:13 -06:00
Travis
08fae2be4c
introduce storage.Config
2021-01-20 22:05:38 -06:00
Cody Soyland
0a325dcdb8
Merge branch 'master' into distinct-failure
2021-01-19 16:50:25 -06:00
Seebs
932e84b681
handling aggregate types: add to protobuf, etc
...
We want to distinguish different *kinds* of GroupCounts, so we're
making the GroupCounts parent object track its type so we can keep that
correct.
Adding this to protobuf, etc, then creates some weird behaviors
because sometimes we expect []GroupCount, and sometimes we expect
*GroupCounts. This implies changes to test cases. Also, the
changes to test cases imply that some test cases are probably now
wrong; for instance, they're expecting a "sum" column, equal to zero,
when no sum was requested.
We try to make the encoder handle a []*GroupCount gotten from another
node without panicing, and avoid breaking the semantics of the existing
messages, renumbering messages or components, etc.
Since a previous version, the `.Groups` member has been privatized,
and the `.Get()` convenience accessor has been renamed `.Groups()`
and is now used consistently in a way that should reduce the risk
of nil pointers causing crashes. Also, NewGroupCounts is used in
a couple more places.
2021-01-19 16:23:15 -06:00
nagamocha3000
0437f5d28a
Handle case where row returned might be nil
2021-01-19 16:51:26 +03:00