Hi everybody,
We defined some complex syntax in ordered to be compatible with the older 
version. We are trying to update the Syntax Convention Part in the next version 
of IoTDB. Below is a list of changes between new Syntax Convention and old 
Syntax Convention. 
Change list:
1. In quoted identifier, ` should be written as `` instead of \`. Also, in 
quoted identifier, ‘ and “ needs no special treatment and need not be doubled 
or escaped.
2. Identifier consists of digit is not allowed now. If you want to use 111 as 
an identifier, please quote it with ``, like `111`. ` will be a part of the 
quoted identifier, which means `identifier1` is not the same as identifier1.
3. Node name can not be quoted with ‘’ or “” now. If you want to use node name 
that contains special characters(including .), please quote it with ``.
4. String in IoTDB will not be unescaped. In the older version, if you insert 
data of Text type using SQL, it will be unescaped.
5. Alias can be both identifier and String now.
6. Role and User are identifiers now.
More details can be found at 
https://apache-iotdb.feishu.cn/docs/doccnjsAnItPKK6Wa80dI2dvykf#
Any comments would be much appreciated.
Best,
------------------------------------
Lanyu Liao
School of Software, NanJing University


廖兰宇
南京大学 软件学院

Reply via email to