Commit graph

64 commits

Author SHA1 Message Date
Yuce Tekol
5760d89742
Initial TLS support 2017-10-02 15:53:50 +03: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
Ben Johnson
8bd1ab31f5
Add field HTTP API. 2017-09-07 11:45:20 -06:00
Travis
2d3548afac
Adjust error tests to work on go v1.8 2017-08-07 08:25:35 -05:00
Travis
c4a4f0dcc4
don't normalize bind address after all, just have it use defaults when necessary 2017-08-07 08:25:35 -05:00
Travis
fcb311389e
added pilosa.NormalizeAddress() to address variations in the bind configuration 2017-08-07 08:25:35 -05:00
Travis
a3b1b2ee1a
DefaultClusterType = ClusterGossip
This commit removes the `httpbroadcast` NodeSet, sets the default cluster type
to `gossip`, and uses the `static` cluster type for most test cases.
2017-08-07 08:25:35 -05:00
Ben Johnson
0bb94fc83d
Implement BSI Field Range internally
This commit adds `FieldRange()` to the `Frame`, `View`, and
`Fragment` types. It accepts an operator & a predicate and
returns a bitmap of matching field values.
2017-08-01 14:44:53 -06:00
Travis
b91da2d0a4
Merge branch 'master' into input-definition 2017-07-26 14:44:31 -05:00
Travis
b6896482b9
move InternalPort config option out from under cluster and up to the root of Config 2017-07-24 17:28:23 -05:00
Michael Baird
1569c932ff Merge branch 'master' into input-definition 2017-07-18 14:51:15 -05:00
Ben Johnson
c55a405ac5 Merge pull request #721 from benbjohnson/618-pql-field-values
Add PQL support for field values.
2017-07-18 12:39:46 -06:00
Michael Baird
69e1372d4a clarified configuration error message on internal port mismatch. 2017-07-12 13:17:36 -05:00
Michael Baird
4b53ec1f9c const cluster types, and more validation tests 2017-07-11 14:17:06 -05:00
Michael Baird
9c561f4e4b string in slice, and contains substring in slice 2017-07-11 11:30:57 -05: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
32b46932e1 remove redundant errors from conflict 2017-07-03 10:32:20 -05:00
Michael Baird
7be458bfa6 Merge remote-tracking branch 'upstream/master' into input-definition
Conflicts:
	pilosa.go
2017-07-03 10:31:58 -05:00
Ben Johnson
800e3844f9
Set & retrieve field values.
This commit adds support for set/get field values at the
`Frame`, `View`, and `Fragment` levels.
2017-06-30 12:21:21 -06:00
Michael Baird
fb7e1091b5 field definitions require an action 2017-06-29 13:16:05 -05:00
Michael Baird
7abab7b795 Error ErrInputDefinitionValueMap 2017-06-29 11:23:36 -05:00
Michael Baird
6028b50b06 Validate incoming input definitions through the InputDefinitionInfo Validate rather than through Encode and piecemeal throughout the code. 2017-06-28 16:33:42 -05:00
Linh Vo
f701f9d273 handle actions in JSONparser 2017-06-27 16:28:17 -05:00
Linh Vo
1407a25008 fix reviews, more input definition tests 2017-06-27 12:36:02 -05:00
Linh Vo
7a3baed3ac resolve proto conflict 2017-06-22 15:20:18 -05:00
Ben Johnson
0107ddffea
BSI range-encoding schema support. 2017-06-21 08:53:30 -06:00
Linh Vo
c80bedb402 create input-definiton 2017-06-08 14:23:46 -05:00
Yuce Tekol
15853fb448
Fix name, label validation off by one error; added tests 2017-05-25 15:49:55 +03:00
Ben Johnson
d93ad0530a Merge pull request #503 from benbjohnson/prevent-matching-labels
Prevent row labels that match the column label.
2017-05-03 11:20:37 -06: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
Travis
b0fa067ffc
remove the ability to start an Index, Frame, ColumnLabel, or RowLabel with a number 2017-04-29 16:49:23 -05:00
Travis
692d997cab
add labelRegexp to validate row and column labels 2017-04-29 15:01:18 -05:00
Travis
77feba689d
remove the support for . in Index and Frame names 2017-04-29 14:38:14 -05:00
Cody Soyland
3996b56b88 Apply Apache License 2.0 2017-04-28 14:22:03 -05:00
Ben Johnson
0276c13cea
Prevent row labels that match the column label. 2017-04-28 12:59:39 -06:00
Michael Baird
d2a7869142 comment cleanup 2017-04-25 16:40:39 -05:00
Michael Baird
3512dd4549 missing comments 2017-04-25 14:15:02 -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
Ben Johnson
d34687121f
Rename bitmap/profile to row/column. 2017-04-21 21:23:24 -06:00
Ben Johnson
d32edb5329 Add cacheType to frame options.
Previously the cache type (`lru` or `ranked`) was determined by
checking the ending suffix of the frame. If it ended with a `.n`
then it was ranked. Otherwise it was an LRU.

This commit changes frames so that a `cacheType` option can be
passed in during creation to set either `lru` or `ranked`.
2017-04-18 08:24:58 -06:00
Ben Johnson
306cc0b64e Opt-in to inverse storage. 2017-04-12 08:34:31 -06:00
Ben Johnson
2731311378 Refactor higher level view interface. 2017-04-05 17:00:31 -06:00
Linh Vo
34b8f30c0d invalid name start with dot 2017-03-10 15:21:55 -06:00
Linh Vo
920b9d01e2 add . before meta frame 2017-03-10 15:21:54 -06:00
Linh Vo
756fc49be6 resolve conflict 2017-03-08 22:17:50 -06:00
Linh Vo
641832ae10 skip error when open invalid db/frame name 2017-03-07 21:48:59 -06:00
Matt Jaffee
0202c9b849 add float support to proto format
floating point attrs are now fully supported
2017-03-07 15:40:50 -06:00
Linh Vo
4e31d02979 wrap regexp in function 2017-03-06 12:31:51 -06:00
Linh Vo
c6a502efed fix review 2017-03-06 11:03:17 -06:00
Linh Vo
69cfdb0df9 clean up 2017-03-02 16:06:34 -06:00