问题描述
如果我的数据(从概念上来说)是:
If my data (conceptually) is:
# a b c
-------
1 1 1
2 1 1 0
3 1 0 1
然后使用旧版SQL语言,则语句应为:
Then in legacy SQL language, the statement would be:
select * from table where b is null
我在InfluxDB查询语言文档中找不到类似的情况.
I cannot find a similar condition within the InfluxDB Query Language documentation.
我正在处理一列中可能有数字值的数据,并且我想选择此列为空/空的记录.由于这些是整数,因此它们似乎根本无法与匹配的正则表达式一起使用,因此类似 where!〜/.*/
的东西.
I am working with data where there is optionally a numeric value in a column, and I want to select records where this column is empty/null. Since these are integers, they appear not to work with the matching regexes at all, so something like where !~ /.*/
is out.
推荐答案
您无法搜索空值在InfluxDB 将无法在Influx> = 0.9
You cannot search for nulls in InfluxDB <0.9. You will not be able to insert nulls in Influx >=0.9
这篇关于从InfluxDB中选择,其中value为null的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!