aiping312 opened a new issue #1354: URL: https://github.com/apache/incubator-iotdb/issues/1354
使用的是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 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
