Yuce Tekol
f2c096040a
updated api docs
2018-10-22 15:47:29 +03:00
Matt Jaffee
63b3954117
Merge branch 'master' into new-rows-iterate
2018-10-18 14:37:28 -05:00
Matt Jaffee
f9dbacf332
fix compile errors
2018-10-18 14:36:44 -05:00
tgruben
05211bdf70
Merge pull request #1674 from tgruben/fix-logger
...
converted to pilosa.logger
2018-10-17 18:57:52 -05:00
tgruben
ba00794683
Merge branch 'master' into fix-logger
2018-10-17 18:12:35 -05:00
Travis Turner
079d615c80
Merge pull request #1675 from travisturner/create-fragment-error
...
ensure view closes fragment on broadcast error
2018-10-17 18:12:20 -05:00
Travis Turner
cdcbb6ed61
Merge branch 'master' into create-fragment-error
2018-10-17 18:10:00 -05:00
Travis Turner
ddd0b7648a
Merge pull request #1696 from travisturner/test-verbose-stderr
...
prevent closing os.Stderr (used in verbose test logging)
2018-10-17 18:06:09 -05:00
Travis Turner
42531f72fb
prevent closing os.Stdout or os.Stderr (used in verbose test logging)
2018-10-17 17:59:57 -05:00
Todd Gruben
764fc90e58
Merge remote-tracking branch 'upstream/master' into fix-logger
2018-10-17 17:59:09 -05:00
Todd Gruben
0d189a47a2
added v2 notation
2018-10-17 17:58:52 -05:00
tgruben
486cb46b49
Merge pull request #1695 from tgruben/available-shard-bug
...
Available shard persistance bug
2018-10-17 17:52:31 -05:00
Travis Turner
9cd0782ef1
add unprotectedSaveAvailableShards() method
2018-10-17 17:33:13 -05:00
Travis Turner
03e68aaa69
Update field_internal_test.go
2018-10-17 12:38:29 -05:00
Todd Gruben
c0a3b7a781
fmt
2018-10-17 12:35:00 -05:00
Todd Gruben
829779f550
Merge remote-tracking branch 'upstream/master' into available-shard-bug
2018-10-17 12:11:24 -05:00
Todd Gruben
30059f9e7e
force truncate of available shards file to avoid corruption
2018-10-17 12:06:54 -05:00
Todd Gruben
9bb372a09e
Merge branch 'fix-logger' of github.com:tgruben/pilosa into fix-logger
2018-10-17 11:12:57 -05:00
Todd Gruben
e5e2237fc0
changed order of logger options
2018-10-17 11:12:37 -05:00
tgruben
96e7107870
Merge branch 'master' into fix-logger
2018-10-17 10:52:51 -05:00
Ben Johnson
442c872b33
Merge pull request #1624 from benbjohnson/delete-available-shard
...
Add DeleteAvailableShard()
2018-10-17 09:47:35 -06:00
Todd Gruben
0df193cf98
revert to existing api with panic per jaffee
2018-10-17 10:29:58 -05:00
Ben Johnson
f8608227d1
Add DeleteAvailableShard()
...
This commit adds the ability to remove an 'available shard'
from the shard cache. This does not affect shards known to be
available because of local data.
2018-10-17 08:50:06 -06: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
tgruben
1d102e283d
Merge branch 'master' into fix-logger
2018-10-12 02:11:44 -05:00
Matt Jaffee
07d279a155
implement mergeGroupCounts w/o map, remove dead code
...
move rowFilters to fragment.go
new mergeGroupCounts implementation takes limit into account while merging,
exploits inherent order of group count results.
2018-10-11 19:06:46 -05:00
Yuce Tekol
db76437d50
Merge pull request #1683 from yuce/1681-add-missing-call-tests
...
Adds missing rowID/Key columnID/Key tests
2018-10-12 02:51:48 +03:00
Matt Jaffee
9d896c5d2f
implement alternate groupByIterator using fragment rowIterator
...
doesn't re-intersect the same rows for every record
2018-10-11 18:01:44 -05:00
Yuce Tekol
d1dbee749b
Merge branch 'master' into 1681-add-missing-call-tests
2018-10-11 21:37:40 +03: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
Travis Turner
f62dbc00b9
Merge pull request #1686 from travisturner/holder-reopen
...
allow holder to close/open/close without panic on closing closed channel
2018-10-11 07:25:53 -05:00
tgruben
1895233ed8
Merge branch 'master' into fix-logger
2018-10-11 06:58:17 -05:00
Travis Turner
69ef4a3746
allow holder to close/open/close without panic on closing closed channel
2018-10-10 21:29:03 -05: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
Matt Jaffee
1474884f5d
use existing var instead of recalculating
...
silly mistake - thanks todd
2018-10-09 10:27:57 -05:00
Yuce Tekol
e3ccece5d2
Merge branch 'master' into 1681-add-missing-call-tests
2018-10-09 17:27:32 +03:00
Yuce Tekol
a08865a2c8
Adds missing rowID/Key columnID/Key tests
2018-10-09 17:24:33 +03:00
Matt Jaffee
e2bbcb28e5
fix linter issues
2018-10-08 19:10:16 -05:00