【发布时间】:2023-03-24 04:42:01
【问题描述】:
我正在使用 Grafana mysql 数据连接器并尝试编写选择查询。
选择查询抛出错误 - "Found no column named time or time_sec"
Here is the query
SELECT main_id, ipaddress FROM table1;
【问题讨论】:
标签: mysql grafana grafana-templating grafana-variable
我正在使用 Grafana mysql 数据连接器并尝试编写选择查询。
选择查询抛出错误 - "Found no column named time or time_sec"
Here is the query
SELECT main_id, ipaddress FROM table1;
【问题讨论】:
标签: mysql grafana grafana-templating grafana-variable
【讨论】:
complete_dt 列如下:SELECT main_id, ipaddress, complete_dt, UNIX_TIMESTAMP(complete_dt) as time_sec FROM table1 p where p.complete_dt >= '2017-10-01'; 我现在遇到错误:Value column must have numeric datatype, column: complete_dt type: time.Time value: 2019-01-02 07:42:52 +0000 UTC