Thanks to visit codestin.com
Credit goes to github.com

Skip to content

SOS not handling metrics with a 'dash' correctly #101

@bschwal

Description

@bschwal

I have a metric with a dash in it (power_meter-thing) out of filesingle. I cannot query this metric appropriately as I get these errors:

Error 4: "query_select_1: The 'power_meter' attribute was not found in any schema in the 'from' clause.

or if I put quotes (double or single) around the metric:

Error 8: "query_select_1: Expected 'select', 'from', 'where', or 'order_by', but found 'power_meter-thing'"

We really need some documentation around query capabilities for DSOS. I'm not sure what the 'dash' is used for in the query language but putting logic to accept quotes or some syntax around a metric to prevent this issue seems reasonable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions