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
Matt Jaffee
f9cb7f8fec
add some group by benchmarks
2018-10-11 12:08:17 -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
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
Matt Jaffee
e2bbcb28e5
fix linter issues
2018-10-08 19:10:16 -05:00
Matt Jaffee
cbd7e945b2
get GroupBy working with "Rows" child calls, remove fieldDirectives
...
had to implement decoders for RowIDs and RowIdentifiers - a sign that we need
better testing of remote Rows calls
2018-10-08 19:04:29 -05:00
Matt Jaffee
c172ca0680
combine fragment.rows and rowsForColumn with generalized filter
...
use filter funcs with closures for state instead of methods on structs. seems a
bit cleaner.
2018-10-08 16:16:39 -05:00
Yuce Tekol
396ec6e271
Merge pull request #1677 from yuce/1632-move-columnattrs
...
Fixes #1632
2018-10-05 22:53:17 +03:00
Yuce Tekol
37d1cfbbd7
Updated with master
2018-10-05 22:07:01 +03:00
Travis Turner
2d81d85c4d
Merge pull request #1679 from travisturner/range-with-keys
...
ensure a Range() query with field keys is handled correctly
2018-10-05 11:35:30 -05:00
Travis Turner
051b71e540
ensure a Range() query with field keys is handled correctly
2018-10-05 11:30:47 -05:00
Travis Turner
87a2bff58f
Merge pull request #1666 from travisturner/store-function
...
Store() function
2018-10-05 10:52:04 -05:00
Yuce Tekol
b617db84eb
gfmt'ed
2018-10-05 17:44:02 +03:00
Yuce Tekol
b6981930b1
ColumnAttrsSet omit empty ID
2018-10-05 16:47:53 +03:00
Travis Turner
16811bc04c
add a "store intersect" example to the Store() docs
2018-10-05 08:45:07 -05:00
Travis Turner
a6190f5cfa
Store() docs
2018-10-05 08:45:07 -05:00
Travis Turner
338f69b71d
replace switch with simplified if statement
2018-10-05 08:45:07 -05:00
Travis Turner
3d33cdbb74
implement Store() in the executor (i.e. setRow())
2018-10-05 08:45:07 -05:00
Travis Turner
619bc1bcd9
implements fragment.setRow(row, rowID)
2018-10-05 08:45:05 -05:00
Yuce Tekol
bd48db1435
updated executor.Execute logic for columnAttrs with keys; added columnAttrs with keys test
2018-10-05 16:43:42 +03:00
Yuce Tekol
a028d4604a
Merge branch 'master' into 1632-move-columnattrs
2018-10-05 15:16:17 +03:00
Yuce Tekol
19177b94d1
Merge pull request #1672 from yuce/1637-trackexistence-by-default
...
Index trackExistence is true by default Fixes #1637
2018-10-04 22:02:25 +03:00
Yuce Tekol
b3efa25516
Merge branch 'master' into 1637-trackexistence-by-default
2018-10-04 21:47:22 +03:00
Yuce Tekol
cc17295899
Merge pull request #1676 from yuce/1667-update-populateValidators
...
Synced query validation for handlers
2018-10-04 21:24:04 +03:00
Yuce Tekol
f89b90306b
Merge branch 'master' into 1667-update-populateValidators
2018-10-04 20:53:43 +03:00
Yuce Tekol
ca3bf74075
Merge pull request #1670 from yuce/1660-import-roaring-valid-field-type
...
Fixes #1660
2018-10-03 21:41:40 +03:00
Yuce Tekol
432c2b5506
set trackExistence to true in NewIndex
2018-10-03 17:32:22 +03:00
Yuce Tekol
2d2d3e0ca4
Merge branch 'master' into 1637-trackexistence-by-default
2018-10-03 15:22:20 +03:00
Yuce Tekol
b592ee8fda
Merge branch 'master' into 1660-import-roaring-valid-field-type
2018-10-03 15:21:09 +03:00
Yuce Tekol
efed5ea3fc
Fixes #1632
2018-10-03 13:43:15 +03:00
Matt Jaffee
8cd82af2e7
remove extraneous fragment.rows* methods
...
variadic filters makes separate methods unnecessary
2018-10-02 09:31:13 -05:00
Matt Jaffee
4f3f2e1a49
remove noFilter and filterWithOffsetLimit
...
can use an empty list of filters and a list of offsetFilter followed by limit
filter respectively
2018-10-02 09:25:07 -05:00
Yuce Tekol
3539b54835
Synced query validation for handlers
2018-10-02 13:58:01 +03:00
Yuce Tekol
dc5a0da9a9
Merge pull request #1671 from yuce/add-diagnostics-arch-field
...
Adds diagnostics CPUArch field
2018-10-02 01:22:08 +03:00
Yuce Tekol
1ff497f7d0
Merge branch 'master' into add-diagnostics-arch-field
2018-10-02 01:09:31 +03:00
Cody Soyland
4cbde825c3
Merge pull request #1673 from codysoyland/dockerhub-master-cd
...
Add CircleCI step to generate Docker image and push to Docker hub
2018-10-01 12:58:24 -05:00
Cody Soyland
040cce162b
Add CircleCI step to generate Docker image and push to Docker hub
2018-10-01 10:45:41 -05:00
Yuce Tekol
fc6fc82f67
use FieldTypeSet
2018-10-01 17:55:56 +03:00
Yuce Tekol
f7f6ff743a
index trackExistence is true by default
2018-10-01 17:45:21 +03:00
Yuce Tekol
2830fb46e6
Adds diagnostics CPUArch field
2018-10-01 15:31:13 +03:00
Yuce Tekol
066c3a4853
Fixes #1660
2018-10-01 14:15:51 +03:00
Matt Jaffee
f94cd8ae7d
add translation code for GroupBy "previous" arg
2018-09-28 14:30:18 -05:00
Matt Jaffee
61089981a2
remove check for column in shard in executeRowsShard
...
the check happens in executeRows and frag.rowsForColumn will panic if given a
column id not in its shard.
2018-09-28 10:20:48 -05:00
Matt Jaffee
ed1b09a1cd
fix columnID<>shard checks in executor and fragment
...
fragment panics if rowsForColumn is called with a column id not in the
fragment's shard. The justification for this is that we're wasting resources if
we're sending requests for a specific column to any shard other than the one
which contains that column.
2018-09-28 10:17:53 -05:00
Matt Jaffee
93e9f242fe
test Rows call with row keys, fix column id problem
2018-09-27 17:07:15 -05:00
Matt Jaffee
7d24276a98
rename "columns" to "rows" in Rows test so it makes sense
2018-09-27 16:18:37 -05:00