Commit graph

2171 commits

Author SHA1 Message Date
Michael Baird
d2c052d4a9 BSI data model 2017-09-27 16:53:02 -05:00
Michael Baird
35d6e945a8 Create BSI Frame and Field documentation 2017-09-27 16:51:16 -05:00
Linh Vo
d44bdf9490 Merge pull request #856 from linhvo/handle-get-fields
Handle get fields
2017-09-27 16:04:15 -05:00
Travis
06f387842b
Adjust some comments and handle error conditions in Handler. 2017-09-27 15:51:16 -05:00
Linh Vo
5435886e7b Merge branch 'master' of github.com:pilosa/pilosa into handle-get-fields 2017-09-27 13:50:56 -05:00
Travis Turner
a863f4f422 Merge pull request #843 from travisturner/consolidate-frame-options
Consolidate frame options
2017-09-27 13:36:27 -05:00
Travis
c8c2229ca3
remove some code duplication in IndexOptions 2017-09-27 12:35:26 -05:00
Travis
80603ef28a
remove some code duplication in FrameOption encoding 2017-09-27 12:27:45 -05:00
Travis
27921564c0
Make sure Fields gets encoded with FrameOptions 2017-09-27 12:27:45 -05:00
Travis Turner
cc43cbd22b Merge pull request #841 from travisturner/perf-use-intersection-count
update fragment.FieldSum to use roaring IntersectionCount()
2017-09-27 12:26:52 -05:00
Linh Vo
d507251f3c resolve conflig with master 2017-09-27 12:00:57 -05:00
Travis
41b322d744
update fragment.FieldSum to use roaring IntersectionCount() 2017-09-27 11:54:09 -05:00
Travis Turner
b9103e962a Merge pull request #840 from travisturner/import-field-value
Import field value
2017-09-27 11:51:36 -05:00
Travis
24e0fd65a0
fix typo 2017-09-27 11:51:13 -05:00
Linh Vo
abc6bad985
throw error with invalid field value 2017-09-27 11:43:11 -05:00
Travis
9110d52573
Add tests for ImportFieldValue 2017-09-27 11:43:11 -05:00
Travis
eaefc31b4f
make ImportSetFieldValue a private method and add some error handling 2017-09-27 11:43:11 -05:00
Todd Gruben
0d8c2c10e2
created ImportSetFieldValue to handle import scenerio 2017-09-27 11:43:11 -05:00
Travis
01fa368c6a
Import FieldValues
This PR adds the ability to import field values into RangeEnabled frames
using the `pilosa import` command.

Example:
```
pilosa import -i i -f f --field foo sample-vals.csv
```
imports data from sample-vals.csv, which contains data in the format:
```
[ColumnID, Value]
```

Also fixes a bug where `frame.rangeEnabled` was not being set on frame creation.
2017-09-27 11:43:10 -05:00
Travis Turner
3bfa773b20 Merge pull request #842 from travisturner/roaring-optimizations
Roaring optimizations
2017-09-27 11:38:53 -05:00
Travis
c7e672e16f
cleaning up a few of the tests 2017-09-27 11:23:00 -05:00
Todd Gruben
de2f16b617
optimzed differenceRunBitmap 2017-09-27 11:23:00 -05:00
Todd Gruben
3f3cc60531
micro optimization to bitmap difference 2017-09-27 11:17:15 -05:00
Todd Gruben
50dab75c82
optimize unionArrayBitmap 2017-09-27 11:17:15 -05:00
Todd Gruben
48f34836e5
optimize differenceBitmapArray 2017-09-27 11:17:15 -05:00
Todd Gruben
08133368e3
optimize differenceArrayBitmap 2017-09-27 11:17:15 -05:00
Todd Gruben
71b7216c51
fix to to allocate properly for difference test 2017-09-27 11:17:15 -05:00
Todd Gruben
4487e6aadd
optimized differenceBitmapBitmap 2017-09-27 11:17:15 -05:00
Matthew Jaffee
de6a25cb8d
rewrite intersectArrayBitmap for perf 2017-09-27 11:17:15 -05:00
Todd Gruben
1736a40b74
check for array conversion to intersectbitmapbitmap 2017-09-27 11:17:14 -05:00
Todd Gruben
1db1ce63b7
optimize intersectionBitmapBitmap 2017-09-27 11:17:14 -05:00
Travis Turner
1fb540f40b Merge pull request #844 from travisturner/bug-fix-condition-string
Don't include an equal sign in the string representation of a Condition
2017-09-27 11:14:56 -05:00
Travis Turner
917f41e8eb Merge pull request #847 from travisturner/field-range-between
Implements BETWEEN for Range queries.
2017-09-27 11:14:31 -05:00
Travis
ab908227be
remove private function fieldRangeBetween 2017-09-27 11:02:32 -05:00
Linh Vo
7e53a4ed1d more test 2017-09-27 10:10:43 -05:00
Travis Turner
26532b5753 Merge pull request #845 from travisturner/forgotten-error-check
forgotten error check which fooled the compiler but not guru/rename
2017-09-26 16:11:29 -05:00
Travis
7af8484d2e
handle another forgotten error check 2017-09-26 15:35:48 -05:00
Travis Turner
204898e612 Merge pull request #848 from travisturner/lock-to-read-lock
Lock to read lock
2017-09-26 15:29:58 -05:00
Linh Vo
a1a6c7d717 update test 2017-09-26 13:46:00 -05:00
Linh Vo
505363d8ed get fields 2017-09-26 10:57:22 -05:00
Travis Turner
046fb9b97e Merge pull request #846 from travisturner/reduce-executor-locks
micro optimization: reduce Lock calls in executor
2017-09-25 17:12:17 -05:00
Travis Turner
6066c29ea7 Merge pull request #849 from travisturner/flip-bitmap
implement container.flipBitmap() to improve differenceRunBitmap()
2017-09-25 17:10:37 -05:00
Travis
0d4f634dd8
implement container.flipBitmap() to improve differenceRunBitmap() 2017-09-25 15:48:40 -05:00
Travis
e53f218c49
consolidate the BaseValue code. Add tests for BaseValue ranges 2017-09-25 15:37:27 -05:00
Matthew Jaffee
f257be9926
FieldSum calls fragment.row which needs write lock
remove read lock and call fragment.Row
2017-09-25 15:24:52 -05:00
Matthew Jaffee
3aecb61285
more read-only locking for maxslice, timequantum, and Index.Frames 2017-09-25 15:20:17 -05:00
Matthew Jaffee
c5b6c39c56
read only lock in fragment.FieldSum 2017-09-25 15:20:00 -05:00
Matthew Jaffee
1210489f76
frame rowlabel and options read-only lock 2017-09-25 15:19:43 -05:00
Matthew Jaffee
023dbbcdfd
make index column label and options RLocks 2017-09-25 15:18:46 -05:00
Matthew Jaffee
ce7283ae1b
convert to RWMutex in index, holder, view, and frame
use RLock and RUnlock in mapperLocal hotpath
2017-09-25 15:16:40 -05:00