Commit graph

140 commits

Author SHA1 Message Date
Matt Jaffee
a0f4c613a2
remove uneccessary underscores when accessing map values 2018-05-15 10:58:33 -05:00
Matt Jaffee
652b5695e1
fix redundant arguments to make() calls 2018-05-15 10:56:24 -05:00
Alan Bernstein
f839118121 Wrap errors in executor 2018-05-08 18:17:22 -05:00
Matt Jaffee
2738c92286
stop passing uri via context to InternalClient.ExecuteQuery 2018-05-07 12:40:38 -07:00
Travis Turner
47607d5d2e
Merge pull request #1191 from travisturner/min-max-bsi
Implement Min/Max BSI queries
2018-04-24 11:00:35 -05:00
Travis Turner
5177b243f3
use ValCount return type (instead of SumCount, MinCount, and MaxCount) 2018-04-19 17:03:49 -05:00
Travis Turner
47a5ed84bd
add executor min/max tests. fix related bugs. 2018-04-12 15:49:55 -05:00
Matthew Jaffee
4343214001
Merge pull request #1197 from jaffee/handler-api-refactoring
Handler api refactoring
2018-04-12 12:56:32 -05:00
Matthew Jaffee
04f5d5875c
api docs, rename funcs, refactor usage of internal
All exported funcs in api.go are now documented

Several poorly named methods of API and Cluster were renamed. Particularly, the
word Fragment was often changed to Slice in cases where it was really a slice
being specified and not a fragment.

several methods which received or returned internal data structures have been
refactored to be more opaque.

Deprecation logging was added to input definition methods.
2018-04-12 11:28:35 -05:00
Travis Turner
16539bbab1
WIP: implement Min/Max BSI queries 2018-04-11 15:39:40 -05:00
Travis Turner
3d595e6966
make sure that slices is treated as inverseSlices on inverse calls 2018-04-11 08:25:43 -05:00
Travis Turner
e3cd03d902
move rowLabel and columnLabel constants to executor.go 2018-04-02 13:05:37 -05:00
Travis Turner
b2b0fd081a
Remove ColumnLabel support 2018-03-26 15:35:56 -05:00
Travis Turner
2a8172b2a3
Remove RowLabel support 2018-03-26 14:48:56 -05:00
Travis Turner
62cd22f017
Merge branch 'master' into cluster-resize 2018-03-22 16:05:20 -05:00
Ilias Dimos
13e3b04443 Fix misspells in comments 2018-03-09 14:12:15 +02:00
Travis Turner
216ba7a41e
Use NodeID instead of URI for node identification 2018-02-02 15:58:46 -06:00
Travis Turner
cf1e41faf1
Merge branch 'master' into cluster-resize 2017-12-08 15:22:12 -06:00
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
Travis Turner
c9886b049b
Merge branch 'master' into cluster-resize working branch. 2017-12-04 22:18:57 -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
Travis Turner
e641aa1d8a
Merge branch 'master' into 'cluster-resize' 2017-11-07 15:00:11 -06:00
Travis Turner
a8871ada6a
Convert Host to URI.
Fix all compile errors.
2017-10-25 11:52:55 -05: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