Skip to content

feat: Bubble error up to writer if fields are dropped (#26998)#27268

Merged
devanbenz merged 2 commits intomain-2.xfrom
db/cherrypick-1b29570499
Mar 5, 2026
Merged

feat: Bubble error up to writer if fields are dropped (#26998)#27268
devanbenz merged 2 commits intomain-2.xfrom
db/cherrypick-1b29570499

Conversation

@devanbenz
Copy link
Copy Markdown

@devanbenz devanbenz commented Mar 5, 2026

Modify WritePoints to return an error if a user defined time field is inserted. Previously we would silently prune it, this PR will bubble an error up to the writer to inform that a field was dropped but not the entire point.

(cherry picked from commit 362217b) (cherry picked from commit 1b29570)

Modify `WritePoints` to return an error if a user defined `time` field is inserted. Previously we would silently prune it, this PR will bubble an error up to the writer to inform that a field was dropped but not the entire point.

(cherry picked from commit 362217b)
(cherry picked from commit 1b29570)
@devanbenz devanbenz requested a review from davidby-influx March 5, 2026 19:33
@devanbenz devanbenz self-assigned this Mar 5, 2026
@devanbenz devanbenz added area/writes area/influxql Issues related to InfluxQL query language area/2.x OSS 2.0 related issues and PRs labels Mar 5, 2026
@devanbenz
Copy link
Copy Markdown
Author

#27006

@devanbenz devanbenz linked an issue Mar 5, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

@davidby-influx davidby-influx left a comment

Choose a reason for hiding this comment

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

LGTM as a cherry-pick.

@devanbenz devanbenz merged commit 9a0b63b into main-2.x Mar 5, 2026
25 checks passed
@devanbenz devanbenz deleted the db/cherrypick-1b29570499 branch March 5, 2026 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/influxql Issues related to InfluxQL query language area/writes area/2.x OSS 2.0 related issues and PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[2.x] Backport: Bubble error up to writer if fields are dropped

2 participants