Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[influxdb] Fix queries with InfluxDB 2.0 with data migrated from InfluxDB1 without item tags #10937

Merged
merged 1 commit into from
Jul 6, 2021

Conversation

lujop
Copy link
Contributor

@lujop lujop commented Jul 4, 2021

Fixes bug in queries with InfluxDB 2.0 that had data migrated from InfluxDB 1.0 with old versions of the addon that didn't put item tag name.

In that case, the result contained several group keys and could give bad results, for example in sort queries like deltaSince that failed because sort was applied per series and not for all the results.

Completes work done on #10888 to cover all casuistic.

There isn't any open issue but the problem was commented on in that thread
https://community.openhab.org/t/influx-db2-openhab-3-1m5-deltasince-start-of-day-not-working-when-lines-without-item-name-in-database-from-openhab-2-5/123546/26

@lujop lujop added the bug An unexpected problem or unintended behavior of an add-on label Jul 4, 2021
@fwolter fwolter merged commit 26258e8 into openhab:main Jul 6, 2021
@fwolter fwolter added this to the 3.2 milestone Jul 6, 2021
computergeek1507 pushed a commit to computergeek1507/openhab-addons that referenced this pull request Jul 13, 2021
frederictobiasc pushed a commit to frederictobiasc/openhab-addons that referenced this pull request Oct 26, 2021
thinkingstone pushed a commit to thinkingstone/openhab-addons that referenced this pull request Nov 7, 2021
marcfischerboschio pushed a commit to bosch-io/openhab-addons that referenced this pull request May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants