Commit graph

49 commits

Author SHA1 Message Date
Travis Turner
b2b0fd081a
Remove ColumnLabel support 2018-03-26 15:35:56 -05:00
Travis Turner
c9886b049b
Merge branch 'master' into cluster-resize working branch. 2017-12-04 22:18:57 -06:00
Yuce Tekol
f756e9eee6
Updates 2017-11-14 19:15:17 +03:00
Yuce Tekol
7a5459da73
input defs: Throw an error if pirmary key is not given instead of adding it auto. 2017-11-11 00:49:37 +03:00
Yuce Tekol
83be24f4d2
Removes column/row labels for input definition. Resolves #810 2017-11-10 18:00:45 +03:00
Travis Turner
2bd0677df9
Remove MaxSlice polling.
Add Schema to proto.
Update MaxSlices in proto to include both standard and inverse.
Update LocalStatus (shared in gossip) to include MaxSlices and Schema.
Encode InputDefinitions with Index.

TODO:
- make sure InputDefinitions are considered in LocalStatus merge.
- decide what to do about `/slices/max` endpoint. client.backup is using
  it.
2017-10-26 23:48:40 -05:00
Linh Vo
dacaf91ab4 clearer comment on InputSetTimestamps 2017-09-05 10:29:32 -05:00
Linh Vo
98c22d8eb3 add comment for settimestamp action 2017-09-05 09:56:10 -05:00
Linh Vo
9fc308925b fix rowID=0 bug 2017-09-01 16:49:04 -05:00
Michael Baird
7333e27392 refactor Input Data GetTimeStamp functionality into a method (#1)
* refactor Input Data GetTimeStamp functionality into a method

* Comment time format tests
2017-07-07 09:16:02 -05:00
Linh Vo
0f9f860624 update timestamp for whole frame 2017-07-06 12:10:43 -05:00
Linh Vo
ea3e71f78d update adding timestamp 2017-07-06 09:44:12 -05:00
Linh Vo
0a22386a58 add action to handle timestamp 2017-07-05 15:30:21 -05:00
Michael Baird
64ed6f7815 action length test 2017-06-29 13:36:04 -05: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
c47fffebd3 find string in slice 2017-06-29 11:11:53 -05:00
Michael Baird
3e2bbc3717 require fields and frames in definition 2017-06-29 08:50:53 -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
Travis
e4c71ff1ed
refactor some of the input defintion logic to better utilize Encode() 2017-06-28 13:46:41 -05:00
Linh Vo
de42e3edc7 rebase input-definition 2017-06-27 16:31:48 -05:00
Michael Baird
3ac40a4a5f cleanup type detection for consistency 2017-06-27 16:30:59 -05:00
Michael Baird
453e5417f8 removed float64 check in single row boolean 2017-06-27 16:30:59 -05:00
Michael Baird
3594eb9abd Prefaced validValueDestination values
Code cleanup
2017-06-27 16:30:36 -05:00
Linh Vo
8653154dee merge handleAction 2017-06-27 16:29:10 -05:00
Linh Vo
f701f9d273 handle actions in JSONparser 2017-06-27 16:28:17 -05:00
Linh Vo
f6e82fc525 update definition validation 2017-06-27 16:22:47 -05:00
Travis
904552b289
adjusted some of the InputDefinition comments 2017-06-26 17:39:58 -05:00
Linh Vo
53c7e5946d validate columnID match primaryField 2017-06-23 14:39:52 -05:00
Linh Vo
9229d772e9 change Field to InputDefinitionField 2017-06-22 15:18:37 -05:00
Linh Vo
aa2cc13a9c change Action to InputDefinitionAction in proto 2017-06-22 14:55:29 -05:00
Linh Vo
13b32b0b10 check SingleRowBool for duplicate rowID 2017-06-22 14:12:16 -05:00
Linh Vo
8a0609f1fd handle nil rowID 2017-06-22 11:11:36 -05:00
Linh Vo
56c16e923a add frame required in action 2017-06-21 14:53:01 -05:00
Linh Vo
9fd1de8f29 handle nil rowID 2017-06-21 14:38:04 -05:00
Linh Vo
e0bf37da40 check same rowID for same frame in actions 2017-06-20 21:37:27 -05:00
Linh Vo
6d12478e6b add validation for input definition fields 2017-06-20 12:12:49 -05:00
Linh Vo
568320ec6d fix reviews and add more test 2017-06-19 11:37:01 -05:00
Michael Baird
b7ac8eda71 add comments 2017-06-16 14:33:33 -05:00
Michael Baird
64b51f3bc3 Use the internal.inputdefinition object for broadcasting to other nodes. Create encoding methods to translate the JSON request to create a definition. 2017-06-15 23:45:19 -05:00
Linh Vo
e72e3dc436 more handle tests 2017-06-15 00:39:21 -05:00
Michael Baird
00dec45e58 Input definition "Fields" parameter name is consistent throughout now. 2017-06-14 14:23:25 -05:00
Linh Vo
ea53216ff2 expose input definition frames, fields 2017-06-12 23:43:03 -05:00
Linh Vo
1c2adda8e9 create frames with input-definition's creation 2017-06-12 16:23:40 -05:00
Linh Vo
a62ec47eec load input-definition when startup servers 2017-06-12 15:04:27 -05:00
Linh Vo
fdacca3147 save inputdefinition as protobuf to file 2017-06-12 00:11:20 -05:00
Linh Vo
7c28e2c3f3 InputFrame struct 2017-06-09 10:27:11 -05:00
Linh Vo
8ca7c3b229 create input-defintion file 2017-06-08 15:48:00 -05:00
Linh Vo
c80bedb402 create input-definiton 2017-06-08 14:23:46 -05:00