Skip to content

Allow only non null values to flow to influxDB#638

Merged
majst01 merged 2 commits intoinfluxdata:masterfrom
maanasa:nullchecksinpojo
Nov 22, 2019
Merged

Allow only non null values to flow to influxDB#638
majst01 merged 2 commits intoinfluxdata:masterfrom
maanasa:nullchecksinpojo

Conversation

@maanasa
Copy link
Copy Markdown
Contributor

@maanasa maanasa commented Nov 22, 2019

InfluxDB does not allow null values for tags or fields. When null is propagated to influx, it throws an exception and the data is lost. To avoid this populate the Builder with only non null values.

InfluxDB does not allow null values for tags or fields. When null is propagated to influx, it throws an exception and the data is lost. To avoid this populate the Builder with only non null values.
Adding space after if
@codecov-io
Copy link
Copy Markdown

codecov-io commented Nov 22, 2019

Codecov Report

Merging #638 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #638      +/-   ##
============================================
+ Coverage     88.06%   88.07%   +<.01%     
  Complexity      718      718              
============================================
  Files            69       69              
  Lines          2471     2473       +2     
  Branches        259      261       +2     
============================================
+ Hits           2176     2178       +2     
  Misses          207      207              
  Partials         88       88
Impacted Files Coverage Δ Complexity Δ
src/main/java/org/influxdb/dto/Point.java 92.34% <100%> (+0.07%) 48 <0> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ffa2fe2...6afc6ad. Read the comment docs.

@majst01 majst01 merged commit 5cdc9e3 into influxdata:master Nov 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants