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: json_v2 parser timestamp setting #10221

Merged
merged 1 commit into from
Dec 6, 2021

Commits on Dec 6, 2021

  1. fix: json_v2 parser timestamp setting

    The json_v2 parser does a carterisan product during parsing. As part of
    this product, it will attempt to merge metric fields and tags. However,
    timestamps are not part of this merge process. In the current state,
    the custom timestamp will always get overriden if the timestamp field is
    the last value in the JSON.
    
    Adds a test and does modify one of the tests, which produces the exact
    same metrics, but in a slightly different order.
    
    Resolves: influxdata#10160
    powersj committed Dec 6, 2021
    Configuration menu
    Copy the full SHA
    867dfff View commit details
    Browse the repository at this point in the history