英文:
How to set the root name of Apache IoTDB that has number sets in it?
问题
文档说:在版本1.0中,未用反引号引用的标识符不能是实数,只能包含字母、字符和下划线。我想知道是否有一个名为root.SG001.12345678910.TEST DEVICE
的根名称,这个设备名称是否合法?
对于数字部分,是否需要添加反引号?
英文:
I have a question when I am reading official guide of Apache IoTDB. The document says: In Version 1.0, identifiers quoted without backticks are not allowed to be real numbers, and are only allowed to contain letters, characters, and underscores. I wonder if there is a root name called root.SG001.12345678910.TEST DEVICE
, is this device name illegal?
For the number part, do I need to add backticks?
答案1
得分: 0
是的,您需要在Apache IoTDB中的此根名称上添加反引号。但是,只有连续的数字部分需要添加反引号,因此合法的名称将会是:"root.SG001.12345678910
.TEST DEVICE"。
英文:
Yes, you need to add backticks to this root name in Apache IoTDB. However, only the continuous number part needs to add backticks, so the legal name will be like: "root.SG001.12345678910
.TEST DEVICE".
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论