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/02/23 07:17:15 UTC

[GitHub] [iotdb] HTHou edited a comment on issue #2722: Question; Path Constraints & Backslash

HTHou edited a comment on issue #2722:
URL: https://github.com/apache/iotdb/issues/2722#issuecomment-783963086


   Hi, could I know which version were you trying? 
   
   I tried to create timeseries with path `root.sg.d1."C:\"` on `0.12-snapshot` and got an error message `Msg: 315: The timeseries name contains unsupported character. root.sg.d1."C:\" is not a legal path`.
   
   I do know why this error thrown. We have a `ID_MATCHER` field in IoTDBConfig class. If the path node name doesn't match this, the creating will fail. 
   
   Also, antlr will check if the name is following the rule defined in SqlBase.g4 when create timeseries using JDBC api.
   
   BTW, the matcher and the antlr rule need to be updated indeed. 


----------------------------------------------------------------
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.

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