Hi, I'm now trying to fix this issue in PR #516 [1]. As for the example in this issue, current error for statement: "CREATE TIMESERIES root.mi.d1.RANDOM_foo:BYTE WITH DATATYPE=INT32, ENCODING=RLE” would be: "Statement format is not right: parsing error,statement: CREATE TIMESERIES root.sg1.d1.RANDOM_foo:BYTE WITH DATATYPE=INT64, ENCODING=RLE .message:line 1:40 character ':' not supported here."
Besides, I reduce the struct for TSStatusCode by deleting “statusMessage” and only keeping “statusCode”, because the detailed message is already given previously and may not need a repeated summary. If you have more advice about the Status Code, please discuss with me. [1] https://github.com/apache/incubator-iotdb/pull/516 Best, ----------------------------------- Zesong Sun School of Software, Tsinghua University 孙泽嵩 清华大学 软件学院 > 2019年11月1日 22:05,xiangdong Huang (Jira) <[email protected]> 写道: > > xiangdong Huang created IOTDB-288: > ------------------------------------- > > Summary: Unclear error message notification for "creating > timeserie" clause > Key: IOTDB-288 > URL: https://issues.apache.org/jira/browse/IOTDB-288 > Project: Apache IoTDB > Issue Type: Bug > Reporter: xiangdong Huang > > > While I am trying to create a time series whose sensor name is > "RANDOM/foo:BYTE", the create timeseries clause failed, because we do not > support the characters of "/" and ":" in a path. > > However, I can not get the above info, the error message (on the client side) > just says: > > Meet error while parsing SQL: Statement format is not right: parsing > error,statement: CREATE TIMESERIES root.mi.d1.RANDOM_foo:BYTE WITH > DATATYPE=INT32, ENCODING=RLE. > > > > While on the server side, you can find the error info: > > Caused by: org.apache.iotdb.db.sql.parse.ParseException: line 1:39 character > ':' not supported here > > > > > > -- > This message was sent by Atlassian Jira > (v8.3.4#803005)
