Skip to content

Using simpleSqlParser for the following SELECT statement #22

@jhiemer

Description

@jhiemer

Hi,
I am currently trying to use the following statement for a influx DB query which fails because of different aspects

SELECT derivate(mean(value)) AS value FROM "this.is.a.crazy.table" WHERE time() > now - 10m AND host = "blabla" AND ip = "192.168.1.1" GROUP BY time(10s) LIMIT 5
  1. It seems that V2 of the parser does not like quoted table names "this.is.a.crazy.table"
  2. Where does not like the function time() > now - 10m
  3. The Group statement is also not parsed correctly with time(10s)

Are those things which maybe changed easily?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions