xiaozhihong created IOTDB-4417:
----------------------------------
Summary: Storage group node names should support dashes
Key: IOTDB-4417
URL: https://issues.apache.org/jira/browse/IOTDB-4417
Project: Apache IoTDB
Issue Type: Bug
Components: Core/Schema Manager
Affects Versions: 0.14.0-SNAPSHOT, 0.13.2
Reporter: xiaozhihong
Assignee: liaolanyu
The UserGuide mentions that the node name of the storage group only supports
the combination of Chinese and English characters, numbers, underscores and
dashes.
For example, {{root.存储组_1-组1}}
However, the currently created storage group contains a dashed line to give an
error message. Like this:
{code:java}
Starting IoTDB Cli
---------------------
_____ _________ ______ ______
|_ _| | _ _ ||_ _ `.|_ _ \
| | .--.|_/ | | \_| | | `. \ | |_) |
| | / .'`\ \ | | | | | | | __'.
_| |_| \__. | _| |_ _| |_.' /_| |__) |
|_____|'.__.' |_____| |______.'|_______/ version 0.14.0-SNAPSHOT
IoTDB> login successfully
IoTDB> set storage group to root.ln;
Msg: The statement is executed successfully.
IoTDB> set storage group to root.ln.wf01.wt01;
Msg: 903: root.ln has already been set to storage group
IoTDB> set storage group to root.存储组_1-组1
Msg: 401: Error occurred while parsing SQL to physical plan: line 1:31
mismatched input '-' expecting {<EOF>, ';'}
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)