作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我是 InfluxDB 的新手。
我用时间序列数据填充了流入测量
我有以下测量点
time,host,interface,value
2/11/2019 12:03:08 AM,XYZ_test ,gigabitethernet8/43,"292724"
最佳答案
使用它,您应该能够将值从浮点数转换为整数。SELECT column_name::integer FROM table_name
您可以在此处引用 InfluxDB 文档,
https://docs.influxdata.com/influxdb/v1.7/query_language/data_exploration/#cast-float-field-values-to-integers
编辑:
但是,不支持将字符串转换为整数。
关于influxdb - 流入QL : Influx DB conversion of a field from String to integer,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54672053/
我是一名优秀的程序员,十分优秀!