taosdata / TDengine

TDengine is an open source, high-performance, cloud native time-series database optimized for Internet of Things (IoT), Connected Cars, Industrial IoT and DevOps.

Home Page:https://tdengine.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VARCHAR类型写入数据部分内容乱码。

wild-River2016 opened this issue · comments

Bug Description
TDengine使用docker安装
通过restful使用influxdb行协议,写入数据,数据首部部分内容变成乱码

To Reproduce
Steps to reproduce the behavior:

  1. 调用restful接口,写入数据
    数据内容:
    device_log_8474842662934246888,deviceId=343242343432 content="{"headers":{"deviceName":"美的空调-A01","productId":"8474842662934246888","_uid":"1784505589867134976"},"messageType":"REPORT_PROPERTY","deviceId":"343242343432","properties":{"temp":36.8},"timestamp":1714294261790}",createTime=1714294261791.0,id="1784505589867134977",timestamp=1714294261790.0,type="reportProperty" 1714294676790000000
    image
    image
  2. 第一条数据写入时,数据正常。开始写入第二条之后,数据出现乱码。
    image

Screenshots
If applicable, add screenshots to help explain your problem.
TDengine配置文件中已经配置
1fb03358a852cce674e5de6971d5e1e
采用自动建表的方式,字段类型如下
image

Environment (please complete the following information):

  • OS: [e.g. CentOS 7.0]
    CentOS Linux release 7.9.2009 (Core)

  • Memory, CPU, current Disk Space
    内存如下:
    image
    CPU如下:
    image
    磁盘如下:
    image

  • TDengine Version
    4.2.3.0