Commit graph

5531 commits

Author SHA1 Message Date
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
Travis
2b88d278bc
Implements BETWEEN for Range queries.
The PQL looks like:
```
Range(frame=f, field0 >< [200,610])
```

One thing I noticed while implementing this is that it doesn't seem
like `FieldRange()` is used in either `Frame` or `View`; the Executor
calls `Fragment.FieldRange()` directly. The problem with this is that
the offset logic is calculated in the Frame, but since the Executor
doesn't go through Frame, then the Executor also has to calculate
the offset before calling `Fragment.FieldRange`. We should unify this
logic somewhere. Note, this applies to both `FieldRange` and
`FieldRangeBetween`.
2017-09-25 15:11:04 -05:00
Todd Gruben
c8f2982e50
micro optimization: reduce Lock calls in executor 2017-09-25 15:02:49 -05:00
Matthew Jaffee
959d0c0ef9
forgotten error check which fooled the compiler but not guru/rename
see https://github.com/golang/go/issues/8560

also gofmting happening
2017-09-25 14:59:38 -05:00
Travis
51ca778d77
Don't include an equal sign in the string representation of a Condition 2017-09-25 14:51:15 -05:00
Yuce Tekol
b11b8b074d Merge pull request #837 from yuce/765-auto-create-frames-on-import
Enables auto-creating the schema on imports; Resolves #765
2017-09-25 21:55:19 +03:00
Matthew Jaffee
3e18cdecd3 Merge pull request #820 from tgruben/unmarshallbinary
Reuse container storage on UnmarshalBinary to improve memory utilization
2017-09-25 12:20:38 -05:00
Yuce Tekol
93ba7848fc Merge pull request #831 from yuce/client-libraries-doc
Updated client library docs
2017-09-25 19:57:47 +03:00
Yuce Tekol
5cc05cb000
yet another formatting fix 2017-09-25 17:32:38 +03:00
Yuce Tekol
e1d2bd1087
fix formatting 2017-09-25 17:23:11 +03:00
Yuce Tekol
24d9fa0086
deprecate labels 2017-09-25 17:22:21 +03:00
Yuce Tekol
ad05938a5e
Enables auto-creating the schema on imports; Resolves #765 2017-09-22 14:56:36 +03:00
Yuce Tekol
4447225481 Merge pull request #835 from yuce/817-gossip-seed-doc
TRIVIAL: Fixes gossip-seed configuration example
2017-09-21 22:40:59 +03:00
Yuce Tekol
f29b9dd8b0
Move data dir and gossip seed sections over the cluster section 2017-09-21 22:40:26 +03:00
Cody Soyland
0c4e3d439f Merge pull request #836 from codysoyland/832-ci-binary-upload
Update slack and aws credentials with correct encryption key.
2017-09-21 10:45:52 -05:00
Cody Soyland
0458647937 Update slack and aws credentials with correct encryption key. 2017-09-21 10:26:17 -05:00
Cody Soyland
2e0d267ae3 Merge pull request #834 from codysoyland/832-ci-binary-upload
Add prerelease build target in Makefile and update TravisCI config
2017-09-21 09:05:46 -05:00
Cody Soyland
f99cc9ba85 Remove redundant mkdir (go build will make dir) 2017-09-21 08:52:14 -05:00
Yuce Tekol
c05a553ab9
pull gossip-seed configuration item out of cluster section 2017-09-21 16:01:32 +03:00
Cody Soyland
0151f5e0c1 Add prerelease build target in Makefile and update TravisCI config to use it. Also update Slack notification token. Fixes #832. 2017-09-20 14:01:58 -05:00
Cody Soyland
1c5d08b14c Modify WebUI documentation link to open docs for the current version. 2017-09-19 14:46:18 -05:00
Yuce Tekol
e64eab5703 Merge pull request #829 from yuce/792-setcolumnattrs-frame
TRIVIAL: SetColumnAttrs excludes frame attribute; resolves #792
2017-09-18 17:31:08 +03:00
Yuce Tekol
a27262b242
update 2017-09-18 16:41:13 +03:00
Yuce Tekol
6c9f549dcd
Updated client library docs 2017-09-18 15:59:51 +03:00
Todd Gruben
641519acf2 cleanup on unmarshall shrink 2017-09-15 22:10:48 -05:00
Yuce Tekol
6993a395ae Merge pull request #830 from yuce/827-sigterm
Handles SIGTERM signal; resolves #827
2017-09-14 16:52:52 +03:00
Yuce Tekol
79cea495d7
Handles SIGTERM signal; resolves #827 2017-09-14 11:17:28 +03:00
Yuce Tekol
b9a3197c2c
Updated docs 2017-09-14 11:10:22 +03:00
Yuce Tekol
92d7000571
SetColumnAttrs excludes frame attribute; resolves #792 2017-09-14 11:03:05 +03:00
Yuce Tekol
731dac2798 Merge pull request #823 from yuce/sumreduce-call
Fixes Sum call response; resolves #821, resolves #822
2017-09-14 01:22:47 +03:00
Yuce Tekol
e0977da49e
updated sum test name 2017-09-13 22:02:32 +03:00
Yuce Tekol
90add3f64d
Renamed SumReduce back to Sum 2017-09-13 17:07:57 +03:00
Yuce Tekol
ebee6e4deb
Renamed Sum call to SumReduce call and it returns SumCount; removed Average call 2017-09-11 14:14:37 +03:00
Ben Johnson
f6ce36c02c Merge pull request #811 from benbjohnson/623-field-http-api
Field HTTP API
2017-09-08 08:11:04 -06:00
Todd Gruben
1eb2f8d568 reusing containers for memory efficiency 2017-09-07 12:59:09 -05:00
Ben Johnson
8bd1ab31f5
Add field HTTP API. 2017-09-07 11:45:20 -06:00
Todd Gruben
a8b070716d reuse fragment memory 2017-09-06 14:41:14 -05:00
tgruben
ba0114ad1e Merge pull request #812 from tgruben/mem-check
Zero Alloc WriteTo
2017-09-06 08:22:05 -05:00
Todd Gruben
1d55d1c2c5 cleanup commented code 2017-09-05 15:41:52 -05:00
Todd Gruben
6f3c5ac51b wrapped fragment with buffered writer 2017-09-05 13:23:51 -05:00
Linh Vo
b1087413e7 Merge pull request #814 from linhvo/rowID-zero-bug
fix zero rowID bug
2017-09-05 10:49:56 -05:00
Linh Vo
197415f8cb change test name 2017-09-05 10:41:24 -05:00
Linh Vo
dacaf91ab4 clearer comment on InputSetTimestamps 2017-09-05 10:29:32 -05:00