Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Import field value #840

Merged
merged 6 commits into from
Sep 27, 2017

Conversation

travisturner
Copy link
Member

Overview

Adds the ability to import FieldValue (BSI) data via the pilosa import command.

Pull request checklist

Code review checklist

This is the checklist that the reviewer will follow while reviewing your pull request. You do not need to do anything with this checklist, but be aware of what the reviewer will be looking for.

  • Ensure that any changes to external docs have been included in this pull request.
  • If the changes require that minor/major versions need to be updated, tag the PR appropriately.
  • Ensure the new code is properly commented and follows Idiomatic Go.
  • Check that tests have been written and that they cover the new functionality.
  • Run tests and ensure they pass.
  • Build and run the code, performing any applicable integration testing.

client_test.go Outdated
@@ -286,6 +286,53 @@ func TestClient_ImportInverseEnabled(t *testing.T) {
}
}

// Ensure client can bulk import value data.
func TestClient_Importalue(t *testing.T) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ImportValue*

travisturner and others added 5 commits September 27, 2017 11:43
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.
@travisturner travisturner merged commit b9103e9 into FeatureBaseDB:master Sep 27, 2017
@travisturner travisturner deleted the import-field-value branch September 27, 2017 16:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants