taosdata / TDengine

High-performance, scalable time-series database designed for Industrial IoT (IIoT) scenarios
https://tdengine.com
GNU Affero General Public License v3.0
23.42k stars 4.87k forks source link

使用字符串函数 REPLACE 时提示语法错误 #28930

Closed gonvee closed 55 minutes ago

gonvee commented 15 hours ago

Bug Description

按照官方文档示例使用REPLACE函数时提示语法错误。

taos> select replace('aabbccAABBCC', 'AA', 'DD');

DB error: syntax error near "replace('aabbccAABBCC', 'AA', 'DD');" (0.000269s)

Environment (please complete the following information):

yu285 commented 55 minutes ago

这是 3.3.3.0 支持的函数,直接升级到最新版 3.3.4.3 吧,各方面体验都更好