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

Server should disallow tags with name "time" #1834

Closed
mark-rushakoff opened this issue Mar 3, 2015 · 3 comments
Closed

Server should disallow tags with name "time" #1834

mark-rushakoff opened this issue Mar 3, 2015 · 3 comments

Comments

@mark-rushakoff
Copy link
Contributor

Those fields have special meaning to the database. Currently if a series has a tag named "id", the output of show series has two columns named "id":

{
    "results": [
        {
            "series": [
                {
                    "name": "random_measurement_0",
                    "columns": ["id","foo","host","id","region","time"],
                    "values": [
                        [1293,"bar6","server6","id_9","west","time_2"]
                    ]
                }
            ]
        }
    ]
}
@pauldix
Copy link
Member

pauldix commented Mar 3, 2015

I would expand this to say it should disallow tags and fields with those names. Also, it should disallow a field named tags

@nemesifier
Copy link

👍 ran into an issue for this

@beckettsean beckettsean added this to the Next Point Release milestone Apr 20, 2015
@beckettsean beckettsean modified the milestones: Next Point Release, Longer term Aug 6, 2015
@beckettsean beckettsean modified the milestones: Future Point Release, Longer term Sep 17, 2015
@jsternberg
Copy link
Contributor

I don't think this is an issue for "id" anymore, but it's definitely still an issue for "time". Any entry for "time" is unqueryable.

@jsternberg jsternberg self-assigned this Aug 1, 2016
@jsternberg jsternberg modified the milestones: 1.1.0, Future Point Release Aug 1, 2016
@jsternberg jsternberg changed the title Server should disallow tags with name "time" or "id" Server should disallow tags with name "time" Aug 1, 2016
mark-rushakoff pushed a commit that referenced this issue Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants