Ben Johnson
490a8cb0e7
Support keys on import CLI.
2018-07-16 16:11:30 +01:00
Cody Soyland
eea29f664f
Unexport ctl.ImportCommand.Client
2018-07-05 23:11:56 -05:00
Cody Soyland
f9a792ea49
Unexport ctl.ImportCommand.IndexOptions
2018-07-05 23:11:56 -05:00
Cody Soyland
7185c0f791
Unexport ctl.CommandClient
2018-07-05 23:11:56 -05:00
Travis Turner
5dd7a9556a
rename slice to shard
2018-06-28 14:07:07 -05:00
Travis Turner
028e95d914
Allow a single functional option for field options.
...
Move field type specific validation to functional options.
2018-06-26 10:37:56 -05:00
Travis Turner
50794bf63b
move fieldOptions unmarshal to the handler
...
validate fieldOptions in http package
2018-06-25 15:14:22 -05:00
Cody Soyland
f2c104dfef
Migrate HTTP handler and client into http subpackage.
2018-06-12 13:22:40 -05:00
Travis Turner
2a9b1e9e5b
final Frame to Field rename
2018-06-06 01:27:12 -05:00
Travis Turner
6dbe80350f
GoRename Frame to Field in client.go
2018-06-05 23:02:15 -05:00
Travis Turner
3531c128c4
GoRename Frame to Field in index.go
2018-06-05 22:33:48 -05:00
Travis Turner
1d3c4d6fcb
first pass at GoRename Frame to Field in frame.go
2018-06-05 17:52:22 -05:00
Travis Turner
80d656ae9c
final removal of field instances
2018-06-05 16:56:16 -05:00
Travis Turner
96208283df
remove final instances of Field
2018-06-05 16:38:29 -05:00
Travis Turner
0d44e586cc
remove field flag from pilosa import command
2018-06-05 16:14:26 -05:00
Travis Turner
2111a3d521
more Field removal/rename
2018-06-05 11:13:51 -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
fb7bf11825
Bit -> Column migration
2018-05-23 15:05:22 -05:00
Alan Bernstein
f5a4fd82b1
Wrap errors in ctl/*.go
2018-05-08 17:10:36 -05:00
Matthew Jaffee
876ed56e30
move pilosa.Config to pilosa/server.Config
...
step 1 of #1203
The Config object is really just a specification of the options to pilosa
server, so it makes sense to have it in that package.
2018-04-19 14:51:42 -05:00
Travis Turner
d8559ae469
refactor to remove BitK (in favor of Bit)
2018-01-22 15:35:10 -06:00
Travis Turner
a56410a70b
WIP: Modify pilosa import to support string rows/columns
...
This PR adds a flag `pilosa import --string-keys=true` which treats the
payload CSV as comma separated strings.
2018-01-22 15:34:45 -06:00
Cody Soyland
27748259a2
Fix field value import: Use signed int and respect field minimum. Fixes #875
2017-10-31 13:32:26 -05:00
Yuce Tekol
e201afe241
Replaced all http.Clients with InternalClient; updated InternalClient interface.
2017-10-17 15:53:42 +03:00
Yuce Tekol
aa8cbe8ae3
Add TLS support for commands
2017-10-11 08:30:11 +03:00
Yuce Tekol
3501732b19
https with signed certificates work
2017-10-08 21:11:19 +03:00
Travis
01fa368c6a
Import FieldValues
...
This PR adds the ability to import field values into RangeEnabled frames
using the `pilosa import` command.
Example:
```
pilosa import -i i -f f --field foo sample-vals.csv
```
imports data from sample-vals.csv, which contains data in the format:
```
[ColumnID, Value]
```
Also fixes a bug where `frame.rangeEnabled` was not being set on frame creation.
2017-09-27 11:43:10 -05:00
Yuce Tekol
ad05938a5e
Enables auto-creating the schema on imports; Resolves #765
2017-09-22 14:56:36 +03:00
Ben Johnson
1c34ea7f8f
Add sorting flag to import command.
2017-06-08 11:00:02 -06:00
Linh Vo
a79e170256
more ctl tests
2017-05-29 13:41:23 -10:00
Cody Soyland
3996b56b88
Apply Apache License 2.0
2017-04-28 14:22:03 -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
Travis
dcaf7617de
changed some json tag names to Lower Camel Case to be consistent with the rest
2017-04-19 14:01:46 -05:00
Matt Jaffee
176861d702
add embedded struct to contain io for commands
...
per @tgruben's suggestion
2017-03-17 16:43:04 -05:00
Matt Jaffee
59bbd583d7
Merge branch '273-use-subcommands'
2017-03-07 13:19:18 -06:00
Matt Jaffee
e349dca06a
move import to subcommand
2017-03-03 14:11:12 -06:00