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

fix(pkg/csv2lp): do not override existing line part in group annotation #19466

Merged
merged 2 commits into from
Sep 12, 2020

Conversation

sranka
Copy link
Contributor

@sranka sranka commented Aug 31, 2020

Closes #19452

This PR ensures that the #group annotation cannot override the existing line part (measurement, field, tag, time) of a CSV column if it is already set. It also means that all dateTime columns (including _start, _stop from flux query results) cannot become tags with #group annotation, since dateTime columns automatically have time line part.

@sranka sranka marked this pull request as ready for review August 31, 2020 06:23
@russorat russorat requested a review from glinton September 1, 2020 16:19
@sranka sranka merged commit 2c32938 into master Sep 12, 2020
@jacobmarble jacobmarble deleted the 19452/csv2lp branch January 2, 2024 22:51
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.

influx write csv should ignore _start, _stop columns
2 participants