[
https://issues.apache.org/jira/browse/IOTDB-750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17127860#comment-17127860
]
Xiangdong Huang commented on IOTDB-750:
---------------------------------------
Sorry my fault, it is supported in v0.10-snapshot:
---------------------
_____ _________ ______ ______
|_ _| | _ _ ||_ _ `.|_ _ \
| | .--.|_/ | | \_| | | `. \ | |_) |
| | / .'`\ \ | | | | | | | __'.
_| |_| \__. | _| |_ _| |_.' /_| |__) |
|_____|'.__.' |_____| |______.'|_______/ version 0.10.0-SNAPSHOT
IoTDB> login successfully
IoTDB> show timeseries;
+----------+-----+-------------+--------+--------+-----------+
|timeseries|alias|storage group|dataType|encoding|compression|
+----------+-----+-------------+--------+--------+-----------+
+----------+-----+-------------+--------+--------+-----------+
Empty set.
It costs 0.131s
IoTDB> CREATE TIMESERIES root.sg1.d1.s1 with datatype=INT32,encoding=RLE;
Msg: The statement is executed successfully.
IoTDB> CREATE TIMESERIES root.sg1.d1.d2.s1 with datatype=INT32,encoding=RLE;
Msg: The statement is executed successfully.
IoTDB> show devices;
+--------------+
| devices|
+--------------+
| root.sg1.d1|
|root.sg1.d1.d2|
+--------------+
Total line number = 2
It costs 0.007s
IoTDB> insert into root.sg1.d1 (time, s1) values (now(), 1);
Msg: The statement is executed successfully.
IoTDB> show devices;
+--------------+
| devices|
+--------------+
| root.sg1.d1|
|root.sg1.d1.d2|
+--------------+
Total line number = 2
It costs 0.002s
IoTDB> select * from root.sg1.d1;
+-----------------------------+--------------+-----------------+
| Time|root.sg1.d1.s1|root.sg1.d1.d2.s1|
+-----------------------------+--------------+-----------------+
|2020-06-08T12:04:49.359+08:00| 1| null|
+-----------------------------+--------------+-----------------+
Total line number = 1
It costs 0.047s
> Allow Sub-Devices in IoTDB Server
> ---------------------------------
>
> Key: IOTDB-750
> URL: https://issues.apache.org/jira/browse/IOTDB-750
> Project: Apache IoTDB
> Issue Type: New Feature
> Components: Core/Engine
> Reporter: Julian Feinauer
> Assignee: Julian Feinauer
> Priority: Major
> Labels: pull-request-available
> Attachments: image-2020-06-08-11-56-45-575.png,
> image-2020-06-08-11-57-00-833.png
>
>
> Currently, a Node is considered a Device if it has a measurement. Then it is
> not possible that this devices has a "subpath" which again is a device but
> only measurements.
>
> This should be changed so that a Device can also have "subdevices".
>
> Example:
> {code:java}
> CREATE TIMESERIES root.sg1.d1.s1 with datatype=INT32,encoding=RLE;
> CREATE TIMESERIES root.sg1.d1.d2.s1 with datatype=INT32,encoding=RLE;
> CREATE TIMESERIES root.sg1.d1.d2.s2 with datatype=INT32,encoding=RLE;
> {code}
> Currently the first command succeeds but the second and third fail.
> But they should also be possible.
>
> Note: Example above is from [~jixuan1989]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)