You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/11/24 13:22:35 UTC

[GitHub] [iotdb] jixuan1989 commented on issue #4446: 当java接口insertRecord() measurement含"." 时 将无法使用sql指定查询该measurement的数据

jixuan1989 commented on issue #4446:
URL: https://github.com/apache/iotdb/issues/4446#issuecomment-977873699


   You must point out which version you are using.
   
   from v0.12 (I checked v0.12.2 and v0.12.3) on, iotdb will check the value of measurements and reject such requests:
   
   ```
   Exception in thread "main" org.apache.iotdb.rpc.StatementExecutionException: 313: failed to insert measurements [TL_JS06.R_50NeckTemp2] caused by TL_JS06.R_50NeckTemp2 is an illegal measurementId
   	at org.apache.iotdb.rpc.RpcUtils.verifySuccess(RpcUtils.java:85)
   	at org.apache.iotdb.rpc.RpcUtils.verifySuccessWithRedirection(RpcUtils.java:91)
   	at org.apache.iotdb.session.SessionConnection.insertRecord(SessionConnection.java:485)
   	at org.apache.iotdb.session.Session.insertRecord(Session.java:754)
   	at org.apache.iotdb.session.Session.insertRecord(Session.java:937)
   	at org.apache.iotdb.SessionExample.insertRecord(SessionExample.java:41)
   	at org.apache.iotdb.SessionExample.main(SessionExample.java:57)
   ```
   
   But the server-side has too detailed log, and this case will be fixed in https://issues.apache.org/jira/browse/IOTDB-2055
   


-- 
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: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org