You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yu285
changed the title
基于InfluxDB 行协议通过无模式写入,VARCHAR类型字段,部分内容乱码
use InfluxDB line protocol to write to TDengine. VARCHAR fields contain garbled characters
Apr 29, 2024
问题描述
TDengine通过docker安装
使用restful基于influxdb行协议通过无模式写入,自动创建数据表和字段。相同方式有些表内容正常,没有乱码。有些表的字段部分内容为乱码。
复现过程:
Steps to reproduce the behavior:
调用restful接口,通过无模式写入,自动建表与字段
数据内容:
device_log_8111729689050682011,deviceId=7565654654545 content="{"headers":{"deviceName":"网关子设备-数据乱码测试","productId":"8111729689050682011","_uid":"1784458041063751681"},"messageType":"REPORT_PROPERTY","deviceId":"7565654654545","properties":{"temp":36.8},"timestamp":1714282925207}",createTime=1714282925488.0,id="1784458041965527040",timestamp=1714282925207.0,type="reportProperty" 1714282939917000000
查看数据字段类型与内容。第一条数据写入时,数据正常。开始写入第二条之后,数据中首部出现乱码。
相关排查说明:
TDengine配置文件中已经配置
通过手动指定字段类型为VARCHAR,然后通过相同方式写入数据,数据没有乱码。
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
OS: []
CentOS Linux release 7.9.2009 (Core)
Memory, CPU, current Disk Space
内存如下:
磁盘如下:
TDengine Version
3.2.3.0
The text was updated successfully, but these errors were encountered: