Cody Soyland
0564950123
Merge pull request #979 from codysoyland/876-range-edge-cases
...
Fix edge case with Range() calls outside field Min/Max. Fixes #876 .
2017-12-05 08:57:03 -06:00
Todd Gruben
f051f7ccea
refactored httpclient handling
2017-12-01 16:00:12 -06:00
Cody Soyland
5f4545eeb2
Fix edge case with Range() calls outside field Min/Max. Fixes #876 .
2017-11-21 13:43:44 -06:00
Yuce Tekol
642bf3180f
Rename NewClientFromURI to NewInternalHTTPClientFromURI
2017-10-18 21:17:25 +03:00
Yuce Tekol
66650ec1f7
NewExecutor doesn't return an error; renamed NewClient to NewInternalHTTPClient
2017-10-18 17:38:20 +03:00
Yuce Tekol
0f8f596376
Trivial NewClientFromURI simplification
2017-10-17 12:07:45 +03:00
Yuce Tekol
48c0dbaee7
Initial client refactoring
2017-10-17 11:35:01 +03:00
Yuce Tekol
2c5a8d9125
Fixed Merge branch 'master' into tls-support-URI
...
# Conflicts:
# cmd/server_test.go
2017-10-12 16:03:32 +03:00
Yuce Tekol
65ad94c376
clusters with https + self signed certificates work (using --tls.skip-verify)
2017-10-10 04:48:15 +03:00
Travis
b0afec0761
Make sure that outOfRange field predicates return not-null for NEQ queries
2017-10-06 14:47:56 -05:00
Travis
d62ea053b5
Add support for field != <int> Range query
2017-10-06 11:36:41 -05:00
Travis
4304d341f7
Add support for field != null Range query
2017-10-06 11:36:41 -05:00
Travis
07ae881967
Add FieldNotNull for more efficient BETWEEN queries
2017-10-06 11:36:24 -05:00
Yuce Tekol
a95b09d30d
more host string to uri changes
2017-10-04 15:29:00 +03:00
Yuce Tekol
1bedfd6585
use URI instead of host
2017-10-04 08:20:00 +03: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
e53f218c49
consolidate the BaseValue code. Add tests for BaseValue ranges
2017-09-25 15:37:27 -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
Yuce Tekol
a27262b242
update
2017-09-18 16:41:13 +03:00
Yuce Tekol
92d7000571
SetColumnAttrs excludes frame attribute; resolves #792
2017-09-14 11:03:05 +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
06fc14b209
Merge pull request #791 from benbjohnson/pql-range
...
Add field Range() support to Executor.
2017-08-28 08:40:51 -06:00
tgruben
8c03e7c3bb
Merge pull request #789 from tgruben/xor-pql
...
Xor support for PQL
2017-08-25 16:27:03 -05:00
Yuce Tekol
3367c69959
merged with master
2017-08-25 23:59:40 +03:00
Ben Johnson
ad847f2c8a
Add field Range() support to Executor.
2017-08-24 13:34:57 -06:00
Todd Gruben
3235d83c9b
Xor support for PQL
2017-08-23 13:12:28 -05:00
Yuce Tekol
e89ffcccbd
Renamed inhibit* to exclude*
2017-08-23 04:57:22 +03:00
Ben Johnson
562fba9de1
Sum() and Average() field queries.
2017-08-22 08:27:52 -06:00
Yuce Tekol
dec9893044
Adds suprressing attributes and bits for Bitmap queries
2017-08-22 15:18:10 +03:00
Ben Johnson
adc6296040
Add PQL support for field values.
...
This commit adds support in the PQL language to set field values.
2017-07-10 17:35:23 -06:00
Michael Baird
143cc14b1a
Merge branch 'master' into metrics
2017-05-16 14:03:16 -05:00
Michael Baird
4a051900c0
Add sampling rate to StatsD functions, and fix data dog logging
2017-05-16 10:35:49 -05:00
Ben Johnson
0b8d935f1c
Add inverse TopN() support.
...
The TopN() call now supports an `inverse` boolean argument to
specify if the call should operate on the standard view or the
inverse view.
2017-05-15 10:35:48 -06:00
Michael Baird
bd44949cb5
Merge remote-tracking branch 'origin/master' into metrics
...
Conflicts:
config.go
executor_test.go
server/server.go
2017-05-09 11:31:14 -05:00
Michael Baird
bf6ed942f0
Merge pull request #8 from alanbernstein/stats
...
Stats
2017-05-09 11:15:23 -05:00
Ben Johnson
d4ddf3676c
Support inverse Range() queries.
2017-05-08 09:46:01 -06:00
Matthew Jaffee
0a81ce471d
Merge pull request #524 from jaffee/ranked-default-2
...
change default cache type to ranked
2017-05-03 15:16:19 -05:00
Matt Jaffee
9fdb2e1460
differentiate error messages
2017-05-03 13:52:04 -05:00
Ben Johnson
e3d6f96657
Add max-writes-per-requests limit.
...
A configurable limit has been added to restrict the number of
mutating calls in a `pql.Query`. This is to prevents requests from
timing out from large queries.
The default is set to 5000 writes per request and is configurable
through the configuration file and the command line flags.
2017-05-03 08:53:20 -06:00
Michael Baird
ee159b455d
Merge remote-tracking branch 'origin/master' into metrics
...
Conflicts:
.gitignore
cluster.go
frame.go
glide.lock
index.go
2017-05-01 10:41:04 -05:00
Cody Soyland
3996b56b88
Apply Apache License 2.0
2017-04-28 14:22:03 -05:00
Michael Baird
35c1648c75
missing comments
2017-04-25 15:12:44 -05:00
Michael Baird
e699c55700
fixed conflicts from the db index change
...
Conflicts:
cluster.go
executor_test.go
handler_test.go
server.go
2017-04-25 11:47:29 -05:00
Michael Baird
a543ba21bb
fixed DB to index conflicts after merge
2017-04-24 21:59:39 -05:00
Michael Baird
5a8c165c53
Merge remote-tracking branch 'origin/master' into metrics
...
Conflicts:
cache.go
cluster.go
db.go
executor.go
fragment.go
frame.go
gossip/gossip.go
handler.go
index.go
server.go
server/server.go
2017-04-24 16:35:25 -05:00
Travis
7dc06f918b
Determine if a Call is inverse or not so that the map to slices is correct.
2017-04-24 16:19:17 -05:00
Travis
1343979308
Fixes up a few overlooked d := Index()
2017-04-24 11:17:30 -05:00
Travis
2ad322c2c7
Rename DB to Index
...
Rename `db.go` to `index.go` and `db_test.go` to `index_test.go`
2017-04-23 21:49:27 -05:00