We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用的是0.10版本。 在已有的timeries(root.ln.device1.s1)下再创建一个timeries,如root.ln.device1.s1.signal_value。在jdbc和cli下出现不同的结果。 1)JDBC下这么运行后 ,会造成服务卡死。打印的错误日志: java.lang.ClassCastException: org.apache.iotdb.db.metadata.mnode.LeafMNode cannot be cast to org.apache.iotdb.db.metadata.mnode.InternalMNode
2)Cli下能成功执行,但是会将root.ln.device1.s1同级的timeries都屏蔽了,结果如下图: IoTDB> show timeseries root.ln +-------------+-----+-------------+--------+--------+-----------+ | timeseries|alias|storage group|dataType|encoding|compression| +-------------+-----+-------------+--------+--------+-----------+ |root.ln.jgy.1| null| root.ln| FLOAT| GORILLA| SNAPPY| |root.ln.jgy.2| null| root.ln| FLOAT| GORILLA| SNAPPY| +-------------+-----+-------------+--------+--------+-----------+ Total line number = 2 It costs 0.022s IoTDB> create timeseries root.ln.jgy.2.signal_value with datatype=FLOAT,encoding=GORILLA IoTDB> show timeseries root.ln +--------------------------+-----+-------------+--------+--------+-----------+ | timeseries|alias|storage group|dataType|encoding|compression| +--------------------------+-----+-------------+--------+--------+-----------+ |root.ln.jgy.2.signal_value| null| root.ln| FLOAT| GORILLA| SNAPPY| +--------------------------+-----+-------------+--------+--------+-----------+
这个是不是应该直接不允许在timeseries下再次创建timeseries
The text was updated successfully, but these errors were encountered:
在master版本,我们支持了timeseries下再次创建timeseries,即允许root.sg1.d0.s1.s2的出现,我测试了一下,master版本并未出现同级timeseries覆盖的现象。
在rel/0.10版本下,我们不支持timeseries下再次创建timeseries,我也做了相同的测试,但是创建时会有报错提示,并不会创建成功
Sorry, something went wrong.
你用的具体是哪个版本啊,是rel/0.10分支么,可以给一个具体的复现步骤吗?
我再基于最新的0.10打包再试一次看看
JackieTien97
No branches or pull requests
使用的是0.10版本。
在已有的timeries(root.ln.device1.s1)下再创建一个timeries,如root.ln.device1.s1.signal_value。在jdbc和cli下出现不同的结果。
1)JDBC下这么运行后 ,会造成服务卡死。打印的错误日志:
java.lang.ClassCastException: org.apache.iotdb.db.metadata.mnode.LeafMNode cannot be cast to org.apache.iotdb.db.metadata.mnode.InternalMNode
2)Cli下能成功执行,但是会将root.ln.device1.s1同级的timeries都屏蔽了,结果如下图:
IoTDB> show timeseries root.ln
+-------------+-----+-------------+--------+--------+-----------+
| timeseries|alias|storage group|dataType|encoding|compression|
+-------------+-----+-------------+--------+--------+-----------+
|root.ln.jgy.1| null| root.ln| FLOAT| GORILLA| SNAPPY|
|root.ln.jgy.2| null| root.ln| FLOAT| GORILLA| SNAPPY|
+-------------+-----+-------------+--------+--------+-----------+
Total line number = 2
It costs 0.022s
IoTDB> create timeseries root.ln.jgy.2.signal_value with datatype=FLOAT,encoding=GORILLA
IoTDB> show timeseries root.ln
+--------------------------+-----+-------------+--------+--------+-----------+
| timeseries|alias|storage group|dataType|encoding|compression|
+--------------------------+-----+-------------+--------+--------+-----------+
|root.ln.jgy.2.signal_value| null| root.ln| FLOAT| GORILLA| SNAPPY|
+--------------------------+-----+-------------+--------+--------+-----------+
这个是不是应该直接不允许在timeseries下再次创建timeseries
The text was updated successfully, but these errors were encountered: