Commit graph

351 commits

Author SHA1 Message Date
Matt Jaffee
b3b29fad47
correct bug where slices were being ignored 2018-05-25 17:18:39 -05:00
Matt Jaffee
47f7beaecc
WIP removing inverse 2018-05-25 17:18:38 -05:00
Matt Jaffee
4ef266e5cc
revert a bunch of stuff and fix some comments 2018-05-24 16:35:27 -05:00
Todd Gruben
e3da6efe3c revert to old labels on BSI; revert MustSetColumns 2018-05-24 12:48:24 -05:00
Todd Gruben
de4de2ba2e changed ExcludeAttr -> ExcludeRowAttr for clarity 2018-05-24 08:27:18 -05:00
Todd Gruben
fb7bf11825 Bit -> Column migration 2018-05-23 15:05:22 -05:00
Todd Gruben
5b2f8b4c33 migrated internal.Bitmap to internal.Row 2018-05-21 13:08:45 -05:00
Todd Gruben
6d7178ca91 replaced some overlooked bm's 2018-05-21 12:13:15 -05:00
Todd Gruben
47b100e96b migrate BitmapSegment RowSegment 2018-05-21 11:44:51 -05:00
Todd Gruben
6f204e11f1 cleanup local variable naming and comments for Rows 2018-05-21 11:35:34 -05:00
Todd Gruben
575e199ad8 renamed pilosa.Bitmap to Row 2018-05-21 09:12:42 -05:00
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