如何设置具有数字集的Apache IoTDB的根名称?

huangapple go评论50阅读模式
英文:

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".

huangapple
  • 本文由 发表于 2023年6月12日 19:08:55
  • 转载请务必保留本文链接:https://go.coder-hub.com/76456062.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定