xiaozhihong created IOTDB-6070:
----------------------------------
Summary: [UserGuide]Suggested additional instructions on the use
of backquotes for special characters
Key: IOTDB-6070
URL: https://issues.apache.org/jira/browse/IOTDB-6070
Project: Apache IoTDB
Issue Type: Improvement
Reporter: xiaozhihong
Assignee: liaolanyu
It is recommended that the use of special characters such as false,true,null,*
be added to the userguide.
Currently, when creating and inserting values, column names can be created
without a pair of back quotes.
But when querying, you need to add backquotes.
Like this:
{code:java}
IoTDB> create timeseries root.vbs.d1.false with datatype=INT32,encoding=rle;
Msg: The statement is executed successfully.
IoTDB> insert into root.vbs.d1(time,false) values(1,1);
Msg: The statement is executed successfully.
IoTDB> select false from root.vbs.d1;
Msg: 701: Constant operand is not allowed: false
IoTDB> select `false` from root.vbs.d1;
+-----------------------------+-----------------+
| Time|root.vbs.d1.false|
+-----------------------------+-----------------+
|1970-01-01T08:00:00.001+08:00| 1|
+-----------------------------+-----------------+
Total line number = 1
It costs 0.151s
IoTDB> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)