Skip to content

Conversation

@karel-rehor
Copy link
Contributor

Closes #684

Proposed Changes

Fixes logic in check of marker for end of table in CSV stream. InfluxQLQueryApiImpl:129

Checklist

  • CHANGELOG.md updated
  • Rebased/mergeable
  • A test has been added if appropriate
  • mvn test completes successfully
  • Commit messages are conventional
  • Sign CLA (if not already signed)

Comment on lines 78 to 84
"\n" +
"name,tags,key\n" + //emulate SHOW SERIES response
",,temperature\n" +
",,\"pressure\"\n" +
",,humid\n" +
",,\"temperature,locale=nw002,device=rpi5_88e1\""
);
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add this as new test, something like testShowSeries. It will be better for future maintenance of InfluxQLQueryApiImplTest.java.

Copy link
Contributor

@bednar bednar left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@bednar bednar added this to the 7.1.0 milestone Apr 19, 2024
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 88.33%. Comparing base (08a530d) to head (7092ea4).

Files Patch % Lines
...influxdb/client/internal/InfluxQLQueryApiImpl.java 0.00% 0 Missing and 1 partial ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #704   +/-   ##
=========================================
  Coverage     88.33%   88.33%           
+ Complexity      779      777    -2     
=========================================
  Files           173      173           
  Lines          7078     7078           
  Branches        389      389           
=========================================
  Hits           6252     6252           
  Misses          699      699           
  Partials        127      127           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

Java client: SHOW SERIES return empty result

4 participants