Hi, Sorry for the late reply. I’m responsible for this issue.
In previous design, I ignore different length of path… Now that “device is at the second to last level”, do you think it is necessary to add a new param “String schemaPattern” for method “Set<String> getAllDevices()” as well? Just like your modification for method “List<String> getNodesList(…)”. I’d like to keep focusing on your PR and help make effort to it. Best, ----------------------------------- Zesong Sun School of Software, Tsinghua University 孙泽嵩 清华大学 软件学院 > 2019年10月17日 09:20,Jack Tsai <[email protected]> 写道: > > Hi, > > As I was fixing the bug in the interface of querying timeseries, I found that > there is also a problem in the past implementation of the interface which > shows devices. > > Quoting from what Lei Rui told me: > > "Device is not necessarily at level 2. > Device is at the secod to last level. > For example, CREATE TIMESERIES root.demo.m2.m2.s0 WITH > DATATYPE=INT32,ENCODING=RLE and the device should be root.demo.m2.m2." > > I think the original implementation of querying devices is incorrect, which > only specified nodes from level 2 (the root node count as level 0). > > I would like to work on resolving this issue. If you have any advice, please > welcome to tell me. > > Best regards, > Jack Tsai
