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

Fix make_lines excludes fields with empty strings (#655) #766

Merged
merged 2 commits into from
Apr 10, 2020
Merged

Fix make_lines excludes fields with empty strings (#655) #766

merged 2 commits into from
Apr 10, 2020

Conversation

gregschrock
Copy link
Contributor

@gregschrock gregschrock commented Nov 11, 2019

Converting to unicode required something to be done with None values. They were
converted to empty strings which were subsequently ignored. This makes it
impossible to write an explicitly empty string, which should be possible. This
change distinguishes between None and empty strings.


Contributor checklist
  • Builds are passing
  • New tests have been added (for feature additions)

Converting to unicode required something to be done with None values. They were
converted to empty strings which were subsequently ignored. This makes it
impossible to write an explicitly empty string, which should be possible. This
change distinguishes between None and empty strings.
@sebito91 sebito91 self-assigned this Apr 8, 2020
Copy link
Contributor

@sebito91 sebito91 left a comment

Choose a reason for hiding this comment

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

Great contribution, thank you @gregschrock !

@sebito91 sebito91 merged commit 7d82f93 into influxdata:master Apr 10, 2020
sebito91 added a commit that referenced this pull request Apr 10, 2020
ocworld pushed a commit to AhnLab-OSS/influxdb-python that referenced this pull request Apr 13, 2020
…nfluxdata#766)

* Fix make_lines excludes fields with empty strings (influxdata#655)

Converting to unicode required something to be done with None values. They were
converted to empty strings which were subsequently ignored. This makes it
impossible to write an explicitly empty string, which should be possible. This
change distinguishes between None and empty strings.

* Fix linting failure due to long comment line

Co-authored-by: Greg Schrock <gschrock@128technology.com>
ocworld pushed a commit to AhnLab-OSS/influxdb-python that referenced this pull request Apr 13, 2020
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.

2 participants