Influxdb 当添加逻辑或条件时,XDB不返回任何结果

Influxdb 当添加逻辑或条件时,XDB不返回任何结果,influxdb,influxql,Influxdb,Influxql,我尝试使用以下XDB查询,其中包含时间和字段值两个条件,但它不返回任何结果: > select * from something where (time > 1 and time < 20000) or (def > 999) 但是,当我删除最后一个条件时,将返回我的测量值: > select * from something where (time > 1 and time < 20000) name: something time abc def

我尝试使用以下XDB查询,其中包含时间和字段值两个条件,但它不返回任何结果:

> select * from something where (time > 1 and time < 20000) or (def > 999)
但是,当我删除最后一个条件时,将返回我的测量值:

> select * from something where (time > 1 and time < 20000)
name: something
time  abc def id
----  --- --- --
10000 444 555 123
这是XDB中的错误,还是我做错了什么?我在文档中找不到任何东西表明时间和现场条件不能结合在一起。。。我已尝试从1.7升级到1.8

要亲自尝试这一点:

$ influx
Connected to http://localhost:8086 version 1.8.0
InfluxDB shell version: 1.8.0
> drop database testdb
> create database testdb
> use testdb
Using database testdb
> insert something,id=123 abc=444i,def=555i 10000
> select * from something where (time > 1 and time < 20000) or (def > 999)

看来你的时间专栏有点问题。尝试从abc='444'或def='555'是def标记或字段的地方选择*?我遇到了相同的问题,并提出了一个问题:似乎您的时间列有一些问题。请尝试从abc='444'或def='555'是def标记或字段的地方选择*?我遇到了相同的问题,并打开了一个问题: