Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Parse column names in a dataframe to avoid breaking the line protocol #584

Merged
merged 12 commits into from
May 8, 2018

Conversation

dmuiruri
Copy link
Contributor

@dmuiruri dmuiruri commented May 3, 2018

If a dataframe contains spaces in the column names i.e tags and field keys, the spaces cause an error when the line protocol is applied, the spaces are however well handled when the protocol applied is json.

This is a fix to issue #583 .

@aviau
Copy link
Collaborator

aviau commented May 3, 2018

Please add a test for whatever you are trying to fix

@dmuiruri
Copy link
Contributor Author

dmuiruri commented May 4, 2018

Is there a possibility to test against a previous release i.e one without the fix, just to see if the test case would catch the error

@aviau
Copy link
Collaborator

aviau commented May 4, 2018

Yes, you can test against a previous release by undoing your code and running the test.

@dmuiruri
Copy link
Contributor Author

dmuiruri commented May 5, 2018

Something seems to be going wrong on the server side :

ERROR: flake8: commands failed

@dmuiruri
Copy link
Contributor Author

dmuiruri commented May 5, 2018

Build still fails due to what seems like flake8 environment issues on the server side.

@dmuiruri
Copy link
Contributor Author

dmuiruri commented May 7, 2018

Any ideas how to resolve the flake8 errors?

@xginn8
Copy link
Collaborator

xginn8 commented May 7, 2018

@dmuiruri i'll take a look at the failing flake8 run.

@xginn8
Copy link
Collaborator

xginn8 commented May 8, 2018

Thanks for contributing!

@xginn8 xginn8 merged commit ed4561b into influxdata:master May 8, 2018
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