SunnySaman commented on issue #12253:
URL: https://github.com/apache/iotdb/issues/12253#issuecomment-2029261280

   v0.13.3,  v1.3.0版本发现使用正则匹配 特殊字符 时 匹配结果不准确
   ```
   IoTDB> select log_info from root.fz4.di where log_info like '%~%' align by 
device ;
   +------------------------------+-----------+--------+
   |                          Time|     Device|log_info|
   +------------------------------+-----------+--------+
   |2024-04-01T06:29:50.693051973Z|root.fz4.di|  ces~hi|
   +------------------------------+-----------+--------+
   Total line number = 1
   It costs 0.009s
   
   IoTDB> select log_info from root.fz4.di where log_info regexp '^*~*' align 
by device ;
   +------------------------------+-----------+--------+
   |                          Time|     Device|log_info|
   +------------------------------+-----------+--------+
   |2024-04-01T06:29:45.790086438Z|root.fz4.di|   ceshi|
   |2024-04-01T06:29:50.693051973Z|root.fz4.di|  ces~hi|
   +------------------------------+-----------+--------+
   Total line number = 2
   It costs 0.009s
   
   
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to