Merge pull request #10201 from lafirest/fix/tdengine

fix(tdengine): remove the redundant table name in SQL template
This commit is contained in:
lafirest 2023-04-03 18:13:41 +08:00 committed by GitHub
commit 9c7c49e9bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View File

@ -0,0 +1 @@
In TDengine, removed the redundant database name from the SQL template.

View File

@ -0,0 +1 @@
在 TDengine 桥接的 SQL 模板中,删除了多余的数据库表名。

View File

@ -22,7 +22,7 @@
]).
-define(DEFAULT_SQL, <<
"insert into mqtt.t_mqtt_msg(ts, msgid, mqtt_topic, qos, payload, arrived) "
"insert into t_mqtt_msg(ts, msgid, mqtt_topic, qos, payload, arrived) "
"values (${ts}, ${id}, ${topic}, ${qos}, ${payload}, ${timestamp})"
>>).